IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  How to send a Flatfile to TN

    Posted Thu June 07, 2007 06:09 AM

    Hi Good Morning All,

                          I am trying to work with Trading Networks. Now my problem is that how to send a Flatfile to TN. Iam not able to write the structure and create a dictonary.
    

    My scenario is :
    The document Structure is : Information [Root Node]
    Senderid
    Receiverid
    Student [Sub Root Node]
    Students
    name [Fields]
    Address [Fields]

    This is my document structure that i want to create in dictonary but i am unable to create root node and sub root node.
    I am not able to create the structure of Flatfile where the sender id and receiver id should be checked once.
    This scenario should be done for multiple records.
    please help me in this scenario.

    with regards,
    sitaram.


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 2.  RE: How to send a Flatfile to TN

    Posted Thu June 07, 2007 07:56 AM

    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


  • 3.  RE: How to send a Flatfile to TN

    Posted Thu June 07, 2007 08:01 AM

    more details abt how to send flatfile to TN - refer attachment…
    SendFlatFile.zip (5.45 KB)


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 4.  RE: How to send a Flatfile to TN

    Posted Mon June 11, 2007 06:23 AM

    hi arulchristhuraj thanks for ur response i got it and once again thanks for ur reply


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods