<faultstring>[org.apache.axis.AxisFault : ; nested exception is: 
        coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.CustomException : you are too young][]; nested
exception is:
        coldfusion.xml.rpc.CFCInvocationException: [org.apache.axis.AxisFault
: ; nested exception is:
        coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.CustomException : you are too
young][]</faultstring>

I'd rather be able to return something more user friendly as this is
for a webservice which will be consumed by numerous third parties.
e.g.

<faultstring>Invalid age</faultstring>

Is this possible?

Thanks

On Fri, 15 Oct 2004 13:02:57 -0400, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Just wondered if there was a graceful way of handling errors
> > in webservices. In the event of an error within the web
> > service (which can be trapped) a custom exception can be
> > returned to the client but the soap fault still contains
> > additional error information which I would like to suppress.
> 
> Can you be more specific about the information you'd like to suppress? I
> suspect that most people are happy to return the appropriate SOAP fault and
> leave it at that. It's up to the SOAP client to trap returned SOAP faults.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
> 
> ----------------------------------------------------------
> 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]
> 


-- 
KOla
BLOG:http://coolskool.blog-city.com/
----------------------------------------------------------
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