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

Problem in wmEDI (convertToValues)

  • 1.  Problem in wmEDI (convertToValues)

    Posted Tue November 25, 2003 06:08 PM

    Hi to all,
    we have a problem with wmEDI 4.6 package patched with all patch set since to
    11.
    We are working with BC 4.7 Build Number 999, JVM 1.4.2.

    We have process in input a flat file using a XML template for describe the
    structure. The relevant section for XML template is following

    01 10 10

    We are running the sample flow parseFlatFile in the pack wmEDIsamples folder Tutorial/flatFile.
    If in the input flat file exist two instances of record type “10”, the flow
    generates correctly a record list for the SEGMENT ID=“10”.
    If in the input flat exists only one instance of record type “10”, the flow
    genetates wrongly a single record of the SEGMENT ID=“10” and not a record
    list even if the attribute ARRAY=“yes” is specified.

    Following you are the two input flat files.

    correct case :
    01
    10
    10

    wrong case :
    01
    10

    I saw that the problem is know. Some one has a solution?

    Thanks too all and ciao.
    Nicola & Grazia


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Problem in wmEDI (convertToValues)

    Posted Wed November 26, 2003 07:59 AM

    Just add a comma right after 10

    01 10, <-- like this

    Array=“yes” will only work on the top level like “01” you have.

    Regards,

    Suli


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Problem in wmEDI (convertToValues)

    Posted Fri November 28, 2003 03:58 AM

    Great! Suli, a simple comma made the magic.
    What is the trick?


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB