cancel
Showing results for 
Search instead for 
Did you mean: 

XI Soap Adapter problem

Former Member
0 Kudos

Hello all, I have the following scenario:

Web Service -> XI -> ECC

This of course is using the SOAP adapter and the IDoc adapter. My configuration looks good, the testing tools all verify that it's set up correctly. Something is not working correctly. When I post a purchase order from the web service I am asked to log in (normal) and after entering credentials I receive an error:

<faultstring>Server Error</faultstring>

<detail>

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

<context>XIAdapter</context>

<code>MalformedMessageException</code>

<text><![CDATA[

com.sap.aii.messaging.mo.MalformedMessageException: No SOAP Envelope but 1 ProcessPurchaseOrder

at com.sap.aii.messaging.mo.Message.reparseRootDocument(Message.java:1048)

at com.sap.aii.messaging.net.MIMEInputSource.readSOAPPart(MIMEInputSource.java:620)

at com.sap.aii.messaging.net.MIMEInputSource.decodePart(MIMEInputSource.java:612)

at com.sap.aii.messaging.net.MIMEInputSource.readBody(MIMEInputSource.java:380)

at com.sap.aii.messaging.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58)

at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:387)

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

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

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)

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)

]]></text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

I'm not sure what to make out of this. It looks as though the web service is connecting to the SOAP adapter, but if I go to transaction SXMB_MONI there are no messages, so apparently the message isn't reaching the SOAP adapter correctly. I'm using the following url:

http://server:port/XISOAPAdapter/MessageServlet?channel:wosdev_pws:PO_Sender

Where <b>wosdev_pws</b> = the business system I attached as service without party

and where <b>PO_Sender</b> = communication channel for SOAP adapter configuration

Perhaps I have misunderstood the SOAP adapter and misconfigured it. Is that web address correct?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Satish,

Thanks for the response, that certainly was one problem. However, after changing the URL to the correct one, I am still recieving the same error. This is something that bothers me:

MalformedMessageException: No SOAP Envelope but 1 ProcessPurchaseOrder

What does it mean with regards to the SOAP Envolope?

Former Member
0 Kudos

Harrison,

I would suggest to recreate the WSDL and once again test. Also please use SOAP test client Mindreef SOAP SCOPE for this. It will tell you the error message there only if you have any problem? By that also you can rectify it.

I think it is complaining about SOAP envelope in the message. It dont have in the message? Just check Do Not use SOAP Envelope in your sender communicaiton channel and check once again?

---Satish

Answers (0)