Try building this service.
Svc Name: tryLoop
Svc input: inList (stringList)
Svc output: outList (stringList)
first statement: LOOP
LOOP property (inArray): /inList
LOOP property (outArray): /outList
second statement: MAP (indented under the LOOP)
connect PI variable (inList) to PO variable (outList) [note, within the LOOP both varables appear as type string, not stringList]
Run this service
Enter some values for inList
Observe that outList contains an entry for each entry in inList.
tryLoop.zip (3.97 KB)
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods