All,
How does CF 7.02 handle errors in web services you publish?
I am adding error handling to log and notify me of anything that I
haven't already caught with cftry/catch. I put an onError function in
my application.cfc. When I test my error handling by calling the .cfc
as a component, it works great. The onError logs the error and sends me
an email.
When I test using a .Net app and call the .cfc as a web service,
something besides my onError seems to catch the error. It returns
"coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.UndefinedVariableException : Variable apple is
undefined.]" (I am trying to add 1 to apple (which is not defined) as
my test).
Whatever this mysterious handler is correctly identifies the error.
But, it is not calling my routines to log and email me.
Anyone have a clue how to catch errors in this scenario???
Thanks,
Mike
CONFIDENTIALITY NOTICE: The information contained in this e-mail and attached
document(s) may contain confidential information that is intended only for the
addressee(s). If you are not the intended recipient, you are hereby advised
that any disclosure, copying, distribution or the taking of any action in
reliance upon the information is prohibited. If you have received this e-mail
in error, please immediately notify the sender and delete it from your system.
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/