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

Using %25loop%25 tag in Service Output template

  • 1.  Using %25loop%25 tag in Service Output template

    Posted Thu March 27, 2003 09:40 PM

    How do you loop through a complex structures using the %loop% tag in service output templates.

    if you have the following example structure:
    record
    record
    record
    recordList
    record[0] <----- starting here
    string
    recordList
    record[0]
    string
    string
    record
    stringList
    string
    string
    string
    .
    .
    .
    etc …
    How can I loop through the record list get the all records and then loop through all the record’s sub elements to print out the values " %value%" in that structure. I have tried using the -struct option, and nesting several loops to try and properly iterate through the struct, but I am not having any luck. Has any had to deal with this before?
    –steve


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods