use xmlStringToxmlNode, to convert the inbound xml to node, than use xmlNodeToDocument ( you need to provide the doc type associated with this document), to convert the node to document.
Using branch statement, traverse to the xpath ( ‘/doctype/mySap/…/Order’), and get the field you are looking for.
use addContentPart service, to add the value to tn document.
#webMethods#edi#Integration-Server-and-ESB