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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Having issues w/ documentlist while looping

  • 1.  Having issues w/ documentlist while looping

    Posted Sun August 12, 2007 12:06 PM
    Having issues w/ documentlist while looping
    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 2.  RE: Having issues w/ documentlist while looping

    Posted Mon August 13, 2007 11:29 AM

    Hi,

    can you provide your document structures (input/output) how they look completely?

    Did you try setting the InputArray/OutputArray on the LOOP-Step to the listTypes you are using?

    These settings iterate over the list presenting only a document instance instead of a DocumentList.

    On these instances you can call your service and maybe drop some intermediate variables before going to the next loop iterations. Maybe you need an additional MAP-step for this.

    Deriving from your post your Documents are build like this:

    item (list), put this one the InputArray of the LOOP


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


  • 3.  RE: Having issues w/ documentlist while looping

    Posted Mon August 13, 2007 08:15 PM

    Hi

    Note that when working with Lists, when you map from one to another you’re effectively creating a reference to the List, rather than a copy.

    Depending on how you’re doing your mappings, I wonder if this is the problem?


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


  • 4.  RE: Having issues w/ documentlist while looping

    Posted Wed August 15, 2007 07:45 AM