>
> While the below works, what a freaking waste of resources - especially
> considering that the webservice is on the other side of the planet from
> the form that's submitting to it.
>
> What's the best way to handle something like this?


Is it your webservice? If so, create a method that accepts a
recordset as either a JSON or XML string (JSON will be more compact). I
think there is a good JSON udf on cflib or something on riaforge if you're
not familiar with it. A summary of the process:

Client gets query of data,
Client encodes it as JSON string
Client calls webservice once, sending the JSON string
Webservice 'decodes' the JSON into a ColdFusion query / array / whatever
Webservice deals with the data

HTH, apologies if the breakdown was stating the obvious ;)

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk


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

Reply via email to