cancel
Showing results for 
Search instead for 
Did you mean: 

Error during parsing of SOAP header

Former Member
0 Kudos

Hi all,

the integration engine is sending an error to the soap adapter in PI:

Received HTTP response code 500 : Error during parsing of SOAP header

The http request that is send to the SOAP Adapter is:

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

A request like this is working:

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

Did anybody know this problem or has an idea how to solve this?

Best regards,

Nils Kloth

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Nils,

This might be a case if you are using imported WSDL on the target side. The data that you are sending and is not working

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

<Body>

<ORDERS05>

...

</ORDERS05>

</Body>

</Envelope>

is having the same name space for tag ORDERS05 and Envlope but that data that is working for you have the different names spaces for both the tags.

check for the namespace for message type of ORDERS05. this needs to be changed.

Thanks

-Kulwant

Former Member
0 Kudos

Hi,

I changed the ns to:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
	<Body>
<ORDERS05 xmlns="urn:sap-com:document:sap:idoc:messages">
...
</ORDERS05>
	</Body>
</Envelope>

I did not help.

Best regards,

Nils Kloth

Former Member
0 Kudos

Hello Nils,

Try this

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

<Body>

<n1:ORDERS05 xmlns:n1="urn:sap-com:document:sap:idoc:messages">

...

</n1:ORDERS05>

</Body>

</Envelope>

all the sub elements or ORDERS05 must follow this.

Thanks

-Kulwant

Former Member
0 Kudos

Hi,

the question is not about how to make it a valid xml file, but how the integration engine can process this without change the message (maybe a parameter)

I started a new thread with a better explanation:

Best regards,

Nils

Edited by: Nils Kloth on Nov 7, 2008 8:25 AM