6.1.  It's not listed as a fixed bug in the release notes.

-----Original Message-----
From: Nathan Dintenfass [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 12:17 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] CFC as a service doesn't allow optional arguments?


What version of CF are you using?

I think the issue of "optional" arguments in web services is fixed in 6.1
(because of the new Axis, I think), but was an issue in all previous
versions of CFMX.





> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Brad Howerter
> Sent: Monday, August 11, 2003 10:59 AM
> To: '[EMAIL PROTECTED]'
> Subject: [CFCDev] CFC as a service doesn't allow optional arguments?
>
>
> 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).

----------------------------------------------------------
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