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

appendToDocumentList with outer/inner documentlists

  • 1.  appendToDocumentList with outer/inner documentlists

    Posted Wed November 05, 2003 06:39 PM

    Hi,

    I’m attempting to map a document to another document, both docs have parent and child document lists. (Orders and Line Items)

    Basically,
    I loop over the orders
    Map the order information to a temp record (clone of the receiving doc)
    appendToDocumentList (the temp to the receiving doc) -Drop temp
    –start inner loop for item detail
    –map item detail to cloned temp doc
    –appendToDocumentList (temp to receiving doc) - Drop Temp

    I am also dropping the toList/fromList/fromItem variables.

    Unfortunately, the items seem to just reference each other…repeating the same item detail even for each order. Orders information works fine.

    thanks in advance!


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