Consume a Web Service from a Web Page

I had tried out the Tutorial "Consume a Web Service from a Web Page". I have encountered this error :
; nested exception is: java.lang.NullPointerException.
oracle.adf.model.adapter.AdapterException: DCA-40010: The Web Service call failed. The service returned a SOAP fault with the message: [S:Receiver] EJB Exception: : java.lang.NullPointerException
     at oracle.model.freightjb.CalculateFreightBean.calculateFreightCost(CalculateFreightBean.java:23)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
     at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
     at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
     at $Proxy170.calculateFreightCost(Unknown Source)
     at oracle.model.freightjb.CalculateFreight_5vfuh6_WSOImpl.__WL_calculateFreightCost_WS(CalculateFreight_5vfuh6_WSOImpl.java:72)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
I tried to modify abit the code as i changed the web method parameter from object (BatchOrder order) to variables(eg. int) and it works. When I test the Web Services I need to select the include checkbox den it works nicely else i will also encounter this problem. Does this mean the web services can not take it object as parameter?

Hi Paolo,
maybe I faced the same issue. I solved it reading the thread:
web service deployable client
Hope this help
Cheers
Roberto

Similar Messages

  • Consuming a web service from a BSP page

    Hello
    Here is the description of the different instances :
    ERP is running on an instance without J2EE engine
    EP  is running on an instance with J2EE engine
    I create a web service definition, VI, and proxy classe on ERP.
    I tested the web service using WSADMIN where I put as J2EE server the J2EE engine on the EP instance : it works.
    I created a BSP application to consume the web service, when I try to reach the web service I've the error Unallowed RFC-XML Tag (SOAP_EINVALDOC) .
    I guess it doesn't work because I ve got no J2EE engine linked to my ERP system, but as the netweaver plateform is new for us my question is : How can I define in ERP that I use the J2EE engine from EP ?
    Thanks

    hi
    in your wsdl file find this
    tag
    <wsdl:service name="SendSMS">
    inside it
    you have a tag for soap port like this
    <wsdl:port name="SendSMSSoap" binding="tns:SendSMSSoap">
          <soap:address location="http://localhost/<Web service path>" />
    </wsdl:port>
    <wsdl:port name="SendSMSHttpGet" binding="tns:SendSMSHttpGet">
          <http:address location="http://localhost/<Web service path>" />
    </wsdl:port>
    <wsdl:port name="SendSMSHttpPost" binding="tns:SendSMSHttpPost">
          <http:address location="http://localhost/<Web service path>" />
    </wsdl:port>
    here replace localhost with the address of the server where the web service lies
    like i mentioned
    <server ip>
    i hope this will work out
    regards

  • Calling a Web service from Standard OAF Page.

    Hi All,
    how to call a webservice page from Standard OAF Page and get back the response from that webservice.
    Can anyone please give me the process how to do it.Can anyone please provide code it will helpful to me.
    Not using any PL/SQL API's.only through web services how to do it?.
    Thanks in Advance.
    Regards,
    Ajay.

    look in the tutorial the web-client example or the dii interface example... and read all about jaxrpc ...
    bye
    J

  • Issue in Consuming Rest/JSON Service from Netweaver gateway system

    Hello Experts,
    We are trying to consume the Rest/JSON web service from NetWeaver Gateway System.
    But we are getting HTTP Communication failure error.
    URL: 'http://sgpvmc0031.apac.bosch.com/ActivityManager2/rest/v1/query/employees/amh1sgp/workItems/pending'
    The Host system of Serve is a Non-SAP System.
    In web browser, it ask for user id and password, by passing them, it provide the response.
    Please find my code details.
    DATA: lo_http_client TYPE REF TO if_http_client,
             lv_service TYPE string,
             lv_result TYPE string,
             lo_ixml TYPE REF TO if_ixml,
             lo_streamfactory TYPE REF TO if_ixml_stream_factory,
             lo_istream TYPE REF TO if_ixml_istream,
             lo_document TYPE REF TO if_ixml_document,
             lo_parser TYPE REF TO if_ixml_parser,
             lo_weather_element TYPE REF TO if_ixml_element,
             lo_weather_nodes TYPE REF TO if_ixml_node_list,
             lo_curr_node TYPE REF TO if_ixml_node,
             lv_value TYPE string,
             lv_node_length TYPE i,
             lv_node_index TYPE i,
    *        ls_weather TYPE zweather,
             lv_node_name TYPE string,
             lv_bin            type xstring,
             lv_node_value TYPE string,
             lo_conv           type ref to cl_abap_conv_in_ce,
             lv_response       type string,
             l_client type string.
    DATA: result_tab TYPE TABLE OF string,
              w_result TYPE string .
       lv_service = 'http://sgpvmc0031.apac.bosch.com/ActivityManager2/rest/v1/query/employees/amh1sgp/workItems/pending'.
    *  lv_service = 'https://rb-wam-q.bosch.com/ActivityManager2/rest/v1/query/employees/amh1sgp/workItems/pending'.
    *BREAK-POINT.
    CALL METHOD CL_HTTP_CLIENT=>CREATE
       EXPORTING
         HOST               = 'sgpvmc0031.apac.bosch.com'
         SERVICE            = '80'
    *    PROXY_HOST         =
    *    PROXY_SERVICE      =
    *     SCHEME             = SCHEMETYPE_HTTP
    *    SSL_ID             =
    *    SAP_USERNAME       =
    *    SAP_CLIENT         =
       IMPORTING
         CLIENT             = lo_http_client
       EXCEPTIONS
         ARGUMENT_NOT_FOUND = 1
         PLUGIN_NOT_ACTIVE  = 2
         INTERNAL_ERROR     = 3
         others             = 4
    IF SY-SUBRC <> 0.
    * Implement suitable error handling here
    ENDIF.
        lo_http_client->request->set_method( if_http_request=>co_request_method_get ).
        lo_http_client->authenticate( username = 'portal' password = 'portal' ).
        cl_http_utility=>set_request_uri(
            request = lo_http_client->request
            uri = '/ActivityManager2/rest/v1/query/employees/amh1sgp/workItems/pending'
        call method lo_http_client->request->set_header_field
           EXPORTING
             name = 'content-type'
             value = 'text/plain'.
        call method lo_http_client->send( ).
        call method lo_http_client->receive( ).
    Kindly help us to understand where to check.
    Regards,
    Nitin

    Hi,
    Try to test the url in the standard report RSHTTP20.
    Regards,
    Felipe

  • Consuming External OData services from SAP

    Hi All,
    I am trying to sync up SAP to an external system. Using the SAP Netweaver Gateway I am able to expose the SAP Objects as OData service so that the external system can sync with SAP data.
    Now when SAP needs to consume the OData services of the external system can it do through Netweaver gateway ?
    How do we build a bi-directional interface keeping both the systems in sync.
    Thanks
    Ravijeet

    NW Gateway cannot do that. But you can do it with simple ABAP.
    check here.
    Implementing the REST Client - Connectivity - SAP Library

  • Consume a CAF Service from the Service Regestry

    Hello everybody,
    i'm quite new to the SAP World and need some help considering the following:
    Szenario: I want to build a simple caf Service deploy it in the Service Repository and consume it with a Web Dynpro Component. (CE 7.1)
    My Caf Service is already deployed and available in the Service Reg. I can also test it with the "Web Services Navigator" - it is working fine.
    Problem: I can not consume the service in my Web Dynpro nor with any other Web Service Client.
    I can remeber something that i have to define "Destinations". But i have no glue how to. Can anybody help me? Please with a detailed description for CE 7.1.
    Thx Tobias

    Hi Tobias,
    Refer to the below articles, it will help you for sure.
    1.     Exposing Business Objects as Web Service and Developing Web Dynpro Application 
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f5c9b6-881b-2c10-caab-ca4767e80bd3
    2.     Implementing Business Objects in CAF and developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401f65c2-8b1b-2c10-2ba8-ae55cc0ea99c
    3.     Exposing Remote Function Call (RFCs) as Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/505f40c5-761b-2c10-d58c-a837fe7f8f49
    4.     Exposing Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0e439ad-8d1b-2c10-d493-e32fe98e93bc
    5.     Importing Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90ce70bd-711b-2c10-af83-d6e84d10eb1b
    6.     Importing RFCs in CAF and developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508c7f89-5e1c-2c10-e4a3-e6ea9df58ccb
    Regards
    Sunil
    Edited by: Sunil Kumar SS on Jul 22, 2009 2:12 PM

  • Broken Display = No Consumer Protection bad service from AT&T.

    So I just got my Iphone 3GS about 45 days ago, noticed the signal ***** and I got tons of dropped calls, MMS being inactive because AT&T *****. (More dropped calls in more places, i'm in washington DC for crying out loud!!). Well speaking of drops, this morning the slippery lil thing slipped outa my hands this morning and fell about 2 feet, granted it has a mophie juicepack which covers every side of the phone except the front, of course that's where it falls, the front, and shatters the display! I was annoyed but I thought (thankfully my renters insurance from allstate had told me back about a year ago they cover this kinds of damage to PDA's and Laptops). So I call Allstate, they tell me NO that the agent that told me that was WRONG. So I panic and call an Apple store they tell me there is nothing they can do and it would cost me 200 bucks to take care of my problem. I WAS ******!
    1. No coverage from AT&T because they have no service plans for JUST the Iphone
    2. No warranty work from Apple because they don't cover accidental damage even with the applecare extended plan
    3. Lying freakin Insurance Company (ALLSTATE)
    I'm soooo ****** this phone cost me 400 dollars! I feel like I got 45 days use outa it only to find out i'm been driving uninsured. Where's the consumer protection, PHONES DROP ALL THE TIME!! DON'T THEY EXPECT THIS!?!?!
    So today i'm totally fed up with AT&T, Apple you name it. So I will be canceling my contract making AT&T eat the early termination fee. And getting a Palm Pre with Sprint where my signal never dropped nor does it ever drop with my Wife's sprint phone. I'm also canceling my insurance policy with Allstate and getting some other insurance company.

    So you dropped your phone and it is Apple or AT&T's fault? I fail to see the logic of that. You mean that the manufacturer should be responsible for how you take care of your products? After you cancel with AT&T who are you going to get a new phone from? EVERY carrier has the same policy. So when you drop your T-Mobile phone and cancel that account, then do the same with Sprint, then Verizon, there will be no carriers left and you will be without any phone.
    You should go back to the Allstate agent who told you this and you may be able to make a case.
    If you purchased it with a credit card the credit card company may cover the loss; many card issuers do.
    AppleCare says in bold type that it doesn't cover accidental damage. Didn't you read the contract you signed?

  • Consume a Web Service from a Webcenter aplication | Checkinuniversal servi

    HI
    Im trying to consume the checkinuniversal service from my webcenter application.
    Steps done as instructed in the URL below
    http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
    But when i try to cehkin the document from my webcenter application it showin an error ' Content item 'scs' was not successfully checked in. The content item must have a primary file.'
    Is there any other way to checkin content from webcenter application through java code/CIS/ or any one has idea about primary file issue-how to resolve it.
    Can you please share your ideas/ sample code(CIs) if any
    thanks Smith

    Hi Paolo,
    maybe I faced the same issue. I solved it reading the thread:
    web service deployable client
    Hope this help
    Cheers
    Roberto

  • Consume Portal Service from J2EE web application

    hi, i am a newbie to portal content development. My team have developed a J2EE web application to be run on the portal. Is it possible to consume a Portal Service from J2EE web application? If possible, deeply appreciate if you could provide some guidelines. Kindly advise. Thanks.

    Hi Theodore Yu,
    You need to expose your portal service as a webservice to consume it in a j2ee web application.
    For exposing a portal service to webservice check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/cb213e578c0262e10000000a11466f/frameset.htm
    Thanks,
    Padmaja
    Edited by: Padmaja Pedapudi on May 20, 2008 2:03 PM

  • Problem in Consuming a Web Service running on Remedy

    Hi All – We have a web service running on ARSystem (
    Remedy) and all we would like to do is –
    -Invoke this web service from our Coldfusion page
    -Send some parameters in a method call for ‘Remedy
    WS’
    -This Webservice returns a simple String object.
    The WSDL looks like this..
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions
    targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
    xmlns="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:s="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
    xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="
    http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema elementFormDefault="qualified"
    targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2">
    <xsd:element name="OpCreate" type="s:CreateInputMap"
    />
    - <xsd:complexType name="CreateInputMap">
    - <xsd:sequence>
    <xsd:element name="Description" type="xsd:string" />
    <xsd:element name="Requester_Login_Name"
    type="xsd:string" />
    <xsd:element name="Requester_Name" type="xsd:string"
    />
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="OpCreateResponse"
    type="s:CreateOutputMap" />
    - <xsd:complexType name="CreateOutputMap">
    <xsd:sequence />
    </xsd:complexType>
    <xsd:element name="AuthenticationInfo"
    type="s:AuthenticationInfo" />
    - <xsd:complexType name="AuthenticationInfo">
    - <xsd:sequence>
    <xsd:element name="userName" type="xsd:string" />
    <xsd:element name="password" type="xsd:string" />
    <xsd:element minOccurs="0" name="authentication"
    type="xsd:string" />
    <xsd:element minOccurs="0" name="locale"
    type="xsd:string" />
    <xsd:element minOccurs="0" name="timeZone"
    type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </wsdl:types>
    - <wsdl:message name="OpCreateSoapOut">
    <wsdl:part element="s:OpCreateResponse" name="parameters"
    />
    </wsdl:message>
    - <wsdl:message name="ARAuthenticate">
    <wsdl:part element="s:AuthenticationInfo"
    name="parameters" />
    </wsdl:message>
    - <wsdl:message name="OpCreateSoapIn">
    <wsdl:part element="s:OpCreate" name="parameters" />
    </wsdl:message>
    - <wsdl:portType
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
    - <wsdl:operation name="OpCreate">
    <wsdl:input message="s:OpCreateSoapIn" />
    <wsdl:output message="s:OpCreateSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
    type="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
    <soap:binding style="document" transport="
    http://schemas.xmlsoap.org/soap/http"
    />
    - <wsdl:operation name="OpCreate">
    <soap:operation
    soapAction="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2/OpCreate"
    style="document" />
    - <wsdl:input>
    <soap:header message="s:ARAuthenticate" part="parameters"
    use="literal" />
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Service">
    - <wsdl:port
    binding="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Soap">
    <soap:address location="
    http://<ServerName>/arsys/services/ARService?server=<ServerName>&webService=CHG_Change_Web Service_OpCreate_DisplayOnly_v2"
    />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    My CF invocation is as given below..
    <cfscript>
    Ws=CreateObject("webservice","
    http://<servername>/arsys/WSDL/public/<servername>/CHG_Change_WebService_OpCreate_DisplayO nly_v2");
    result= ws.opCreate("test1","TEST2","test3");
    </cfscript>
    <cfoutput>|#result#|</cfoutput>
    AND I am getting this error below..
    Could not generate stub objects for web service invocation.
    Name:
    http://<servername>/arsys/WSDL/public/<servername>/CHG_Change_WebService_OpCreate_DisplayO nly_v2.
    WSDL:
    http://
    <servername>/arsys/WSDL/public/<servername>/CHG_Change_WebService_OpCreate_DisplayOnly_v2 .
    java.lang.NullPointerException It is recommended that you use a web
    browser to retrieve and examine the requested WSDL document for
    correctness. If the requested WSDL document can't be retrieved or
    it is dynamically generated, it is likely that the target web
    service has programming errors.
    Java Stack trace:
    java.lang.NullPointerException
    at
    org.apache.axis.wsdl.toJava.Utils.getNewQNameWithLastLocalPart(Utils.java:933)
    at
    org.apache.axis.wsdl.toJava.JavaStubWriter.writeOperationMap(JavaStubWriter.java:610)
    at
    org.apache.axis.wsdl.toJava.JavaStubWriter.writeFileBody(JavaStubWriter.java:169)
    at
    org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:130)
    at
    org.apache.axis.wsdl.toJava.JavaBindingWriter.generate(JavaBindingWriter.java:147)
    at
    org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.ja va:423)
    at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:471)
    at org.apache.axis.wsdl.gen.Parser.run(Parser.java:395)
    at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:611)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl$1.run(XmlRpcServiceImpl.java:213)
    at java.security.AccessController.doPrivileged(Native
    Method)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebService(XmlRpcServiceImpl.java:198)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService(XmlRpcServiceImpl.java:472)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl.getWebServiceProxy(XmlRpcServiceImpl.java:427)
    at
    coldfusion.xml.rpc.XmlRpcServiceImpl.getWebServiceProxy(XmlRpcServiceImpl.java:409)
    at coldfusion.runtime.CFPage.createObject(CFPage.java:5993)
    at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5848)
    at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5813)
    at
    cftest1252ecfm1199621501.runPage(D:\Inetpub\wwwroot\Pearsontc\sandytest\test125.cfm:11)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Would be sincerely thankful to ALL who could help me in
    resolving my problem as it’s a deadline for me today and I
    have some testing left to be done on some other modules as well.
    PLEASE PLEASE HELP!!
    Thanks.
    -S

    Ian, Thanks but service is running on REMEDY system and is
    written in Java. The new wsdl looks like this..( Please check the
    complex type input and return parameter). I cannot change the
    service permissions as its not in our control
    http://oldtas184/arsys/WSDL/
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions
    targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
    xmlns="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:s="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2"
    xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="
    http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema elementFormDefault="qualified"
    targetNamespace="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2">
    <xsd:element name="OpCreate" type="s:CreateInputMap"
    />
    - <xsd:complexType name="CreateInputMap">
    - <xsd:sequence>
    <xsd:element name="Description" type="xsd:string" />
    <xsd:element name="Requester_Login_Name"
    type="xsd:string" />
    <xsd:element name="Requester_Name" type="xsd:string"
    />
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="OpCreateResponse"
    type="s:CreateOutputMap" />
    - <xsd:complexType name="CreateOutputMap">
    - <xsd:sequence>
    <xsd:element name="Description" type="xsd:string" />
    <xsd:element name="Requester_Login_Name"
    type="xsd:string" />
    <xsd:element name="Requester_Name" type="xsd:string"
    />
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AuthenticationInfo"
    type="s:AuthenticationInfo" />
    - <xsd:complexType name="AuthenticationInfo">
    - <xsd:sequence>
    <xsd:element name="userName" type="xsd:string" />
    <xsd:element name="password" type="xsd:string" />
    <xsd:element minOccurs="0" name="authentication"
    type="xsd:string" />
    <xsd:element minOccurs="0" name="locale"
    type="xsd:string" />
    <xsd:element minOccurs="0" name="timeZone"
    type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </wsdl:types>
    - <wsdl:message name="OpCreateSoapOut">
    <wsdl:part element="s:OpCreateResponse" name="parameters"
    />
    </wsdl:message>
    - <wsdl:message name="ARAuthenticate">
    <wsdl:part element="s:AuthenticationInfo"
    name="parameters" />
    </wsdl:message>
    - <wsdl:message name="OpCreateSoapIn">
    <wsdl:part element="s:OpCreate" name="parameters" />
    </wsdl:message>
    - <wsdl:portType
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
    - <wsdl:operation name="OpCreate">
    <wsdl:input message="s:OpCreateSoapIn" />
    <wsdl:output message="s:OpCreateSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
    type="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2PortType">
    <soap:binding style="document" transport="
    http://schemas.xmlsoap.org/soap/http"
    />
    - <wsdl:operation name="OpCreate">
    <soap:operation
    soapAction="urn:CHG_Change_WebService_OpCreate_DisplayOnly_v2/OpCreate"
    style="document" />
    - <wsdl:input>
    <soap:header message="s:ARAuthenticate" part="parameters"
    use="literal" />
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Service">
    - <wsdl:port
    binding="s:CHG_Change_WebService_OpCreate_DisplayOnly_v2SoapBinding"
    name="CHG_Change_WebService_OpCreate_DisplayOnly_v2Soap">
    <soap:address location="
    http://oldtas184/arsys/services/ARService?server=OLDTAS184&webService=CHG_Change_WebServic e_OpCreate_DisplayOnly_v2"
    />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    I have modified my code a little to use a struct object and
    the code looks as below..
    <cfscript> CreateInputMap1 = structNew();
    CreateInputMap1.Description = "test";
    CreateInputMap1.Requester_Login_Name = "xxxxxx";
    CreateInputMap1.Requester_Name = "yyyyyyy";
    ws=CreateObject("webservice","
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 ?wsdl");
    result= ws.opCreate(CreateInputMap1);
    </cfscript>
    <cfoutput>#result#</cfoutput>
    But I still receive the same error..
    Error Occurred While Processing Request
    Could not generate stub objects for web service invocation.
    Name:
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 ?wsdl.
    WSDL:
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 ?wsdl.
    java.lang.NullPointerException It is recommended that you use a web
    browser to retrieve and examine the requested WSDL document for
    correctness. If the requested WSDL document can't be retrieved or
    it is dynamically generated, it is likely that the target web
    service has programming errors.
    The error occurred in
    D:\Inetpub\wwwroot\Pearsontc\sandytest\test125.cfm: line 18
    16 : CreateInputMap1.Requester_Name = "Vohra";
    17 :
    18 : ws=CreateObject("webservice","
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 ?wsdl");
    19 : // addSOAPRequestHeader(ws, "
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 /",
    "Description", "test", false);
    20 : // addSOAPRequestHeader(ws, "
    http://oldtas184/arsys/WSDL/public/OLDTAS184/CHG_Change_WebService_OpCreate_DisplayOnly_v2 /",
    "Requester_Login_Name", "John", false);
    Stack Trace (click to expand)
    at
    cftest1252ecfm1199621501.runPage(D:\Inetpub\wwwroot\Pearsontc\sandytest\test125.cfm:18)
    at
    cftest1252ecfm1199621501.runPage(D:\Inetpub\wwwroot\Pearsontc\sandytest\test125.cfm:18)
    java.lang.NullPointerException
    at
    org.apache.axis.wsdl.toJava.Utils.getNewQNameWithLastLocalPart(Utils.java:933)
    at
    org.apache.axis.wsdl.toJava.JavaStubWriter.writeOperationMap(JavaStubWriter.java:610)
    at
    org.apache.axis.wsdl.toJava.JavaStubWriter.writeFileBody(JavaStubWriter.java:169)
    at org.apache.axis.wsdl.toJava.JavaWriter.generate
    The REMEDY logs has this message - "Required element expected
    in the input XML document":

  • Import web service from service registry into web dynpro

    HI, when i import web service into web dynpro model, it asks me to create service group or if i choose no service group configure, it ask me the destionation for metadata and excution. i import service from service registry. what does the service configuration mean? and if i choose no service group, where should i configure the destination?thanks

    Hi Lei,
    The metadata and execution destinations are relevant for runtime. On runtime you web dynpro application will access the web services you imported via these two destinations.
    You can configure the metadata and execution destinations in the following location:
    login on the CE system Netweaver Administrator: http://hostname:portnumber/nwa
    On NWA navigate to SOA Management --> Technical Configuration --> Destination Template Management.
    In this section of NWA you can define the Metadata and Execution destinations for your web services.
    Please check the following blog for more information:
    How to Consume an Enterprise Service from the ES Workplace in Web Dynpro in the new SAP NetWeaver Composition Environment 7.1
    Regards,
    Yasar

  • Error while consuming Odata service from Gateway client i.e /iwfnd/gw_client

    Hello Experts.
       I am facing below an error while consuming the Odata service from GW client... The error is "No service found for the namespace /IWFND/,name ZTEST_STOREROOM_SRV,version 001". Even i have tried to deep dive in /IWFND/Error_log but no use..
      Actually what I was doing :- My aim is to connect multiple back end systems in the same server with the help of Aliasing concept.. I have created multiple aliases and added in the /IWFND/MAINT_Service transaction.. but i am not getting how to consume the service..
       I have followed the solution upto some extent in the link => Multiple Origin Composition - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
      Can you please let me know how to resolve this.. Also please let me know, the syntax for the URI...
      Your help is highly appreciated..
      Please find the screenshot attached.
    Thanks,
    Srinivas.

    Hello @Nrisimhanadh_Yandamuri
      Thanks for your reply..
      I have got all the required authorization.. But still I am not able to hit the service.. Please let me know what could be the solution..
    Thanks,
    Srinivas.

  • Unable to consume Enterprise services from Visual Composer

    Hi,
    We have implemented ECC-SE 603 add-on in our ECC 6.0 system.
    We configured to set up a connection between our J2EE engine and the ES Workplace, to consume the Enterprise services from Visual Composer.
    But, we are unable to see the Enterprise Services in the Visual Composer.
    Kindly, let us know how to resolve this issue.

    Hi,
    please refer the following link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a160392c-0e01-0010-7784-9cc564d871d2
    Regards
    Manohar

  • Invoke OSB service from ADF page

    How can we invoke an osb service from an Adf Page
    Thanks,

    Raise a thread in ADF forum and you should get an answer there -
    JDeveloper and ADF
    Regards,
    Anuj

  • Pointers regarding consuming a external web-service from SAP

    Hi All,
            I am trying to consume a web-service from an external system using a URL.
    Our SAP system version is 4.7. I have created a custom program and calling up the web service using HTTP POST method.
    For this I referred the following weblog.
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/847. [original link is broken] [original link is broken] [original link is broken]
    I modified the program according to my requirements and called the web service, but I am facing certain issues.
    1. The if_http_client->send method executed successfully (sy-subrc eq 0). But the next call to the method
        if_http_client->receive the program shows error.The message is very long one and I am not able to see it fully in debugging mode.
    Please help me with the following questions.
    1. Is there any way I can read the message returned from the web-service to see what the error was? In 4.7 we don't have the recording function as in 6.0.
    2. I have disable the login prompt by calling if_http_client->propertytype_logon_popup = http_client->co_disabled.
    If I don't do that it shows me a SAP Web AS login screen. Shouldn't it show me the standard http login screen?
    3.In that login screen if I provide my ID password it returns the following message
    'Business Server Page (BSP) ErrorBSPexception:Access to URL :<Server>:<80>/ORABPEL/DEFAULT/READDATA1/1.0 is forbidden'
    Any pointers what does it mean?
    4. This method seems a very lengthy process to me. Is there any other approach to this issue?
    TIA
    Barada.

    The error for Authorization was because of the HTTP proxy settings for the system.
    I configured the proxy settings in the transaction SICF->Goto->Http Proxy and then the program worked fine.
    Regards
    Barada

Maybe you are looking for

  • How to get the selected rows & columns in the table?

    hi everybody,                      In my application the table is kept inside the event structure.I select the cells  in the table (using mouse) on running time.How to get the selected number of rows & columns in that table?

  • Setting icon in JDialog

    Hi all I have a problem setting an icon in a JDialog. Now I know that JDialog's icon image will be the same as the icon image of its parent frame. Hence, setting the icon image of the parent frame which launches the JDialog will set the icon for the

  • Sort the Data Selection in TVARV Table

    hello...i wanted to run a SAP Standard Program and it is have a variant selection for me to select the variable from TVARV table. When this program run, I would like to have a selection of choosing the latest date to run the program based on the vari

  • Does the Motion face  only show butterflies?

    One of the reviews I'd heard spoke of how the jellyfish were outstanding on the Apple Watch face. I thought these would be under the 'Motion' umbrella on my watch, but all I've seen is butterfly after butterfly. Is this normal?

  • New Feature Added?

    I have been on these discussions on and off since, oh, maybe 4:00, and just now I came back on and now I can mark if this post solved my problem or not. However, these are not on the threads that I start, only other threads taht I post on. What does