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
Expand all | Collapse all

Processing Flat Files Using EDI for TN

  • 1.  Processing Flat Files Using EDI for TN

    Posted Tue July 23, 2002 09:42 AM

    Does anyone have any experience in this area ? I know that a Java service can be written to parse structured data files, and incorporate the file into a record. However, I am not a Java programmer and would like to find a method within the system.

    My goal is to FTP the flat files to the webMethods server, have the server parse the files and using Trading Networks, distribute the documents based upon content of the file.

    Any suggestions would be greatly appreciated.

    Thank you.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 2.  RE: Processing Flat Files Using EDI for TN

    Posted Thu July 25, 2002 04:56 PM

    You can handle this scenario by following the sequence:

    1. Create XML template that describes your flat file record structure.
    2. Use the stringToDocument service to convert the XML structure into a Document.
    3. Use the documenttoRecord to convert document object to idata object.
    4. Use the wm.b2b.edi:convertToValues to format the idata object in proper flat file format.
    5. Now that you have your file in a record structure you can do all the manipulations to reach the final format.

    You can also find the related information in the EDIAdapter user guide.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods