Send Flat file to TN :
1. invoke pub.file.getFile service to get the flatfile data from any location and load as “stream”
2. now your flatfile data will be the stream format.
3. Create “TN_parms” document in pipeline, inside that create a variable,
DoctypeName
SenderID
ReceiverID
$contentType
set document type name as your flat file TN document name and sender duns value, receiver duns value and content type as “application/xâ��wmflatfile”
3. invoke wm.tn.doc.ff.routeFlatFile (this is called gateway service) and map stream output to ffdata and map TN_params document to this service input.
4. and now run your service, it will route the flatfile document to TN and it will recogized by your doctype name, sender and receiver.
Hope this helps!
Thanks & Regards,
ArulchristhuRaj
#webMethods#B2B-Integration#Integration-Server-and-ESB