From: "Deanna Schneider"

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

Which is what I'm trying to find a way around as that approach sucks IMHO 
;-)

The problem is the consumer of the web service may pass in a string instead 
of a proper numeric value....the method returns an empty recordset because 
the query fails to find any records with a numeric ID of "foo" and the 
consumer has no idea why.  To make it even worse the consumer may be reading 
the auto-generated documentation for that web service and see that a 
"string" is the datatype when it's really supposed to be numeric.

That's just bad ;-)

Can anybody tell me why this is how web services behave? or have a solution 
to the issue above?

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:215351
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to