Rob,
My problem is a little different.
I am using “wm.b2b.edi.util:invoke” to call some services.
Some services return a document called MAP_OUTPUT while the others return a document list called MAP_OUTPUT.
So, depending on if the output is a Document or a Document List, I don’t need to loop over MAP_OUPTUT or I do.
Please let me know if you need some more info.
Shubhro
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services