I think required="yes" just means that there is some code (usually SQL) in
the component that will not work without the argument.
Usually cfif isDefined("arguments.myArgument")>
>From: [EMAIL PROTECTED]
>Reply-To: [email protected]
>To: "cfaussie" <[email protected]>
>Subject: [cfaussie] webservice confusion
>Date: Mon, 22 May 2006 22:19:29 -0000
>
>
>So I am looking at a webservice from a developer and then compared it
>to the webservice on goog.
>
> >From the docs for cfargument:
>
>Note: All arguments are required when invoked as a web service,
>irrespective of how they are defined.
>
>So this is saying that you must always use required="yes" meaning that
>anyone that consumes the service must pass in a blank parameter value.
>
>On fullasagoog the params arent all required:
>http://www.fullasagoog.com/webservice.cfm
>
>so for example they would be doing this:
><cfargument name="source" type="string" required="no" />
>
>Whats up with that? I dont understand why the docs say required, but
>goog has not required.
>
>Do I really have to have required=yes for every param? What happens if
>its no and the consumer doesnt pass in a blankvalue/key pair?
>
>Thanks
>
>
>>
_________________________________________________________________
Read, write and reply to Hotmail on your mobile. Find out more.
http://mobilecentral.ninemsn.com.au/mcmobileHotmail/home.aspx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---