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.  Parsing data for delfor 96A

    Posted Wed September 14, 2005 04:40 AM

    Hi All,
    i am working on UNEDIFACT Delfor 96A standard on webMethods v4.6 with service patch 2 installed. I struck in a problem where segements are uncorrectly collecting under the UNH segment level.

    I am using the following services to parse the data:
    getTemplate
    recordToDocument
    convertToValues

    The above program works fine when the sequence of segments in the data file is

    UNH
    .....
    .....
    UNS
    NAD
    LOC <--
    LIN <--
    RFF
    QTY
    .....
    we are able to process the data correctly.
    
    But when the sequence changes to:
    UNH
    ......
    ......
    UNS
    NAD
    LIN <--
    LOC <--(LIN LOC changed their place)
    RFF
    QTY
    .....
    

    all the segments after UNS appear uncorrectly at the same level under UNH. All the RFF datas are collected under one RFF segment, all the QTY datas are collected under the same one QTY segment.

    WRONG OUTPUT:

    -UNH
    |___-BGM
    |___-RFF
    |   |___-DTM
    |___-UNS
    |___-NAD
    |   |___-CTA
    -LIN
    |
    -LOC
    |
    -RFF
    |
    -QTY
    |___-QTY[0]
    |___-QTY[1]
    |___-QTY[2]
    ...............
    -SCC
    |___-SCC[0]
    |___-SCC[1]
    ..............
    -DTM
    |___-DTM[0]
    |___-DTM[1]
    .............
    

    while it should show like this

    RIGHT OUPUT:

    ......................
    ......................
    |___-LIN
    |___-LOC
    |___-QTY[0]
    |   |___-SCC
    |       |___-DTM
    |___-QTY[1]
    |___-SCC
    |___-DTM
    .........................
    

    And to add to worse the program is also not showing any error.

    Can anyone can tell where the problem goes.


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


  • 2.  RE: Parsing data for delfor 96A

    Posted Thu September 15, 2005 10:55 AM

    Hi Sunil,

    How is your Delfor Template generated?

    Have you installed any delfor patches?


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


  • 3.  RE: Parsing data for delfor 96A

    Posted Thu September 15, 2005 10:59 AM

    There was a known problem with original DELFOR 96A template provided with webMethods 4.6. Ask support to provide you SEF file for Delfor 96A and generate template from there. Or you can use the .SEF from webMethods 6.1 for this message structure.


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