Whenever I code a CFC as a service, I am constrained to passing in all the
arguments, even the ones that don't have required="true".  Here's my code
for the OAS component:

<cfcomponent>
        <cffunction name="getAaa" access="remote" returnType="string">
                <cfargument name="aaa" default="abc">
                <cfreturn arguments.aaa>
        </cffunction>
</cfcomponent>

And here's the code for the test page:

<cfinvoke webservice="http://webftc18/OAS.cfc?wsdl"; method="getAAA"
returnVariable="foo">

<cfoutput>#foo#</cfoutput>


I get this error:  Web service operation "getAAA" with parameters {} could
not be found. 

Is this a bug?

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to