Adding Logic to the Service that Forms the EDI Document that Routes through Trading Networks
To route a document through Trading Networks, in the service that you created to form the EDI document, invoke the wm.tn.route:routeBizdoc service.
The following code sample shows a portion of the service to form EDI documents that is described in
Creating the Service to Form the EDI
Document, with additional flow operations added to invoke:
The
wm.b2b.editn:trackEDIdocs service to do FA reconciliation.
The
wm.tn.route:routeBizdoc service to send the BizDocEnvelope to the
Trading Networks processing rules.