Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Core Services | Summary of Elements in this Folder | wm.tn:reroute
 
wm.tn:reroute
Locates a document that you specify in the Trading Networks database and processes it again. To process the document again, Trading Networks looks up the appropriate processing rule and performs the processing actions defined in the processing rule.
Input Parameters
internalId
String The internal document ID of the document to reprocess. This is a unique ID that Trading Networks assigns to the document.
Output Parameters
bizdoc
Document The document that was processed again. For the structure of bizdoc, see wm.tn.rec:BizDocEnvelope.
sender
Document The profile summary for the sender of the document. For the structure of sender, see wm.tn.rec:ProfileSummary.
receiver
Document The profile summary for the receiver of the document. For the structure of receiver, see wm.tn.rec:ProfileSummary.
TN_parms
Document (optional) An IS document (IData object) that holds hints that Trading Networks uses when performing document recognition for a flat file document. For information about document gateway services hints, see webMethods Trading Networks Administrator’s Guide.
Usage Notes
*If you are invoking this service from a Java program, in addition to returning bizdoc, sender, and receiver as IS documents (IData objects), the service returns bizdoc as an instance of com.wm.app.tn.doc.BizDocEnvelope and the returned sender and receiver as instances of com.wm.app.tn.profile.ProfileSummary.
*Because Trading Networks has already processed the document, it does not perform the preprocessing actions again. That is, even if instructed to do so by the TN document type and/or processing rule, Trading Networks does not verify the digital signature of the document, validate the structure of a document, verify if Trading Networks has received the document, or save the document to the database.