> 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?

If your clients are more technical, you could have the client provide a
'callback' web service when they invoke the original call.

So for example, if your web service method signature looked like:

updateEmployee(employee_id, first_name, last_name)

you could update it to:

updateEmployee(employee_id, first_name, last_name, callback_url)

It is now possible when you run your batch, to return an xml packet to the
callback url (you could include status, etc. in the packet).

If this solution is to technical for your clients, then Bryan's suggestion
of a getStatus(employeeId) which would allow your clients to poll the
application seems to be the best solution.

HTH,
Rich


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:307095
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to