Skip to Content
0

SOAP: Error occurred: java.io.IOException: No SOAP Envelope. Data contains no valid soap namespace

May 24, 2017 at 03:30 PM

261

avatar image
Former Member

Hi,

I have a requirement in order to consume a webservice provided by a third party. I've imported into PI the WSDL. The problem is the header of the service.

I am getting the error:

SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: No SOAP Envelope. Data contains no valid soap namespace. Value in message is "http://www.ibm.com/xmlns/prod/2009/jsonx". Required values are "false" or "http://www.w3.org/2003/05/soap-envelope".; HTTP 500 Internal Server Error

I have configured the module AF_Modules/AddSOAPHeaderBean with the header I see in soap ui for the WSDL provided but I have always the same error.

In SOAP UI I see the following XML:

http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://xxxxxxxxx/comun/commonHeaders-1.0" xmlns:ping="http://xxxxxxxx/ping">

I fill the SOAP receive module with:

Module Key Parameter name Param Value

0 CommonHeaders <serviceCode>[value]</serviceCode>... and the entry header I shown before...

0 namespace the same than soap ui -> http://xxxxxxxxx/comun/commonHeaders-1.0

Any idea why am I receiving this error?

Thanks in advance.

Kr,

Joaquín.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers