webMethods

webMethods

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.  Developer 46 Positional Flat File

    Posted Tue April 06, 2004 10:32 PM

    Hello,

    I’m fairly new to webMethods.
    I’m trying to read a positional flat file with 3 types of records in, and map it to an XML file.
    I don’t have the WmEDI, just the basics that came with Integration Server 4.6 and Developer( WmPublic, WmDB,WmSamples).
    Is there a way to define a schema/template for the positional flat file, or just the painful way of using java services (getfile/bytesToString/tokenize) to get the file into a string list and write a java service to parse each line based on the record identifier?

    Thanks
    Ana


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Developer 46 Positional Flat File

    Posted Thu April 08, 2004 02:07 AM

    Hi Ana - I don’t think wM provides many text parsing utilities outside the WmEDI adapter. You could use Java and Flow to do what you want though. It may also be possible to do the entire thing in flow - using the getFile service to read the file, then pub.string:tokenize, etc.

    If you want to write (not read) an EDI document, it is easy doing that with the pub.report or pub.string:messageBuilder services.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Developer 46 Positional Flat File

    Posted Thu April 08, 2004 01:43 PM


  • 4.  RE: Developer 46 Positional Flat File

    Posted Fri June 04, 2004 10:41 AM

    Hello, I am new in the wM B2B Server. Does it possible to parse the expression stored in the text field. I have the configuration service where is created the table which contains the text fields and I would like to store there the regular expressions. Does it possible to parse these text fields ?


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services