Trading Networks 10.15 | Building Services with Trading Networks | Core Services | Summary of Elements in this Folder | wm.tn:submit
 
wm.tn:submit
Submits a document that has already been recognized to Trading Networks for processing.
This service ensures that the sender of the document matches the current user. If you are sending documents from within processing rules or services and this identity check may fail, see wm.tn.route:routeBizdoc.
Input Parameters
bizdoc
Object The recognized document that you want Trading Networks to process. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope.
Output Parameters
bizdoc
Object The document formatted as an IS document type (IData object). 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. See information about document gateway services in webMethods Trading Networks Administrator’s Guide for details on providing recognition hints.
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.
*This service returns after Trading Networks completes processing for the document after Trading Networks executes the pre-processing and processing actions for the document. If the processing actions instruct Trading Networks to execute a service asynchronously, the asynchronously invoked service may not be complete.