I use a document for the recursive invoke and set the scope of the invoke step. Just be careful to clean up the scope document and you’ll be right.
e.g.
MAP (setup the document for invoke and map the inputs in)
INVOKE (same service, with scope set to the document)
MAP (get the result and cleanup the scope doc)
Just make sure your service is only returning what it should based on the input/output signature (but that’s standard practice)
regards,
Nath
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB