On Jun 4, 2004, at 12:27 PM, Bryan F. Hogan wrote:
Now, this function returns a 'useful' numeric result for which there are no out-of-band values. You cannot overlay an error code return on this function.
You could in this example.

No you can't - every number is a valid return. There is no way to return a distinct number that can be identified as an error code!


That's because it's an example. Please don't assume that I'm an ass.

I'm not assuming that, just pointing out that none of your comments so far had addressed missing arguments so I wasn't sure whether you'd considered that...


Forget the CF people, the hint is fine for them. What about the Flash people?

Then they are a 'normal' web service consumer and have exactly the same problems with other web services.


Sounds retarded to me. This takes it back to my original question. Can I catch type errors. The answer is no, and that sucks. Because if I could catch them, everything would be fine.

I'm pointing out that this is a *GENERAL* problem with publishing web services and not CF-specific. In order to do what you want IN ANY LANGUAGE you need the WSDL to say one thing but the actual code to do something different, i.e., the actual code must accept *any* arguments and do all of the validation itself despite what the WSDL claims.


Sean A Corfield -- http://www.corfield.org/blog/

"There are no solutions, only trade-offs."
-- Thomas Sowell

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to