Hi everybody
I’m trying to make a soap object and for the body (pub.soap.utils:addBodyEntry) I’m currently using a static XML for testing purposes.
This is my XML-string input:
<UpdateListItems>
<listName>{D3205B25-5EC2-42A7-9F3B-2299A002E213}<listName>
<updates>
<Batch OnError="Continue" ListVersion="1">
<Method ID="1" Cmd="New">
<Field Name="Title">SAG BPMS DEV</Field>
<Field Name="Description">Book</Field>
<Field Name="Email">test@test.be</Field>
<Field Name="Storage_x0020_Location">Locker 1</Field>
<Field Name="Position_x0020_in_x0020_Storage">Shelf 1</Field>
<Field Name="Course_x0020_Date">2014-03-22T00:00:00+0:00</Field>
<Field Name="Person">-1;#Test Person</Field>
</Method>
</Batch>
</updates>
</UpdateListItems>
When I change the produced node back to a string (xmlNodeToDocument → xmlDocumentToString), following XML is produced.
<?xml version="1.0"?>
<UPDATELISTITEMS></UPDATELISTITEMS>
<LISTNAME></LISTNAME>
<UPDATES></UPDATES>
<BATCH ONERROR="Continue" LISTVERSION="1"/>
<METHOD ID="1" CMD="New"/>
<FIELD NAME="Title"/>
<FIELD NAME="Description"/>
<FIELD NAME="Email"/>
<FIELD NAME="Storage_x0020_Location"/>
<FIELD NAME="Position_x0020_in_x0020_Storage"/>
<FIELD NAME="Course_x0020_Date"/>
<FIELD NAME="Person"/>
Does anyone know why this happens and how I can solve this?
I hope you have enough information with this, if not, please don’t hesitate to ask because I know my question may be stupid but I’m just learning to use the software through an internship.
With kind regards
Kevin
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services