Principle of web procedures
WorkflowGen calls the web procedure and waits for the response. Since WorkflowGen is still connected, if the response takes too much time to reply a time out will occur.
-
WorkflowGen calls the web procedure.
-
The web procedure replies to WorkflowGen.
-
WorkflowGen disconnects.
Principle of asynchronous web procedures
WorkflowGen calls the asynchronous web procedure but doesn’t wait for the response. WorkflowGen is disconnected. Then the asynchronous web procedure will have to re-call WorkflowGen after its processing has completed.
-
WorkflowGen calls the asynchronous web procedure.
-
WorkflowGen disconnects.
-
The asynchronous web procedure calls WorkflowGen to complete the action.
-
WorkflowGen replies to the asynchronous web procedure to confirm the completion.
-
The asynchronous web procedure disconnects.