Javax.xml.ws.soap.SOAPFaultException - complex type soap response

Hi folks,
got a - hopefully simple to answer - question about soap and webservices.
first, the environment setup: Mac OS X 10.4.8, Java EE 5, Annotations, Hibernate, Sun Java System Application Server 9.
second, the scenario: I have an enterprise application that consists of a WAR-archive (holding the webbased admin access to my application) and a EJB-Jar-archive inside. The latter one does define some Enterprise Java Beans (stateless SessionBeans), which are also annotated as being fully accessable Web-Services. A standalone client then should be able to access the application by calling these webservices. By deploying this EAR to the Sun Server, all WSDLs and webservices.xml are created dynamically.
third, the problem: When testing the single webservice methods through the Sun Server admin interface test-page, only these methods work, which receive a simple type parameter and also return a simple type parameter (e.g. long, int, ..). When invoking a method to return a non-simple type (i.e. a self defined java object "jobOrder" holding ints, longs, Sets, etc..), i get the following error:
on the webserver side:
javax.servlet.ServletException: java.lang.reflect.InvocationTargetException at
com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doPost(WebServiceTesterServlet.java:311) at
com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:106) at
com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:102) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at
com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239) at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667) at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574) at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844) at
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287) at
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212) at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252) at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: java.lang.reflect.InvocationTargetException 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:585) at
com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doPost(WebServiceTesterServlet.java:284) ... 23 more
Caused by: javax.xml.ws.soap.SOAPFaultException: JTA transaction begin failed at com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(ClientEncoderDecoder.java:86) at
com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toMessageInfo(SOAPXMLDecoder.java:211) at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:540) at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:260) at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:139) at
com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:86) at
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:174) at
com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:108) at
$Proxy105.findReparationOrderById(Unknown Source) ...in the Sun AppServer log file:
Error in encoding SOAP Message
     at com.sun.xml.ws.encoding.soap.server.SOAPXMLEncoder.toSOAPMessage(SOAPXMLEncoder.java:115)
     at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.makeSOAPMessage(SOAPMessageDispatcher.java:352)
     at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:157)
     at com.sun.xml.ws.server.Tie.handle(Tie.java:90)
     at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
     at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
     at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:186)
     at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:117)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101)
     at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
     at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
     at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
     at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
     at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
     at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
     at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
     at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
     at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: javax.xml.bind.MarshalException
[...]four, the question: is it generally only possible to pass and receive simple data types through soap? if so, what to do with more complex application-integrated data structures or even Lists? The generated *.xsd files which XML-define the structure of the given "jobOrder" object seem to be correct. Or is it just a completely different root cause ?
any other suggestions, work-arounds, technologies to use or hints ?
thanks in advance
andre from berlin
Message was edited by:
derandre

Hi folks,
got a - hopefully simple to answer - question about soap and webservices.
first, the environment setup: Mac OS X 10.4.8, Java EE 5, Annotations, Hibernate, Sun Java System Application Server 9.
second, the scenario: I have an enterprise application that consists of a WAR-archive (holding the webbased admin access to my application) and a EJB-Jar-archive inside. The latter one does define some Enterprise Java Beans (stateless SessionBeans), which are also annotated as being fully accessable Web-Services. A standalone client then should be able to access the application by calling these webservices. By deploying this EAR to the Sun Server, all WSDLs and webservices.xml are created dynamically.
third, the problem: When testing the single webservice methods through the Sun Server admin interface test-page, only these methods work, which receive a simple type parameter and also return a simple type parameter (e.g. long, int, ..). When invoking a method to return a non-simple type (i.e. a self defined java object "jobOrder" holding ints, longs, Sets, etc..), i get the following error:
on the webserver side:
javax.servlet.ServletException: java.lang.reflect.InvocationTargetException at
com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doPost(WebServiceTesterServlet.java:311) at
com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:106) at
com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:102) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at
com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239) at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667) at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574) at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844) at
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287) at
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212) at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252) at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: java.lang.reflect.InvocationTargetException 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:585) at
com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doPost(WebServiceTesterServlet.java:284) ... 23 more
Caused by: javax.xml.ws.soap.SOAPFaultException: JTA transaction begin failed at com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(ClientEncoderDecoder.java:86) at
com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toMessageInfo(SOAPXMLDecoder.java:211) at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:540) at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:260) at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:139) at
com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:86) at
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:174) at
com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:108) at
$Proxy105.findReparationOrderById(Unknown Source) ...in the Sun AppServer log file:
Error in encoding SOAP Message
     at com.sun.xml.ws.encoding.soap.server.SOAPXMLEncoder.toSOAPMessage(SOAPXMLEncoder.java:115)
     at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.makeSOAPMessage(SOAPMessageDispatcher.java:352)
     at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:157)
     at com.sun.xml.ws.server.Tie.handle(Tie.java:90)
     at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
     at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
     at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:186)
     at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:117)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101)
     at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
     at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
     at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
     at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
     at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
     at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
     at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
     at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
     at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: javax.xml.bind.MarshalException
[...]four, the question: is it generally only possible to pass and receive simple data types through soap? if so, what to do with more complex application-integrated data structures or even Lists? The generated *.xsd files which XML-define the structure of the given "jobOrder" object seem to be correct. Or is it just a completely different root cause ?
any other suggestions, work-arounds, technologies to use or hints ?
thanks in advance
andre from berlin
Message was edited by:
derandre

Similar Messages

  • Exception "main" javax.xml.ws.soap.SOAPFaultException: Missing SOAP Header

    Hi
    I need to integrate E-Business Suite with ADF using JAX-WS proxy client. When I tried to invoke a method exposed in webservices, I am getting the below error
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Missing in SOAP Header
    how to pass password with SOAP header?
    In a thread "https://forums.oracle.com/forums/thread.jspa?threadID=2125723", they mentioned to include "wss_username_token_client_policy" and to set override property to set user/pw from a csf key. I included that policy while generating the proxy client in "Step 7" and after then what should I do?
    Is it the only way to invoke secured webservices? if not what are the ways to do it?
    Can anyone give me good example or sample codes to invoke secured webservice through "JAX-WS Proxy client"
    Thanks

    I suppose that this is duplicate of How to pass username/password through WebService proxy client to E-BS.
    For full example check: http://www.javadb.com/using-a-message-handler-to-alter-the-soap-header-in-a-web-service-client
    Dario

  • SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processi

    Hi: We are using weblogic81 sp3. Other developers in my office ran the same porgram and got no errors.
    My startWebLogic.cmd are configured exactly same as theirs.
    My startWebLogic classpath:
    set CLASSPATH=%WL_HOME%\server\lib\ojdbc14.jar;%WL_HOME%\server\lib\CR122067_81sp3.jar;%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH%
    I keep getting this webservice error.
    SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: w
    eblogic.xml.schema.binding.DeserializationException: mapping lookup failure. typ
    e=['java:language_builtins.util']:ArrayList schema context=TypedSchemaContext{ja
    vaType=[Ljava.lang.Object;} (see Fault Detail for stacktrace)
    Detail:
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webse
    rvice/fault/1.0.0">weblogic.xml.schema.binding.DeserializationException: mapping
    lookup failure. type=['java:language_builtins.util']:ArrayList schema context=T
    ypedSchemaContext{javaType=[Ljava.lang.Object;}
    at weblogic.xml.schema.binding.RuntimeUtils.lookup_deserializer(RuntimeU
    tils.java:461)
    thank you for your help

    we used castor to do xml mapping

  • Javax.xml.rpc.soap.SOAPFaultException +HttpBinding Adapter 11g

    Hi all,
    when i am trying to use HttpBinding Adapter with Type= 'Service' , Verb='POST' ,*Operation Type='Request-Response'* , after these settings when i deploy my application on Enterprise Manager than my operation works fine but i get following error in log file.
    Please suggest me what am i doing wrong...................
    <javax.xml.rpc.soap.SOAPFaultException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.generateSoapFaultException(WebServiceEntryBindingComponent.java:1052)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:889)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1081)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:232)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:484)
         at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: 835461 on Jul 19, 2011 4:07 AM

    This operation is assyncronous ?

  • Javax.xml.rpc.soap.SOAPFaultException: "Server Error" while calling a WSDL

    Hi
    I am using a WSDL in my java code by creating proxy.
    I am getting an exception on below line of code
    XX_RESPONSE res = port.XX_XX_Forecast(req);
    exception :
    javax.xml.rpc.soap.SOAPFaultException: "Server Error"
    hat could be the possibility.
    is it from XI side or Java side.
    Shall I catch a XI person on my floor to solve this !!
    To be more specific :
    Error is
    <detail xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
    <context>XIAdapter</context>
    <code>ADAPTER.JAVA_EXCEPTION</code>
    <text>com.sap.aii.af.service.cpa.CPAException: invalid channel (party:service:channel) = <null>
    at com.sap.aii.af.mp.soap.web.MessageServlet.getChannel(MessageServlet.java:499)
    at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:409)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    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(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</text>
    </s:SystemError>
    </detail>
    Thanks

    Hi...
    WSDL forwarded by my manager was wong
    I tested it and it threw same exception.
    nyways...1 more help..
    Now, is there any way in NWDS to replace contents of used WSDL.
    Because only 1 "=" is missing in WSDL..
    Thanks

  • Javax.xml.rpc.soap.SOAPFaultException: SoapException

    Hi... forum
    I really need your help.
    I created a web service client. with JDEV 10.1.3, when i crearted a function call i got this error
    javax.xml.rpc.soap.SOAPFaultException: SoapException
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:540)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at com.ws.runtime.POSSoap_Stub.comprar(POSSoap_Stub.java:659)
         at com.ws.POSSoapClient.comprar(POSSoapClient.java:55)
         at com.ws.POSSoapClient.main(POSSoapClient.java:40)
    I debug the application and then get down in this line:
    send((String) getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
    i also using web Secure Proxy
    i don´t know what´s happenning ?
    Can help me, please?
    thnks
    Josue

    HI Frank, thank you for your help...
    I run the HTTP analyzer and see the error.. the usernametoken doesn´t was put it...
    My proxy i put it like secure proxy and i check the option username token. but the service. doesn´t put me this tag.
    this the message send it.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:schemas-orbitel-com-co:pos">
    <env:Body>
    <ns0:SolicitudCompra>
    <ns0:IdTransaccion>123</ns0:IdTransaccion>
    <ns0:TipoTarjeta>Orbitel Europa</ns0:TipoTarjeta>
    <ns0:Localizacion>Colombia</ns0:Localizacion>
    <ns0:Valor>0</ns0:Valor>
    <ns0:ZonaHoraria>0</ns0:ZonaHoraria>
    </ns0:SolicitudCompra>
    </env:Body>
    </env:Envelope>
    And the error message is..:
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>SoapException</faultstring>
    <faultactor>urn:schemas-orbitel-com-co:pos</faultactor>
    <detail>
    <Error xmlns="urn:schemas-orbitel-com-co:pos">
    <Codigo>POS006</Codigo>
    <Descripcion>El UsernameToken no fue suministrado</Descripcion>
    </Error>
    </detail>
    </soap:Fault>
    Frank, what can i do. to put the usernametoken into the send message.. ?
    thnks four your help...
    thnks.
    Joshua

  • Javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null

    Hi Folks,
    I was trying to do the tutorial "Securing Services Using the AquaLogic Service Bus", but when I called the Web Service Method I got the error message listed bellow.
    What happened ?
    Tutorial link:
    "http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1"
    Exception:
    "Unable to invoke service: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
    p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
    tActor [null]No Detail; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
    java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
    p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
    tActor [null]No Detail; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
    at webservice.Echo_Stub.doEcho(Echo_Stub.java:37)
    at webservice.EchoServiceClient.main(EchoServiceClient.java:48)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.nu
    ll
    at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:265)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandle
    r.java:106)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.jav
    a:91)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandle
    r.java:79)
    at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.jav
    a:254)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.
    java:224)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(Clie
    ntDispatcher.java:161)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDisp
    atcher.java:116)
    at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
    at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:335)
    at webservice.Echo_Stub.doEcho(Echo_Stub.java:32)"

    Hi Folks,
    I was trying to do the tutorial "Securing Services Using the AquaLogic Service Bus", but when I called the Web Service Method I got the error message listed bellow.
    What happened ?
    Tutorial link:
    "http://dev2dev.bea.com/pub/a/2006/04/securing-service-bus.html?page=1"
    Exception:
    "Unable to invoke service: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
    p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
    tActor [null]No Detail; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
    java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoa
    p.org/soap/envelope/}Server] FaultString [Failed to process signature.null] Faul
    tActor [null]No Detail; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null
    at webservice.Echo_Stub.doEcho(Echo_Stub.java:37)
    at webservice.EchoServiceClient.main(EchoServiceClient.java:48)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.nu
    ll
    at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:265)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandle
    r.java:106)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.jav
    a:91)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandle
    r.java:79)
    at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.jav
    a:254)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.
    java:224)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(Clie
    ntDispatcher.java:161)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDisp
    atcher.java:116)
    at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
    at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:335)
    at webservice.Echo_Stub.doEcho(Echo_Stub.java:32)"

  • Javax.xml.rpc.soap.SOAPFaultException: Component Interface API

    Hello,
    I built a portlet which includes a web service proxy. After I deployed the portlet to OAS and tried to load, I got the following errors:
    ERROR: Failed to handle HTTP Request
    javax.xml.rpc.soap.SOAPFaultException: Component Interface API.
    at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:555)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
    at edu.bgsu.psft.bursar.proxy.runtime.CI_BG_CI_BURSAR_ACCT_SUMM_Binding_Stub.CI_BG_CI_BURSAR_ACCT_SUMM_G(CI_BG_CI_BURSAR_ACCT_SUMM_Binding_Stub.java:76)
    at edu.bgsu.psft.bursar.proxy.CI_BG_CI_BURSAR_ACCT_SUMM_PortClient.CI_BG_CI_BURSAR_ACCT_SUMM_G(CI_BG_CI_BURSAR_ACCT_SUMM_PortClient.java:44)
    at htdocs.mybursaraccount._MyBursarAccountShowPage._jspService(_MyBursarAccountShowPage.java:206)
    at com.orionserverhttp://Oracle Application Server Containers for J2EE 10g (10.1.2.3.0).http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermindhttp://Oracle Application Server Containers for J2EE 10g (10.1.2.3.0).server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
    Can anyone give me some ideas?
    Thanks!

    Hello,
    I built a portlet which includes a web service proxy. After I deployed the portlet to OAS and tried to load, I got the following errors:
    ERROR: Failed to handle HTTP Request
    javax.xml.rpc.soap.SOAPFaultException: Component Interface API.
    at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:555)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
    at edu.bgsu.psft.bursar.proxy.runtime.CI_BG_CI_BURSAR_ACCT_SUMM_Binding_Stub.CI_BG_CI_BURSAR_ACCT_SUMM_G(CI_BG_CI_BURSAR_ACCT_SUMM_Binding_Stub.java:76)
    at edu.bgsu.psft.bursar.proxy.CI_BG_CI_BURSAR_ACCT_SUMM_PortClient.CI_BG_CI_BURSAR_ACCT_SUMM_G(CI_BG_CI_BURSAR_ACCT_SUMM_PortClient.java:44)
    at htdocs.mybursaraccount._MyBursarAccountShowPage._jspService(_MyBursarAccountShowPage.java:206)
    at com.orionserverhttp://Oracle Application Server Containers for J2EE 10g (10.1.2.3.0).http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermindhttp://Oracle Application Server Containers for J2EE 10g (10.1.2.3.0).server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
    Can anyone give me some ideas?
    Thanks!

  • Javax.xml.rpc.soap.SOAPFaultException: JAXRPC.TIE.01

    Hi,
    I have a wsdl file from which i generated stubs and ties. I wrote my own interface and implementation class and depoyed it as web service. Now instead of using stubs generated from the deployed service wsdl, I am tring to use the client stubs that i generated using the existing wsdl file. But it is throwing an error
    javax.xml.rpc.soap.SOAPFaultException: JAXRPC.TIE.01: caught exception while han
    dling request: unrecognized operation: {http://www.telstra.com/WSAccount.wsdl}WS
    AccGetAccountRequest
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:385)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:224
    at getAccount.WSAccountPortType_Stub.WSAccGetAccount(WSAccountPortType_S
    tub.java:475)
    at getAccount.WSAccGetAccountClient.main(WSAccGetAccountClient.java:14)
    However, if i use interfaces and implementation classes, generated from existing wsdl instead of writing on my own, to deploy the service, the service is getting deployed perfectly but while invoking it throws the following error:
    java.rmi.ServerException: JAXRPC.JAXRPCSERVLET.30: Internal server error (JAXRPC
    .JAXRPCSERVLET.43: failed to instantiate service implementor for port "WSAccGetA
    ccount")
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:372)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:224
    at getAccount.WSAccountPortType_Stub.WSAccGetAccount(WSAccountPortType_S
    tub.java:475)
    at getAccount.WSAccGetAccountClient.main(WSAccGetAccountClient.java:14)
    Please help.
    Thanks,
    Vivek

    try checking if you have the right privileges to send a message or a SOAP request to the target location.

  • Fehler javax.xml.rpc.soap.SOAPFaultException: System Error

    Hi,
    I tried to create a web service with XI with the help of the blog: Invoke Webservice using SAP XI under https://weblogs.sdn.sap.com/pub/wlg/2292. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] When I create the web service with the url from the tutorial: http://host:port/XISOAPAdapter/MessageServlet?channel=:<service>:<channel> the url is not found. If I use the proposed url I got the error: Fehler javax.xml.rpc.soap.SOAPFaultException: System Error.
    What could be the problem?
    Thank you!
    Julia
    Message was edited by: Julia Seifert

    RWB = runtime Workbench
    when you start integration builder you 4 choices (Integration Repository, Integration Directory, System Landscape Directory and Runtime Workbench)
    Go their and on the next Webpage on the first link "Comp. Monitioring"
    Go to "Integration Server" and their to Adapter Engine
    you will get another window below.
    Go their on button Adapter Monitoring and we will get a overview which are working and which not.
    Hope this helps!
    Regards Matt

  • Javax.xml.rpc.soap.SOAPFaultException: System Error

    i am trying to use java proxy to run a web service which activates a FM. when i excute the java program i get:
    javax.xml.rpc.soap.SOAPFaultException: System Error
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildFaultException(MimeHttpBinding.java:735)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.processDocumentFault(MimeHttpBinding.java:857)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.getResponseDocument(MimeHttpBinding.java:1091)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1439)
         at sap.press.com.xi.MI_JavaProxyStartWorkflowSyncOutBindingStub.MI_JavaProxyStartWorkflowSyncOut(MI_JavaProxyStartWorkflowSyncOutBindingStub.java:82)
         at sap.press.com.xi.SendJavaProxy.main(SendJavaProxy.java:38)
    does anyone know what the causing it?

    RWB = runtime Workbench
    when you start integration builder you 4 choices (Integration Repository, Integration Directory, System Landscape Directory and Runtime Workbench)
    Go their and on the next Webpage on the first link "Comp. Monitioring"
    Go to "Integration Server" and their to Adapter Engine
    you will get another window below.
    Go their on button Adapter Monitoring and we will get a overview which are working and which not.
    Hope this helps!
    Regards Matt

  • Javax.xml.rpc.soap.SOAPFaultException: Server Error

    Hi,
    <P>
    I have Dyn Pro application deployed on NW app server. The application uses webservices on PI and the whole process working until a month back. Recently the application stopped working and throwing following error. Also I use following code for Authentication.
    <P>
    <P>
    I am not sure where the issue is? I looked at forums before posting and could not find anything. I wonder if any one ran into the issue and how is it fixed? I appreciate your help.
    <P>
    <P>
    CODE
    <P>
    <P>
    if ( port instanceof Stub ) {
    final Stub stub = (Stub)port;  stub._setProperty(Stub.USERNAME_PROPERTY,  "abcd");
    stub._setProperty(Stub.PASSWORD_PROPERTY, "123");
    } else if (port instanceof DInterfaceInvoker) {
    final DInterfaceInvoker invoker = (DInterfaceInvoker)port;
    invoker.setProperty(Stub.USERNAME_PROPERTY,  "abcd");
    invoker.setProperty(Stub.PASSWORD_PROPERTY, "123");
    <P>
    <P>
    Exception is:
    <P>
    <P>
    java.lang.RuntimeException: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL 'C:
    cliqbook
    wsdl
    MI_Project_Search_Request_Response1.wsdl' with operation 'MI_Project_Search_Request_Response' in interface 'MI_Project_Search_Request_Response' at com.app.freeman.search.cliqbook.CliqBookSearch.executeRequest_MI_Project_Search_Request_Response(CliqBookSearch.java:294) at com.app.freeman.search.cliqbook.wdp.InternalCliqBookSearch.executeRequest_MI_Project_Search_Request_Response(InternalCliqBookSearch.java:387) at com.app.freeman.search.cliqbook.CliqBookSearchView.onActionSearch(CliqBookSearchView.java:160) at com.app.freeman.search.cliqbook.wdp.InternalCliqBookSearchView.wdInvokeEventHandler(InternalCliqBookSearchView.java:380) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) 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:104) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) Caused by: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL 'C:
    cliqbook
    wsdl
    MI_Project_Search_Request_Response1.wsdl' with operation 'MI_Project_Search_Request_Response' in interface 'MI_Project_Search_Request_Response' ... 33 more Caused by: java.lang.reflect.InvocationTargetException: Server Error at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.processDocumentFault(MimeHttpBinding.java:927) at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1440) at MI_ProjectSearchRequestResponseBindingStub._invoke(MI_ProjectSearchRequestResponseBindingStub.java:99) at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:63) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:68) at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:46) at com.app.freeman.search.cliqbook.CliqBookSearch.executeRequest_MI_Project_Search_Request_Response(CliqBookSearch.java:248) ... 32 more Caused by: javax.xml.rpc.soap.SOAPFaultException: Server Error at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildFaultException(MimeHttpBinding.java:737) at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.processDocumentFault(MimeHttpBinding.java:860) ...
    <P>
    Thank you,
    Balaji

    Ganga,
    Thank you for the reply. THe stand alone webservice runs fine on PI. I have already tested with stansalone client and it works. It seems to be webdyn pro failing in the following code.
    public void executeRequest_MI_Project_Search_Request_Response( )
        //@@begin executeRequest_MI_Project_Search_Request_Response()
        //$$begin Service Controller(763118099)
         IWDMessageManager manager = wdComponentAPI.getMessageManager();
      try
         wdContext.currentRequest_MI_Project_Search_Request_ResponseElement().modelObject().wdSetInvocationModifier(new WSDLAuthentication());
          wdContext.currentRequest_MI_Project_Search_Request_ResponseElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeMT_Project_Search_Response().invalidate();
          wdContext.nodeRecords().invalidate();
          wdContext.nodeReturn().invalidate();    
        catch(Exception e)
          manager.reportException(e.getMessage(), false);     
          throw new RuntimeException(e.fillInStackTrace());
        //$$end
        //@@end
       * The following code section can be used for any Java code that is
       * not to be visible to other controllers/views or that contains constructs
       * currently not supported directly by Web Dynpro (such as inner classes or
       * member variables etc.). </p>
       * Note: The content of this section is in no way managed/controlled
       * by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      private final class WSDLAuthentication implements IWDWSInvocationModifier {
                public void doModifyInvocation(final Object port) {
                        if ( port instanceof Stub ) {
                               final Stub stub = (Stub)port;
                               stub._setProperty(Stub.USERNAME_PROPERTY,  "abc");
                               stub._setProperty(Stub.PASSWORD_PROPERTY, "123");
                        } else if (port instanceof DInterfaceInvoker) {
                               final DInterfaceInvoker invoker = (DInterfaceInvoker)port;
                               invoker.setProperty(Stub.USERNAME_PROPERTY,  "abc");
                               invoker.setProperty(Stub.PASSWORD_PROPERTY, "123");
                        } else
                               throw new RuntimeException("Error");
                        public void doModifyAfterInvocation() {}
    Thankyou,
    Balaji
    Edited by: balaji uppalapati on Jul 27, 2010 3:17 PM

  • Javax.xml.ws.soap.SOAPFaultException on 11g

    Hi!
    I am facing a strange issue while calling a WS exposed by a third party application.
    I've tested in 10.1.3.4, it works well and in 11g I get the following error :
    [2009-11-06T13:22:26.996+01:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.ws] [tid: pool-5-thread-12] [userId: <anonymous>] [ecid: 0000IJ9SX75Bx04pzS1
    FiW1Awh_20001Zi,0:2:2:100000642] [APP: soa-infra] [composite_name: TestCallWS] [component_name: TestCallGupp] [component_instance_id: 692038] [composite_in
    stance_id: 692038] <WSInvocationManager::invoke> got FabricInvocationException[[
    oracle.fabric.common.FabricInvocationException: javax.xml.ws.soap.SOAPFaultException: A header representing a Message Addressing Property is not valid and th
    e message cannot be processed
    at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.throwFabricInvocationException(WebServiceExternalBindingComponent.java:
    412)
    at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.throwFabricInvocationExceptionForSoapFault(WebServiceExternalBindingCom
    ponent.java:408)
    Caused by: javax.xml.ws.soap.SOAPFaultException: A header representing a Message Addressing Property is not valid and the message cannot be processed
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:874)
    Does someone have an idea ?
    Thanks,
    romain.

    I get the same error as well. Any help is appreciated

  • Java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException

    Hi, I created a webservice using weblogic8.1 sp3 workshop. On my desktop, I tested the webservice with a java client and it worked fine. When I deployed webservice application on UNIX production server, it deployed successfully and it displayed WSDL file too. But, when I run java client from desktop to access this webservice on UNIX server, it is throwing the following exception.
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    Detail:
    <detail>
    null </detail>; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:31)
    at SoapClient.main(SoapClient.java:17)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    at weblogic.webservice.core.ClientDispather.receive(ClientDispatcher.java:313)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
    at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:26)
    can somebody please help me. This is very critical for me.
    Thanks in advance.

    Hi, I created a webservice using weblogic8.1 sp3 workshop. On my desktop, I tested the webservice with a java client and it worked fine. When I deployed webservice application on UNIX production server, it deployed successfully and it displayed WSDL file too. But, when I run java client from desktop to access this webservice on UNIX server, it is throwing the following exception.
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    Detail:
    <detail>
    null </detail>; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:31)
    at SoapClient.main(SoapClient.java:17)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    at weblogic.webservice.core.ClientDispather.receive(ClientDispatcher.java:313)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
    at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:26)
    can somebody please help me. This is very critical for me.
    Thanks in advance.

  • Web Service Model ---javax.xml.rpc.soap.SOAPFaultException

    Hi Experts,
                     I am working with webservices model Using NWDS 7.013. One application (webservice model) was developed in old portal server after that portal server was scrapped. XI server only available now. Currently i have a new server. I import into that application into My NWDS using the New server.
    Refering the below thread
    Re: Problem calling XI WebServices from WebDynpro Java
    I added following code in the component controller before execute the model
    req._setUser("username"); (eg. user_XI)
    req._setPassword("password"); (eg. password_XI)
    while executing the model in the component controller the following exception will be occured
    javax.xml.rpc.soap.SOAPFaultException
    How can i rectify this? anything i am going to create JCO in SLD or any configuration going to create Visual administrator? Please give me your valuable suggestions....
    Regards,
    P.Manivannan.

    Hi,
    Refer to thread Re: Web Service Error. which may be helpful.
    Kind Regards,
    Nitin

Maybe you are looking for

  • Monetary value as double

    I have to do a program which prompts for and reads a double value representing a monetary amount. It has to determine the fewest number of each bill and coin needed to represent that amount, starting with the highest (maximum size needed a ten dollar

  • Deep DDIC-Structure - Method to get the Comp.Type of a sub-structure

    Dear colleagues, thought the subsequent piece of coding might be helpful for the following problem: In DDIC you have created a deep/nested Structure e.g. a complete Business Document representation like s_doc_header type struct_doc_header      (incl.

  • UploadBean with JBoss Problem

    Dear Experts I am currently creating a web page which allows the customers to upload csv file. I serached through the net and found that people are using "UploadBean" for this thus I downloaded the uploadbean jar file and imported it to my Jboss libr

  • Java SDK for RoboSapien RS Media

    I have heard that there was a Java SDK for RoboSapien RS Media. I talked to a Customer Support Rep at WowWee and they said that the current Java SDK would work in it. If not that I can obtain the right one from Sun? But I can't seem to find where I c

  • HT204053 I forgot my security question answers. How do I change them?

    I forgot my security question answers. How do I change them?