SAP Knowledge Base Article - Preview

2040683 - "MalformedMessageException: No SOAP Envelope" error during a webservice call

Symptom

You use a SOAP/AXIS receiver communication channel to consume a webservice, but during the webservice call you see a similar error message like this in the channel monitoring:

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions; HTTP 200 OK

If you reproduce this error and collect DEBUG Level trace about the used communication channel(1514898 - XPI Inspector for troubleshooting XI -> Example 50  (XI Channel)), than you will see this other error message too:

Error in parsing response message.
[EXCEPTION]
com.sap.aii.af.sdk.xi.mo.MalformedMessageException: No SOAP Envelope but 1 {http://schemas.xmlsoap.org/wsdl/}definitions
at com.sap.aii.af.sdk.xi.mo.Message.reparseRootDocument(Message.java:1172)
at com.sap.aii.af.sdk.xi.net.MIMEInputSource.readSOAPPart(MIMEInputSource.java:787)
at com.sap.aii.af.sdk.xi.net.MIMEInputSource.decodePart(MIMEInputSource.java:779)
...


Read more...

Environment

  • SAP NetWeaver 7.0
  • SAP enhancement package 1 for SAP NetWeaver 7.0
  • SAP enhancement package 2 for SAP NetWeaver 7.0
  • SAP enhancement package 3 for SAP NetWeaver 7.0
  • SAP NetWeaver Process Integration 7.1
  • SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Process Integration 7.1 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

MalformedMessageException, SOAP, call, endpoint, WS, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX , KBA , BC-XI-CON-SOP , SOAP Adapter , BC-XI-CON-AXS , Axis Extention for SOAP Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.