Hey Guys!
I'm trying to call the InventoryNotification Operation via SOAPUI but my message keeps hitting an error.
The error message i get is : Error while parsing an XML stream: 'document not wellformed'.
The message I'm sending is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<n0:InventoryNotification>
<MessageHeader>
<CreationDateTime>2014-03-10T19:14:58Z</CreationDateTime>
</MessageHeader>
<InventoryNotification>
<ExternalID>IN-2</ExternalID>
<TransactionDateTime>2014-03-10T19:14:58Z</TransactionDateTime>
<Location>
<InternalID>PET200</StandardID>
</Location>
<InventoryChangeItem>
<InventoryChangeReasonCode>5</InventoryChangeReasonCode>
<InventoryMovementDirectionCode>2</InventoryMovementDirectionCode>
<ExternalID>002</ExternalID>
<Material>
<InternalID>8I01771045320101</InternalID>
</Material>
<Quantity unitCode="XBX">50</Quantity>
<QuantityTypeCode>XBX</QuantityTypeCode>
</InventoryChangeItem>
<SenderLastChangeDateTime>2014-03-10T19:14:58Z</SenderLastChangeDateTime>
</InventoryNotification>
</n0:InventoryNotification>
</soapenv:Body>
</soapenv:Envelope>
I downloaded the corresponding WSDL file directly from the ByD system that I'm calling.
I think I may need the values for schemeID, schemeAgencyID, schemeAgencySchemeAgencyID and maybe listID, listVersionID, listAgencyID, listAgencySchemeID, listAgencySchemeAgencyID to define the ValueTypes.
Where can i get these values?
It could be that there is another mistake that I'm not seeing.
Thanks for your help in advance!