flatfile send to tn

hi all,

i am new to webmethods i dont know how to send flatfile to tn, i read all pdf but i did’t understood can any body help me regarding this, if any body
having ppt or packages pls post me(documentgateway service)

The WmTNSamples package (available from Advantage) has a gateway service example.

neethu,

Here are the steps to follow:

pub.file:getFile (setloadA=stream)
Map TN_PARAMS—
wm.tn.doc.ff:routeFlatFile (map ffdata stream object,TN_PARAMS)–gateway service routes FF to TN

OR

pub.flatfile:convertToString (map ffValues)
pub.string:stringtobytes
pub.io:bytetoStream
wm.tn.doc.ff:routeFlatFile (map ffdata stream object,TN_PARAMS)–gateway service routes to TN

For map TN_PARAMS use setValue in the map step:(case sensitive)

TN_PARAMS/
DoctypeName
SenderID
ReceiverID

Step thru your flow for testing.

HTH,
RMG