A Web service generated from a service flow project cannot
call itself, either directly or indirectly. In general, the service
flow project tools do not allow you to create a recursive invocation
of a flow, that is, a flow invoking itself, either directly or through
intermediate calls.
However, the service flow project tools currently do not detect
the following type of recursion:
- You generate a Web service (for example, WS01) from a service
flow project.
- The generated Web service (WS01) invokes some other Web service
(for example, WS02). (By the way, in the Enterprise Service Tools,
WS02 is termed an "outbound Web service", because it is external to
the Web service that invokes it.)
- The invoked Web service (WS02) in turn invokes the original Web
service (WS01).
In this situation: The flow editor does not detect the recursion
when you create it and does not display an error message. You can
successfully generate runtime code for the CICS® Service Flow Runtime and deploy the Web
service (WS01). When you run the Web service (WS01), the invocation
to the second Web service (WS02) is successful. However, the recursive
invocation (from WS02 back to WS01) fails.