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.


#TechXchangePresenter
 View Only
  • 1.  Flatfile to Record in BC

    Posted Wed February 26, 2003 02:13 PM

    Hello,
    I have a flat file. I have defined the XML Template for reading the flat file. I intend to create all the segments as Recordlists. The segment definition has the ARRAY=“YES” also.

    But when the number of records for any segment is 1, then the output is a Record.

    could any one help. thanks in advance
    Bhavani Shankar


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


  • 2.  RE: Flatfile to Record in BC

    Posted Wed February 26, 2003 02:20 PM

    You can include the names of all the nodes that you want as recordLists in the arrays tab.
    More importantly you can search this forum and see more discussions on this.
    Good Luck!
    Thanks


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


  • 3.  RE: Flatfile to Record in BC

    Posted Fri September 19, 2003 04:35 PM

    Hi Vinod,

    I have a peculiar problem. We get Order data in XML format from the customers. At times Customers send in only one order with one order line. If I use documentToRecord, it translates XML and maps it to my Record Structure, but converts all recordLists (OrderLines, Orders) to records. What is the way out? Is it a bug? or Should I do something differently.


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


  • 4.  RE: Flatfile to Record in BC

    Posted Fri September 19, 2003 05:01 PM

    Hi Atul,

    You’ll need to specify your output record name in the recordName field of the documentToRecord service.

    Eric


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