Hi
I am wondering if it is possible for an Orbeon xForm to call a webservice which fronts an asynchronous process.
Basically I see two options:
1) Orbeon generates a callback URL which it gives to the webservice. This URL is invoked (maybe HTTP POST) with the webservice asynchronous processing results.
2) Orbeon provides no callback URL, but polls another webservice method which checks if the webservice's asynchronous process has completed and if so returns the results, otherwise polls again after a specified interval. This of course relied on the webservice providing some conversational ID which can be used for the polling.
If either of the above are available in Orbeon xForms, is there a way to send an update to the client when the results are available? E.g. AJAX push / Reverse AJAX like ICEFaces uses.
I found the following Wiki page, but I don't think this talks about calling a synchronous webservice which takes a long time to process, rather than the scenario I described.
http://wiki.orbeon.com/forms/doc/developer-guide/asynchronous-submissions
Kind regards,
Stian
| Free forum by Nabble | Edit this page |