Skip to Content
0
Former Member
Apr 08, 2014 at 11:48 AM

How to pass the post xml as a body to a restservice in HWC app.

16 Views

Is it possible to pass an xml structure as shown below as the body of a REST service in an HWC application.

<Material>

<Field key="MATCODE" value="100-100" />

<Field key="QUANTITY" value="1238" />

<Field key="PLANT" value="7500" />

<Field key="DDATE" value="20140210" />

</Material>

<Material>

<Field key="MATCODE" value="000000000000001108" />

<Field key="QUANTITY" value="1238" />

<Field key="PLANT" value="7500" />

<Field key="DDATE" value="20140210" />

</Material>

<Material>

<Field key="MATCODE" value="000000000000001109" />

<Field key="QUANTITY" value="1238" /> <Field key="PLANT" value="7500" />

<Field key="DDATE" value="20140210" />

</Material>