Skip to Content
0
Former Member
Feb 03, 2005 at 07:28 PM

Posting XML via HTTP post returns "Envelope missing in SOAP message header"

1043 Views

Hi,

I am trying to post a simple XML message directly to the integration server using an html document, where the form that contains the XML message is a simple

<b><FORM action="http://servername:8000/sap/xi/engine?type=entry" method="post"></b>

So, I add my xml message like this:

<?xml version="1.0" encoding="UTF-8">

http://sap.com/demo/plantmaintenance">

<EquipmentID>SLIEQUIP5</EquipmentID>

<FunctionalLocation>KB</FunctionalLocation>

<Date/>

<Time/>

</ns:PlantMaintenanceMessageType>

but I get a message back from the Integration Server as:

...

http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="PARSER">ITEM_MISSING</SAP:Code>

<SAP:P1>Envelope</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<b><SAP:Stack>XML tag Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack></b>

</SAP:Error>

...

Seems like I am missing the Envelope so my Integration Server can understand my post. What does the Envelope look like or should conatain so that the Integration Server accepts my XML file ?

Thanks !