Invoke long-running OIC integration, wait for a response, from web page
SummaryI need to invoke an OIC integration via REST, and I need it to return a response but the integration may run a while
This is more of a design pattern question when using an external webpage to call an OIC integration and expecting a return.
The use case is:
A Customer Portal webpage will call out to an OIC integration using REST (could be ajax, could use a library like jQuery). It will pass along a small JSON payload.
The OIC integration will receive the payload which has a record ID in it. The integration will do a whole bunch of (potentially long running) stuff, resulting an another, different ID being generated from a database. This second ID needs to get sent back to the calling web page who will use it to generate a URL with parameters.