NullPointerException while calling a webservice

Hello,
I want to use a this webservice:
http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=37
I have implement it, but I can not use it.
Here my Code from the ComponentController:
               AtomicModel model = new AtomicModel();
               Request_GetAtomicNumber req = new Request_GetAtomicNumber(model);
               GetAtomicNumber number = new GetAtomicNumber(model);
                          number.setElementName("");
               req.setGetAtomicNumber(number);
               wdContext.nodeRequest_GetAtomicNumber().bind(req);
I become an Nullpointer-Exception at runtime, if i want to set "ElementName". But you can see, that the class GetAtomicNumber is already defined.
In other projects I had done the same with other webservices and it works...
Where is my mistake???
Thanks,
Peter

Looks to me like your server has a bug in a remote method.

Similar Messages

  • Error while calling PI webservice from EJB

    Hi Experts,
    We are getting exception while calling PI webservice from EJB which is deployed in CE 7.2. Earlier we used to call the same webservice but from different PI system at that it worked fine. Now we have changed the consumer proxies required in CE and tried to call from CE and it is throwing error. We have checked usernames and passwords that we are using to call the service and that is working fine. PI team tested from their side and li is also fine. We have also restarted the CE system but invain. Can somebody help on this.  The below is the trace that we got.
    Location: com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding
    Text: Connection IO Exception. Check nested exception for details. (Connection reset).
    [EXCEPTION]
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection reset).
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.outputSOAPMessage(SOAPTransportBinding.java:419)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1364)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:990)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:944)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
    at $Proxy780.mioaRDMDataDistribution(Unknown Source)
    at com.MDMEventListener.callToPIWS(MDMEventListener.java:100)
    at com.MDMEventListener.ListenerMethod(MDMEventListener.java:173)
    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.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:39)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:23)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:730)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:682)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:324)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
    at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:404)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:204)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:440)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:429)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:82)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:268)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:54)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:950)
    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:414)
    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:319)
    at com.sap.engine.services.webservices.espbase.client.bindings.ClientHTTPTransport.getResponseCode(ClientHTTPTransport.java:209)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.outputSOAPMessage(SOAPTransportBinding.java:385)
    ... 78 more
    Regards,
    Pradeep

    Hi Pradeep,
    this looks like if the server is not reachable. Have you checked if both server are able to communicate? Maybe firewall rules block the request.
    Regards,
    Tobias

  • Error getting while calling a webService from XI

    Hi
    We are getting the follwoing error while calling a webservice from XI. We Could call the same webservice from XML spy. Have checked the SOAP adapter it was running fine and the communication channel parameters too.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code area="MESSAGE">GENERAL</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault</SAP:AdditionalText><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack/><SAP:Retry>M</SAP:Retry></SAP:Error>
    Please try to help.
    Thanks
    Ramesh

    Hi
    Thanks a lot for your kind support.
    Hi Moorthy
    We have created one Asyn MI and wrapped the external definition into that, Haven't done any mapping for responce. Please find the trace below.
    Hi Bhavesh
    It was great helpful link but the payload days is not visible for this message it was containing details about sending. For some other message i could see payload.
    I Could see one differnce in the XML Spy and "XI payload before entering SOAP Adapter"
    The following line doesn’t appear in the XI payload.
    <m:StatusUpdate xmlns:m="http://localhost/StatusUpdate" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </m:StatusUpdate>
    Is this line would be embeded in the SOAP Adapter??? Please find the trace below. Please help me if you have any additional info.
    The message was successfully received by the messaging system. Profile: XI URL: Using connection AFW. Trying to put the message into the receive queue.
    Message successfully put into the queue.
    The message was successfully retrieved from the receive queue.
    The message status set to DLNG.
    Delivering to channel: CC_SOAP_Rcvr_D_Pick_ZALEAUD
    SOAP: request message entering the adapter
    SOAP: completed the processing
    SOAP: response message received 4cb3fab0-7fc5-11db-8c5a-000f203c93e0
    SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    SOAP: sending a delivery error ack ...
    SOAP: sent a delivery error ack
    Exception caught by adapter framework: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    Delivery of the message to the application using connection AFW failed, due to: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault.
    The asynchronous message was successfully scheduled to be delivered at Wed Nov 29 16:23:51 GMT 2006.
    The message status set to WAIT.
    Retrying to deliver message to the application. Retry: 1
    Kind Regards
    Ramesh
    Message was edited by:
            Ramesh Reddy Pothireddy

  • Is Header necessary to pass while calling a webservice ?

    Hi all,
            I am calling a webservice which has 1 input parameter.
            My question is, 'Is it mandatory to pass header information while calling the webservice',
            while testing ?
            I got this question because, I tried calling the webservice, but got an error as,
            'CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception'. But I am not passing any
            DateTime field.
            Further my webservice is located in a .NET system and I am trying to consume it from SAP.
            Please advice.
            Any links for the same will be of Gr8 help.
    Thanks.
    Yats.

    Hi Venu,
    DateTime is not as an input.
    I have only 1 input parameter and that is a string.
    Thanks.
    Yats.
    Edited by: Yatin Vishwas Parab on Jun 17, 2009 7:59 AM

  • Firewall Setting NoRouteToHostException while calling secured webservice

    Hi All,
    I tried calling a secured webservice from oracle database. While calling the webservice i am getting the NoRouteToHostException exception. The possible cause for this exception is
    "Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down. "
    I found the ipaddress is correct.
    I would like to know the cause "intervening firewall". Will any port has to be enable in oracle database to call secured webservice from the Database or where to check in the database for firewall setting
    Thanks,
    Ramesh.R

    Ramesh_R wrote:
    I tried calling a secured webservice from oracle database.
    HTTPS protocol in other words?
    While calling the webservice i am getting the NoRouteToHostException exception. The possible cause for this exception is "Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down. "Not an Oracle issue and not really relevant to this forum (or any other forum on OTN I think). This is a straightforward network issue dealing with routing tables it seems to me.
    The error simply means that the application (PL/SQL in Oracle server when using UTL_HTTP) references an IP address that does not exist locally (different subnet/netmask) and that the IP packets need to be routed (via an "+intermediary+") in order to reach that IP address.
    I would like to know the cause "intervening firewall". Will any port has to be enable in oracle database to call secured webservice from the Database or where to check in the database for firewall settingYou should look at the local routing table on the server. For example, your server is IP address +196.1.83.100+ and you need to reach IP address +165.147.45.30+.
    The server's IP stack needs to know where to send traffic for +165.147.45.30+ to? Which interface on the server to use (there can be multiple)? What is the address of the router that will route the traffic to this IP?
    Let's say we use the primary (first) interface and that the routing is done by +196.43.4.1+. The server's routing table on the should then look something as follows:
    oracle@myserver ~> route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    165.147.45.30   196.43.4.1      255.255.255.255 UGH   0      0        0 eth0
    .. remaining entries..The "+route add+" command is used to add such a route to the routing table.
    I suggest however that you discuss this first with the o/s or network administrator to ensure that the routing table is not only correctly updated, but that the server is configured to create this route automatically at boot time.

  • Error While calling getListItem Webservice : Server was unable to process request. --- Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    Hi All,
    we are calling sharepoint webservice from our web application but we are getting below error while calling webservice.
    Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Our code is as below.
    We used below 2 options but we got same error for both scenario,
    1)
                ListService.Lists objLists = new ListService.Lists();
                NetworkCredential objNetworkCredential = new NetworkCredential("username", "password");
                objLists.Credentials = objNetworkCredential;
                System.Xml.XmlNode objXmlNode = objLists.GetListItems("Tasks", null, null, null, null, null, null);
    2)         ListService.Lists objLists = new ListService.Lists();
                objLists.Proxy = new WebProxy("proxyaddress",true);
                NetworkCredential objNetworkCredential = new NetworkCredential("username", "password");
                objLists.Credentials = objNetworkCredential;
                System.Xml.XmlNode objXmlNode = objLists.GetListItems("Tasks", null, null, null, null, null, null);
    Please help me what is the problem while calling this service.
    Thanks in advance.
    Regards,
    Kaivan Shah

    Hi ,
    Here is a similar case ,you can have a look at this .
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) -Accessing the sharepoint site:
    http://social.msdn.microsoft.com/Forums/en-NZ/sharepointworkflow/thread/5eab2116-7d7c-4bf3-bfa1-48bd8992dded
    Thanks,
    Entan Ming

  • Java.lang.NullPointerException while invoking Weblogic10 Webservice JAX-RPC

    hello,
    I'm facing this Eception while invoking the Webservice
    10/03/2009 01:39:19 Ú gosi.business.batch.financialaccounting.gosiSambaRets.controller.SambaClient callUploadPayment
    SEVERE: null
    java.lang.NullPointerException
    at com.bea.staxb.buildtime.internal.bts.XmlTypeName.findTypeIn(XmlTypeName.java:555)
    at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder.getTypeNamed(AnonymousTypeFinder.java:73)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.createBindingTypeFrom(Deploytime109MappingHelper.java:1088)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.processTypeMappings(Deploytime109MappingHelper.java:519)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initBindingFileFrom109dd(Deploytime109MappingHelper.java:266)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:166)
    at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86)
    at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:709)
    at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:409)
    at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:45)
    at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:154)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:122)
    at com.samba.service.client.GosiPaymentSambaServices_Impl.<init>(Unknown Source)
    at com.samba.service.client.GosiPaymentSambaServices_Impl.<init>(Unknown Source)
    please can some one help me??

    user564706 wrote:
    Hi support,
    I installed cluster
    I installed Oracle ASM home
    using netca from ASM hom i cretaed listener
    Then while invoking dbca from ASM home to cretae asm instance i got the error:
    exceptio in thread "main" java.lang.NullPointerException
    at
    oracle.sysman.assistants....
    so using netca from asm home i deleted the listener and invokded dbca from asm home and it looks for the listener and since it is not there it automatically cretaes (after i confirm ok)and the asm instance cretaed.
    so is it the normal behaviour.What is the version?
    Why you are using DBCA from ASM_HOME ?
    you can use ASMCA from ASM_HOME if 11g.
    DBCA to create database from RDBMS_HOME/ORACLE_HOME
    You have very bad stats of your profile.
    user564706      
         Newbie
    Handle:      user564706
    Status Level:      Newbie
    Registered:      Mar 19, 2007
    Total Posts:      258
    Total Questions:      202 (200 unresolved)
    Out of 202 questions only 2 resolved, please check may be those also unresolved ;-)
    Keep the forum clean, close all your threads as answered. Read Etiquette. https://forums.oracle.com/forums/ann.jspa?annID=718
    Edited by: CKPT on Feb 22, 2012 6:56 AM

  • Problem while calling a Webservice from a Stand alone java program

    Hello Everyone,
    I am using a java program to call a webservice as follows. For this I have generated the client proxy definition for Stand alone proxy using NWDS.
    Now when I call the method of the webservice I am getting the correct result but along with the result I am getting one error and one warning message in the output.
    The java code to call the webservice is as follows.
    public class ZMATRDESCProxyClient {
         public static void main(String[] args) throws Exception {
              Z_MATRDESC_WSDService ws = new Z_MATRDESC_WSDServiceImpl();
              Z_MATRDESC_WSD port = (Z_MATRDESC_WSD)ws.getLogicalPort("Z_MATRDESC_WSDSoapBinding",Z_MATRDESC_WSD.class);
              String res = port.zXiTestGetMatrDesc("ABCD134");
              System.out.print(res);
    The result I am getting is :
    Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
    Error Message is :com/sap/guid/GUIDGeneratorFactory
    <b>Material Not Found</b> -
    > This is the output of webservice method and it is right.
    Can any one please let me know why I am getting the warning and error message and how can I fix this.
    Thanks
    Abinash

    Hi Abinash,
    I have the same problem. Have you solve that problem?
    I am using a java program to call a webservice too. And I have generated the client proxy definition for Stand alone proxy using NWDS. When I call the method of the webservice I am getting the correct result but along with the result I am getting one error and one warning message in the output.
    The java code to call the webservice is as follows.
    MIDadosPessoaisSyncService service = new MIDadosPessoaisSyncServiceImpl();
    MIDadosPessoaisSync port = service.getLogicalPort("MIDadosPessoaisSyncPort");
    port._setProperty("javax.xml.rpc.security.auth.username","xpto");
    port._setProperty("javax.xml.rpc.security.auth.password","xpto");
    String out = port.MIDadosPessoaisSync("xpto", "xpto");
    System.out.println(out);
    The result I am getting is :
    Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
    Error Message is :com/sap/guid/GUIDGeneratorFactory
    <b>The result of the WS is correct!!!</b>
    The Java project does not have any warning. But the stand alone proxy project has following warnings associated with it.
    This method has a constructor name     MIDadosPessoaisSync.java     
    The import javax.xml.rpc.holders is never used     MIDadosPessoaisSyncBindingStub.java     
    The import javax.xml.rpc.encoding is never used     MIDadosPessoaisSyncBindingStub.java     
    The constructor BaseRuntimeException(ResourceAccessor, String, Throwable) is deprecated     MIDadosPessoaisSyncBindingStub.java
    It is very similar with your problem, could you help me?
    Thanks
    Gustavo Freitas

  • Problems while calling the webservice published at XI end

    Hi ,
    I have published a webservice at the XI end and to test it I am calling the webservice from xmlspy .
    I do get the popup for username and password in the xmlspy for the adapter but it fails to send the data to the webservice .
    I even checked the SOAP adapter status in the RWB and its grey. and the installed and started option of adapter monitoring the soap adapter is not shown .
    Can anyone through some light as to what can be the reason behind this .
    is it the problem with the adapter or the webservice
    Thanks
    Nikhil

    HI Ricardo ,
    I have tried that but still I am getting the below error.
    <b>java.lang.Exception: Channel not found for :SIEBEL_DEV:SIEBEL_SOAP in SOAP
         at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)
         at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    </b>
    any other Ideas.
    Thanks
    Nikhil

  • OC4J_10.1.3 (Exception while calling a webservice from another webservice)

    I have the following situation --
    1. I have two WebServices A and B deployed onto OC4J_10.1.3
    They both work when I test them using the test service
    2. My real need is to call webservice A from B. So I created a proxy for A using JDEV
    and deployed into OC4J. Now when I use the test service and call methods on B as before it does not work. I get the following exceptions when I try to instantiate the stub.
    WebServiceASoapHttpPortClient myPort = new WebServiceASoapHttpPortClient();
    SEVERE: caught exception while handling request: java.lang.NoSuchMethodError: oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(Ljavax/xml
    /namespace/QName;ZZLjavax/xml/namespace/QName;Ljava/lang/String;Z)V java.lang.NoSuchMethodError: oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(Ljavax/xml/namespace/QName;ZZLjavax/xml/namespace/QName;Ljava/lang/Stri
    ng;Z)V
    It seems as though OC4J is not able to find LiteralFragmentSerializer methods. But wsclient.jar must be available on OC4J's CLASSPATH.
    My webservice is very simple and the encoding is SOAP1.1 (Document/Literal).
    Any insights ?
    Thanks very much.
    --venkat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Have you tried downloading and installing wsclient_extended.jar instead of wsclient.jar?

  • Intermittent NullPointerException while calling connection.prepareStatement("insert into mytable (myuid, foo) values (SEQ_M_MSG_UID.nextval,?)");

    Hello,
    I am intermittently getting a nullpointer exception while parsing a
    query to make a preparedStatement. I am using WebLogic5.1 sp9.
    Oracle 817. Java 1.3.1 The code is very simple (although the
    setTypeMap(getTypeMap) stuff is there for ugly historical reasons, it
    has been included for completeness). Any insight into this problem
    would be greatly appreciated.
    My only current theory is that it is related to the nextval being
    passed in the string to the prepareStatement.
    The exception only happens 1 in 2000 calls. This code usually
    succeeds. The code is executing in the context of a stateless session
    bean. There may be upto 200 client threads calling this method
    concurrently from various systems.
    ...dAmOn
    CODE:
    final String lQuery = "insert into SB_MESSAGE (M_MSG_UID,
    M_MSG_GUID, M_REQUESTOR_GUID, M_MSG_GROUP, M_MSG_REQ_GUID,
    M_DEVICE_UID, M_ACCT_UID, M_TASK_ID, M_COMPLETION_STATUS,
    M_LAST_STATE, M_FILTER_NAME, M_FINAL_ATTEMPT, M_START_TIME,
    M_COMPLETED_TIME, M_TLM_DT)
    values(SEQ_M_MSG_UID.nextval,?,?,?,?,?,?,?,?,?,?,'F',?,?,?) ";
    PreparedStatement lPs = null;
    Driver driver =
    (Driver)Class.forName("weblogic.jdbc20.jts.Driver").newInstance();
    Connection connection =
    driver.connect("jdbc20:weblogic:jts:myPool", null);
    connection.setTypeMap(connection.getTypeMap());
    // ** This line leads to the stack trace following the line **
    lPs = connection.prepareStatement(lQuery);
    Stack Trace:
    java.sql.SQLException: java.lang.NullPointerException
    at oracle.jdbc.driver.OracleConnection.nativeSQL(OracleConnection.java:762)
    at oracle.jdbc.driver.OracleStatement.expandSqlEscapes(OracleStatement.java:4790)
    at oracle.jdbc.driver.OracleStatement.parseSqlKind(OracleStatement.java:4779)
    at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:209)
    at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:165)
    at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleConnection.java:604)
    at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:485)
    at weblogic.jdbc.common.internal.ConnectionEnv.getStatementHolderForCachedPrepared(ConnectionEnv.java:99)
    at weblogic.jdbcbase.jts.Connection.prepareStatement(Connection.java:138)

    Hi. That's clearly an Oracle driver bug. I suggest downloading the latest driver from
    Oracle, and making sure it's ahead of all weblogic stuff in the server's weblogic.classpath,
    by editing the startWeblogic script.
    Joe
    Damon Weinstein wrote:
    Hello,
    I am intermittently getting a nullpointer exception while parsing a
    query to make a preparedStatement. I am using WebLogic5.1 sp9.
    Oracle 817. Java 1.3.1 The code is very simple (although the
    setTypeMap(getTypeMap) stuff is there for ugly historical reasons, it
    has been included for completeness). Any insight into this problem
    would be greatly appreciated.
    My only current theory is that it is related to the nextval being
    passed in the string to the prepareStatement.
    The exception only happens 1 in 2000 calls. This code usually
    succeeds. The code is executing in the context of a stateless session
    bean. There may be upto 200 client threads calling this method
    concurrently from various systems.
    ...dAmOn
    CODE:
    final String lQuery = "insert into SB_MESSAGE (M_MSG_UID,
    M_MSG_GUID, M_REQUESTOR_GUID, M_MSG_GROUP, M_MSG_REQ_GUID,
    M_DEVICE_UID, M_ACCT_UID, M_TASK_ID, M_COMPLETION_STATUS,
    M_LAST_STATE, M_FILTER_NAME, M_FINAL_ATTEMPT, M_START_TIME,
    M_COMPLETED_TIME, M_TLM_DT)
    values(SEQ_M_MSG_UID.nextval,?,?,?,?,?,?,?,?,?,?,'F',?,?,?) ";
    PreparedStatement lPs = null;
    Driver driver =
    (Driver)Class.forName("weblogic.jdbc20.jts.Driver").newInstance();
    Connection connection =
    driver.connect("jdbc20:weblogic:jts:myPool", null);
    connection.setTypeMap(connection.getTypeMap());
    // ** This line leads to the stack trace following the line **
    lPs = connection.prepareStatement(lQuery);
    Stack Trace:
    java.sql.SQLException: java.lang.NullPointerException
    at oracle.jdbc.driver.OracleConnection.nativeSQL(OracleConnection.java:762)
    at oracle.jdbc.driver.OracleStatement.expandSqlEscapes(OracleStatement.java:4790)
    at oracle.jdbc.driver.OracleStatement.parseSqlKind(OracleStatement.java:4779)
    at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:209)
    at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:165)
    at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleConnection.java:604)
    at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:485)
    at weblogic.jdbc.common.internal.ConnectionEnv.getStatementHolderForCachedPrepared(ConnectionEnv.java:99)
    at weblogic.jdbcbase.jts.Connection.prepareStatement(Connection.java:138)

  • Error while calling a webservice on ECC 5.0 box

    Hi
       I have a webservice exposed on a ECC5.0 - the webservice is available for runtime.
    But when I call it with a single input parameter - from a test SOAP test - I get the following error as the SOAP response
    What could this be/mean ? Please help.
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Body>
        <soap-env:Fault>
          <faultcode>soap-env:Server</faultcode>
          <faultstring xml:lang="en">Error during XML =&gt; ABAP conversion (; error ID: ; ( ))</faultstring>
        </soap-env:Fault>
      </soap-env:Body>
    </soap-env:Envelope>

    Means theres an error in XML/ABAP conversion probably due a syntax error...
    Regards
    Juan

  • Error While Calling a WebService from Application Module

    Hi all
    I have generated a Proxy from a web Service and i am trying to call the web service from an Application Module it is throwing me error
    JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg= Missing class: webservices.types.com.siebel.xml.order_interface.Orders Dependent class: java.lang.reflect.Array Loader: jre.bootstrap Code-Source: unknown Configuration: jre bootstrap
    Missing class: webservices.types.com.siebel.xml.order_interface.Orders Dependent class: java.lang.reflect.Array Loader: jre.bootstrap Code-Source: unknown Configuration: jre bootstrap
    IMy web Service is correct, as i have executed the client and it is working fine, but when i try to class the web service from an external class or from an application module it is throwing me this error. So any light on this issue will be very helpful
    thanks

    Hi,
    did you registered the web service in the external service registration? The "DataAccessException:" is a hint to this issue.
    best regards,
    Rene

  • Error while calling a webservice from ABAP system

    Hi All,
    I have generated a proxy for the webservice that is there in a Java system.
    Iam getting the following error when I make a method call of that generated proxy.
    SOAP:1.026 SRT: HTTP-Code 500: ("Internal Server Error").
    Does anybody has any idea why is this happening?
    Thank You,
    Suresh.

    Hi Sridhar,
    It is active and it was working fine. It suddendly started giving this error. Do you think if there is any possibility that there would be something wrong in the system where webservice is lying?
    Thank You,
    Suresh.

  • NullPointerException while calling a Remote Method

    I have got the following exception wh�le calling a remote method,
    do you have any idea?
    java.lang.NullPointerException
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
         at distributedchess.server.ChessGameImpl_Stub.applyAction(ChessGameImpl_Stub.java:53)

    Looks to me like your server has a bug in a remote method.

