How to provide an Asynchronous Response to HTTP client

Document created by rich_patterson Employee on Jul 15, 2014
Version 1Show Document
  • View in full screen mode
In this case, we will create a proxy listener process, which will do the data validation, and then call the "main" service application asynchronously.

In the first / proxy listener, after the server start shape, create a branch.  On the first branch, do your error checking or data validation, and return the appropriate documents with a Return Documents shape.

Then, on the second branch, call a HTTP Client connector, to the "main" or second listener process.  The second listener could be on the same, or a different atom ( be careful not to duplicate the Root Node of the Request profile on the same Atom ).  This second listener will NOT return documents.

This allows the proxy listener to return to the client, while the main process executes independently.

Attachments

    Outcomes