cancel
Showing results for 
Search instead for 
Did you mean: 

InventoryNotificationIn Error: 'document not wellformed'

Former Member
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

<Location>

          <InternalID>PET200</StandardID>

</Location>

in your code should be


<Location>

        <InternalID>PET200</InternalID>

</Location>

Answers (1)

Answers (1)

0 Kudos

Hi Guys,

I would like to know this wsdl(Webservice payload) get from the Communication Arrangement of "Third-Party Logistics Integration" scenario. Right?

Because I have one task like your WS's payload case.

So, I run my WS as above your code by changing only the data.

But the error is still now.

So, I would like to know your WS payload is downloaded from he Communication Arrangement of "Third-Party Logistics Integration" scenario or not.

Could you please answer for it?

Thanks and regards,

Su Mon