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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Loop - input/output - want a one-to-many mapping

  • 1.  Loop - input/output - want a one-to-many mapping

    Posted 04/30/09 05:43 PM

    I am looping on a list with documents of type A.
    The output is a list of documents of type B.

    Theres a mapping step for each iteration to map an item of type A to an item of type B.

    However, what I want is for example when I come accross an element in the list A (whilst looping) I want to to have 2 or 3 elements of type B in the output list.

    If I do a simple mapping there is a one-to-one mapping. I want to be able to do a one-to-many mapping also.

    what would be the best way to approach this?

    many thanks.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Loop - input/output - want a one-to-many mapping

    Posted 05/01/09 12:50 AM

    My suggestion would be use appendToDocumentList public service.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General