cancel
Showing results for 
Search instead for 
Did you mean: 

Error when sending by HTTP using XML HTTP Port for idoc

Former Member
0 Kudos

Hi Guys,

I am trying to send idocs thru XML Http port. But while sending the IDoc's i am getting the Error for when transferring the IDoc by XML HTTP, the return code with the message '500 Error during parsing of SOAP header' has occurred.

The target address was: http://hostname:port/sap/xi/engine?type=entry

I get the http 500 error as:-

Check whether the IDoc can be sent again.

It is unfortunately not possible to determine automatically whether the IDoc has in fact arrived in the target system and the error occurred afterwards

But all connections are working fine, even SM59 connection, SLDCHECK, SLDAPICUST, LCRSAPRFC & SAPSLDAPI. Everthing is working fine, but transfering the IDoc i am getting the above error.

So, Kindly let me know any idea for trouble shoot or resolve this.

Thanks & Regards

Vijayakumar S

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

> I am trying to send idocs thru XML Http port. But while sending the IDoc's i am getting the Error for when transferring the IDoc by XML HTTP, the return code with the message '500 Error during parsing of SOAP header' has occurred.

>

> The target address was: http://hostname:port/sap/xi/engine?type=entry

>

This won't work. The IDoc XML is plain XML, not a SOAP message. XI engine expects a SOAP message.

You could use HTTP adapter.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

In your XML HTTP Port, is the option SOAP Protocol checked? Have you followed the step-by-step guide for configuring one http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bd....

Also, there are other ways for idoc packing along with its pros and cons as stated in this blog by Michal

Hope this helps,

Mark