For routing xml file to TN:
pub.xml:xmlStringToXMLNode (set your xmldata string here)
pub.tn.doc.xml:routeXML (this service routes any XML,EDI document to TN) before routing to TN make sure particual TN profiles,documenttype,processing rule criteria … are exists and enabled.
For receiving/extracting XML document from TN:
Your receiving flow(processing rule action service) input should/must have (bizdoc input use wm.tn.rec:BizDocEnvelope) bizdoc will be in the pipeline
use Map step(bizdoc/Content(bytes))
bytesToString(This step extracts the xmldata to a String)
pub.xml:xmlStringToXMLNode (Parsing starts here)
pub.xml:XMLNodeToDocument (This will output IDATA object ie parses to IS Document where you can use this in the downstream steps for mapping process to target document etc…)
Also please see the TradingNetworksUserguide for more baisc info and processing side etc…
HTH,
RMG
#B2B-Integration#Integration-Server-and-ESB#webMethods