There really isn't anyway to override the Axis faults (to my knowledge).
Once CF/Axis is processing services, it's pretty much out of your hands.
Even when you catch them in CF code, your thrown exception has been
altered/wrapped. The only way I know of would be to return your own SOAP
packets with the fault elements defined within, but then you would also need
to edit your WSDL by hand ahead of time as well. Might be more work than you
care for, but if the exact exceptions are important to you this would be the
only way I know of. I'd love to hear other options if others have found
them.

HTH,
Scott Keene
[EMAIL PROTECTED]
------------------------
CFOOP - Object Oriented ColdFusion
http://www.cfoop.com

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Sherwood
> Sent: Thursday, December 18, 2003 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev] CFTHROW with a Webservice
> 
> If you use CFTHROW within CFC that is invoked via a 
> webservice, the default error returned is an Application/Axis 
> fault. Is there any way to return just the native error 
> type/information thrown in the CFC without the Axis wrapper?
> 
> How have others worked around this?
> 
> Thanks,
> ----------------------------------
> Alex Sherwood
> PHS Collection Agency
> THE COLLECTORS
> T:   301.215.4200
> F:   301.664.6834
> W: www.phs-net.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]
> 

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