I think that you have to allow the cfargument to be of type string or
type any, and then do additional checks to determine if it is numeric
or blank (ie null) within your code.

On 8/16/05, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> Sorry if this post gets doubled up...just not seeing the original post coming 
> through ;-)
> 
> OK...so if the "required" attribute is ignored in CFARGUMENTs in web 
> services, how are folks handling this situation:??
> 
> Method A has arg1 that is "technically" not required and is numeric.
> 
> If the "required" attribute is ignored, then Method A is expecting a numeric 
> value for arg1.....but if you want arg1 to be optional and someone passes a 
> blank the call will fail because  ablank is not numeric!!  I know I could 
> tell service consumers to pass a zero if they want to skip that 
> attribute...but that is a bit limp...
> 
> Am I missing something here or is this a really stupid setup? ;-)
> 
> TIA
> 
> Cheers
> 
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215319
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to