B2B Integration : Trading Networks Administrator's Guide : Getting Started : Sending Documents to Trading Networks : Sending a Document Back to Your Trading Networks
Sending a Document Back to Your Trading Networks
You can have your Trading Networks process a document and then send the document back to itself for additional processing. For example, a partner sends a document to your Trading Networks in cXML format. The receiving partner needs the document in CBL format. Your Trading Networks performs processing that converts the cXML document to CBL format. Your Trading Networks then sends the CBL document back to itself so the CBL document’s processing rule can deliver the document to the receiving partner.
To return an XML document to the same Trading Networks, use the wm.tn.doc.xml:routeXml service rather than the wm.tn:receive service. For a flat file document, use the wm.tn.doc.ff:routeFlatFile service rather than the document gateway service.
Note:  
Trading Networks does not check the identity of the sender in this case against the IS user account that invokes the wm.tn.doc.xml:routeXml or wm.tn.doc.ff:routeFlatFile service. That is, Trading Networks does not verify that the user invoking these services has Trading Networks partner authority or that the sender identified in the document is associated with the partner that sent the document.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback