xml input does not unwrap to IS document in rest service

So far i have used json as input for my rest services and it was fine.now i tried to use xml as input.it does not unwrap to to IS document type. the same xml if i convert to json format it is working.am i missing something here for xml input?

Hi Vignesh,

Keep the node (object) in the service input in your post service (REST).

invoke pub.xml:xmlNodeToDocument sevice
invoke pub.xml:docmentToXMLString service.

we are using the above, its working fine to retrieve XML payload via REST post service.

1 Like

See attached package.
RestUsingXML.zip (7.21 KB)

http://techcommunity.softwareag.com/pwiki/-/wiki/Main/Rest%20Using%20XML%20-%20Code%20sample%20to%20receive%20XML%20as%20input%20in%20the%20REST%20service