[EMAIL PROTECTED] wrote:
> 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?

The component may not require a particular argument as it may provide a
default. The webservice requires a value for all arguments -- its a
webservice thing.

To avoid confusion I would suggest that you nominate "required" for
arguments in your remote methods if they are only going to be seen as a
webservice.  Unfortunately (or fortunately perhaps) a CF component can
be called remotely through form/URL or through flash remoting in
addition to being called as a webservice.  But it's only as the
webservice that you must always pass all arguments.

Does that make any sense?

-- geoff
http://www.daemon.com.au/


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

Reply via email to