Maybe you are looking for

  • BIOS Settings Problem on KT3 Ultra2 MS-6380E with Barton 3000+(FSB333)

    Well, I finally got my Barton 3000+ with 333 MHz FSB and installed it yesterday in my MSI KT3 Ultra2 Mainboard.... System Before changing anything: PSU: DTK  400 W +3.3 V / 22 A +5 V / 35 A +12 V / 15 A -5 V / 0.5 A -12 V / 0.8 A +5 V VSB / 3 A So th

  • Delivery Header text table and feild

    Hi all, Can any one guide me where delivery header text is saving i check table STXH ( STXD SAPscript text file header) and field TDID but while i am checking in table i am not getting any text data either based on text or any other combination can a

  • KE1A - Dynamic Variant?

    Hi, Can anyone tell how to make the value of period in KE1A transaction as dynamic and save it as a variant. The variant only has protection attribute and does not have option to make any field dynamic. All other programs has this functionality. Let

  • Omni Portlet Causes DB to Crash

    I'm using omni portlet SQL to retieve data from my oracle 10g database. After running the portal page which contains the omni portlets( page contain 4 portlets) the database crashes, and the only way to recover is by simply restarting the database in

  • SYSAUX tablespace increasing in size

    Hi, I have noticed that SYSAUX tablespace increasing in size. This tablespace is being used by the below components. However, none of those components are used by my applications. They are installed by default with Oracle 10g Realese1. what makes thi