cancel
Showing results for 
Search instead for 
Did you mean: 

DI Server Update Item Object

robert_lamb2
Explorer
0 Kudos

Getting an Invalid XML Error when trying to update an Item through DI Server. What is wrong with the following code?

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

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

<env:Header>

<SessionID>"SESSIONID</SessionID>

</env:Header>

<env:Body>

<dis:UpdateObject >

<BOM>

<BO>

<AdmInfo>

<Object>oItems</Object>

</AdmInfo>

<QueryParams>

<ItemCode>ITEM01</ItemCode>

</QueryParams>

<Items>

<row>

<ItemCode>ITEM01</ItemCode>

<ItemName>Description</ItemName>

</row>

</Items>

</BO>

</BOM>

</dis:UpdateObject >

</env:Body>

</env:Envelope>

Accepted Solutions (0)

Answers (1)

Answers (1)

robert_lamb2
Explorer
0 Kudos

I have found the answer. I did not include the Manufacturer field. This is a mandatory field as shown in the DI API Help.

Gianluigi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Try B1WS. All the DI Server message handling is done automatically by .NET in this case ....