cancel
Showing results for 
Search instead for 
Did you mean: 

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

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:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://xxxxxxxxx/comun/commonHeaders-1.0" xmlns:ping="http://xxxxxxxx/ping"> <soapenv:Header> <com:CommonHeaders> <com:serviceCode></com:serviceCode> <com:version></com:version> <com:requestId></com:requestId> <com:codeApp></com:codeApp> <com:channel></com:channel> <!--Optional:--> <com:locale></com:locale> </com:CommonHeaders> </soapenv:Header> <soapenv:Body> <ping:ping></ping:ping> </soapenv:Body> </soapenv:Envelope>

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member857526
Discoverer
0 Kudos

I am also getting the same error. Have you got the solution for this issue.