cancel
Showing results for 
Search instead for 
Did you mean: 

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0"> <context>XIAdapter</context> <code>ADAPTER.JAVA_EXCEPTION</code>

Former Member
0 Kudos

Hi Experts,

I need your help. I'm having problem calling wsdl(webservice) file. I'm getting this error:

<!--see the documentation-->

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP:Body>

      <SOAP:Fault>

         <faultcode>SOAP:Server</faultcode>

         <faultstring>Server Error</faultstring>

         <detail>

            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

               <context>XIAdapter</context>

               <code>ADAPTER.JAVA_EXCEPTION</code>

               <text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIServer:CANNOT_READ_PAYLOAD:

          at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:955)

          at sun.reflect.GeneratedMethodAccessor307_10000.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:585)

          at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)

          at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)

          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:38)

          at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)

          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:21)

          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:16)

          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:133)

          at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)

          at $Proxy2598_10000.process(Unknown Source)

          at com.sap.aii.af.app.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:249)

          at sun.reflect.GeneratedMethodAccessor305_10000.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:585)

          at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)

          at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)

          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:38)

          at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)

          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:21)

          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:16)

          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:133)

          at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)

          at $Proxy173_10000.process(Unknown Source)

          at com.sap.aii.adapter.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:169)

          at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:440)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

          at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:163)

          at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:82)

          at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:124)

          at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:74)

          at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:425)

          at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)

          at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

          at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)

          at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)

          at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

          at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)

          at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

          at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)

          at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

          at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

          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:71)

          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:71)

          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:71)

          at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)

          at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)

          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:152)

          at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)</text>

            </s:SystemError>

         </detail>

      </SOAP:Fault>

   </SOAP:Body>

</SOAP:Envelope>

Hope you can help me...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks for the reply experts! my testing through SOAPui is now working

iaki_vila
Active Contributor
0 Kudos

Hi Jun,

Good for you , what was the problem finally?, in this way we can help more people in the future.

Regards.

nageshwar_reddy
Contributor
0 Kudos

What was the issue? Was it just with service provider? Was it something else?

Former Member
0 Kudos

Hi,

What i did was to unchecked the "do not use envelope" from the sender interface, then clear the cache usign this

http://host:port/CPACache/refresh?mode=full (but user must have the authorization)

iaki_vila
Active Contributor
0 Kudos

Hi Jun,

If the scenario works from RWB you are reducing the problem focus

Are you using SOAP envelope from SOAPui?, have you tried, depending of the before answer, to change the SOAP sender parameter "Do not use Soap envelop"?

Regards.

Former Member
0 Kudos

Hi Inaki,

When you say change the SOAP sender parameter "Do not use Soap envelop"?  do you mean to check the checbox item DO not use  SOAP envelope ? it is ticked already.

iaki_vila
Active Contributor
0 Kudos

Hi Jun,

As Michal says you need to test first the XI scenario with an external tool like the free tool SOAPui.

If the call is wrong you should check the XI SOAP configuration a generate a new WSDL from the Integration Directory for example. If the call is right you should point us what language are you using to call the XI, ABAP Proxy, Java (with Axis framework or not), etc in order to help you better.

This problem seems that the SOAP-XML generated is not supported by XI, may be it hasn't the SOAP-PI format.

Regards.

Former Member
0 Kudos

Hi Inaki,

the error displayed is from SOAPui 4.5.1...

the process is this, a 3rd party application (non SAP) will call an interface via this wsdl and this interface do is:

1. parse the data being passed via XSLT mapping

2. after it has been parse mapped to data type fields

3. each field will be sent to SolMan.

The weird part is, under RWB, i am testing this process and it was successfully processed..but doing it on SOAPui (since the 3rd party application is not yet ready) there the error occurs..

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>I'm having problem calling wsdl(webservice) file.

you're calling a WSDL file ? just open it from the browser and download

so you can consume it later on in any application,

Regards,

Michal Krawczyk

Former Member
0 Kudos

HI Micha;,

Tried it still same error...

Thanks for the response

iaki_vila
Active Contributor
0 Kudos

Hi Jun,

Are you sending an empty payload?

If the answer is yes you should check the notes 1060723 and 1082111

Regards

Former Member
0 Kudos

Hi Inaki,

Nope... im sending this payload:

<![CDATA[<Message><MessageHeader Originator="SAPPrototype" OriginatorRef="8000008735" OriginatorVer="1" Consumer="SAPPrototype" ConsumerRef="8000008735" Provider="TfSPrototype" ProviderRef="8000008735" Notify="0" MsgType="ACK" /><AckDetail Qualifier="000"><Fields><Field Name="T_MESSAGE_TIME                                                  " ValueType="8" Id="58"><Value>8000008735</Value></Field></Fields></AckDetail></Message>]]>

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

As far as I know, a CDATA needs to be inside an XML field. Can you paste your complete payload here? Also, since the third-party is calling your WSDL, why uncheck the Do Not Use SOAP Envelope? Are you overriding the SOAP Envelope?

Hope this helps,
Mark

Former Member
0 Kudos

Hi Marked,

i unchecked it because in my OM, i have a process of XSLT parsing which will remove the format and extract defined fileds before pass on to SolMan. now it's working