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?
<cfloop list="#request.idLIST#" index="idx">
<cfinvoke webservice="#request.cfcLOCATION#"
method="addAAIPART" >
<cfinvokeargument name="WSid"
value="#req.maxID#" />
<cfinvokeargument name="WSpart_class"
value="#evaluate('form.thisclass_#idx#')#" />
<cfinvokeargument name="WSpart_name"
value="#evaluate('form.part_name_#idx#')#" />
<cfinvokeargument name="WSpart_dob"
value="#evaluate('form.part_dob_#idx#')#" />
<cfinvokeargument name="WSpart_med"
value="#evaluate('form.part_med_#idx#')#" />
</cfinvoke>
</cfloop>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:303703
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4