I have a cfc that processes form data, if the user chose "Test" it will just
hit the local cfc and do the data add/edit. But if they chose "Live" I want
to call the same cfc on a remote server as a ws and post the form data
there.

So I'm trying to pass an argumentcollection to the webservice like this:
<cfinvoke method="postLabView"
                                         returnvariable="postLabView"
                                         argumentcollection="#LabView#"
                                         webservice="
http://localhost/trunk/lts/com/appCustAdmin.cfc?wsdl";>
I've tried with and without hashes on the "LabView" (name of the form that
was submitted).
 Without hashes it says "You have attempted to dereference a scalar variable
of type class java.lang.String as a structure with members."
But with hashes blows up bad "Web service operation "postLabView" with
parameters
{APPCUST_1257={AccessionInfoShowOrderCode},DSPDEFAULTVALUE_68={},DEFAULTVALUE_1193={0},OVERRIDEVALUE_1286={..."
I have a method in the ws/cfc of "postLabView" with access="remote" (and I
can hit other methods here that return data). I don't have to have an
argument for each formfield from the form do I? There are like 300
formfields. Is there a limit to the size of form/collection you can pass to
a webservice?

Greg


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269308
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