I have recently written my first, simple webservice and once I learned the importance of white space, ie have none; in any application.cfm file located in the same dirctory with the webservice CFC, all went well.

My question is what is the best pratice to handling errors in a webservice? Other then have none, of course! It seems to me, on first glance, to be a bit of a tricky subject? What information, if any, about an error do you provide to a consumer of the webservice. And if you do provide information, how do you do this, if you are specifing the return type to be something incompatable with returning useful error information?

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

"C code. C code run. Run code run. Please!"
- Cynthia Dunning

 

Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message.

Reply via email to