I'm trying ot turn a CFC into a web service and I'm getting all sorts of
silliness. I have confirmed that the CFC is intact and funtioning
properly if I just call it as component. Here is the code in the header
of the function:
 
            <cfinvoke
             method="execRulesetSimple"
             returnvariable="result"
             webservice="http://localhost:87/c/cfc/ruleset.cfc?wsdl";>
                                                <cfinvokeargument
name="rulesetID" value="#form.uid_ruleset#">
                                                <cfinvokeargument
name="operator" value="#form.operator#">
                                                <cfinvokeargument
name="fields" value="#form#">
            </cfinvoke>
 
Here is the relevant function:
 
<cffunction name="execRulesetSimple"
             access="remote"
             returntype="string" >
            <cfargument name="RulesetID"
             type="string"
             required="yes"  >
            <cfargument name="fields"
             type="struct"
             required="yes" >
            <cfargument name="operator"
             type="string"
             required="yes"  default="AND">
            
....function code .....
 
<CFRETURN result>
</cffunciton>
 
And here's the error I get:
 
Web service operation "execRulesetSimple" with parameters
{fields={{STR_COUNTY=broward, OPERATOR=or, STR_ZIP=,
UID_RULESET=DC45E4C5-874E-40F7-5D3D190792CE3C15,
FIELDNAMES=STR_COUNTY,STR_ZIP,STR_AGENCY,UID_RULESET,OPERATOR,
STR_AGENCY=}},operator={or},rulesetID={DC45E4C5-874E-40F7-5D3D190792CE3C
15},} could not be found.
 
Note, I'm passing the form structure into the 'fields' argument in the
method (that's why you see all that silliness above.). I guess my first
question is: why is it saying "could not be found" above?
 
Any help would be great.

Thanks,
Rich
 
                       

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to