You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by JD Evora <jd...@saadian.com> on 2003/06/26 14:25:12 UTC

Custom FaultCodes

Hi,

We have an existing service running on Apache SOAP.

In that service, we use the SOAP FaultCode for send the error code to 
the client, with values like
Client.InvalidSession   or Server.ServiceDown    using  new 
SOAPException(FaultCode,Message)

We wish to change as little as possible our client application, and that 
is  a mayor point.

The problem is that as far as I can see, Axis fills automatically the 
FaultCode value, is there a way to send back a custom FaultCode value?  

Thank you very much
JD Evora