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.  mapping prob between doc list

    Posted Wed October 18, 2006 06:14 PM

    Hi Friends,

    I am getting a problem while mapping is being done between document list to document list

    In the loop while mapping from PO1(edi doc) to LIN(external format)
    I have taken Input array as PO1 and output array as LIN
    and the data is being mapped from PO1 to LIN but not in the order.
    In the results tab i am able to see all the mapped data in an unformated order, by while while converting the LIN in to string i am missing some data.

    No problem with Flat file structure of the LIN.

    Can any one suggest where is the problem
    Thanks in advance.

    Naveen


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 2.  RE: mapping prob between doc list

    Posted Wed October 18, 2006 09:41 PM

    I assume you are calling pub.flatFile:convertToString. How have you set the parameter sortInput? If you have it set to ‘true’ then, according to the docs, multiple records at the same level with the same name will appear in a random order.

    Tim


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: mapping prob between doc list

    Posted Wed October 18, 2006 09:50 PM

    hi Naveen,

    Does your LIN doc list exist in the pipeline before the loop. If not it is better to use appendToDocumentList rather than using an in array and out array.

    Rgds,
    Pradeep


    #Integration-Server-and-ESB
    #edi
    #webMethods


  • 4.  RE: mapping prob between doc list

    Posted Sun October 22, 2006 02:43 AM

    Hi Guys,

    Thanks for u reply,

    Tim: Even before using the converttoString(FF) this problem is occuring,some how i am able to solve…taking lot of maps.
    when i am mapping 4 to 5 mapping in one map i am getting this problem so i have taken 1 or 2 mapping in 1 map…but i don’t know whether it is right process or not…but it is working…that’s it

    Pradeep: i will try the appendtoDocumentList and see…thanks for that…

    Regards
    Naveen


    #webMethods
    #Integration-Server-and-ESB
    #edi