Hello Joe;

Run the web service request in a background thread and then check the state of it using additional web services methods. Once it has completed, add a final web service to obtain the results. Of course polling is really inefficient so you may like to look at using a queue- and-topic system to control the background process as well.

cheers.

What's a good way to handle a WO request, from a third party API call (web service), that generates a long response? For example, a web service call comes into a WO app whose response takes 60 seconds (i.e. a large database fetch and data aggregation). Normally, a WO long response page could handle this in the web browser, but, this doesn't really work with a web service and if the response time is longer than the WO adaptor timeout the request will fail.

___
Andrew Lindesay
www.lindesay.co.nz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to