You should consider providing a getStatus function that returns the status of the job. The client needs to be aware that their request may be batched and they should poll your service to get the status.
You would not want the client to keep the request open until the batch completes so therefore pushing a response back is not possible. You can, however, provide the status function and invoke a method that does some final items on batch completion, such as sending the user an email letting them know that the batch is complete. Bryan -----Original Message----- From: Ryan Carlson [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2008 10:54 AM To: CF-Talk Subject: Asynchronous Web Service Response I am looking for some assistance with a web service that I am working on. I have hit a dead end and I am hoping for some advice. I have created a web service CFC to open some functionality within our application. The web service allows our clients to update customer account information located in our application. This piece is working great. One step in the CFC involves adding a record to a table which will be processed later during a scheduled batch process. Is there anyway to send a final response back to the client after this record has been processed via the batch? Any help appreciated, Ryan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307092 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

