B2B Integration 10.2 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc.ff:routeFlatFile
 
wm.tn.doc.ff:routeFlatFile
Recognizes a flat file document and submits it for processing. This service does not validate the identity of the sender to the currently logged in user. Only invoke this service from within processing rules or services; do not expose directly to trading partners. Trading partners should use the document gateway service.
Input Parameters
ffdata
Object The flat file document. For Java developers, this is an instance of java.io.InputStream.
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.
Output Parameters
bizdoc
Document The flat file document formatted as an IS document (IData object). For the structure of bizdoc, see wm.tn.rec:BizDocEnvelope.
sender
Document The profile summary for the sender of the flat file document. For the structure of sender, see wm.tn.rec:ProfileSummary.
receiver
Document The profile summary for the receiver of the flat file 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
*This service is protected by TNAdministrators ACL.
*To submit a document externally, use the wm.tn:receive service.
*If 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; that is, 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.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.