I know that I can set the Response Message in the onFault() method of the
handler, but I don't wanna go through all the low level SOAP details to do
so.

My service is a method that returns a String (XML) and receives a String
(XML) as a parameter, so in every situation I must reply with an XML
document indicating the error, not the one generated when a fault ocurrs...

Any Suggestions will be apreciatted.

Jose M Selman


----- Original Message ----- 
From: "Jose Miguel Selman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 09, 2003 4:30 PM
Subject: How to make a handler generate a response


> Hi:
>     I have a RPC style service which uses a handler chain to do some of
the
> validations, etc. If anything goes wrong while executing any of the
handlers
> I rather generate a custom error (XML Document) instead of throwing an
Axis
> Fault. How can I do that?
>
> Thanks,
>
> Jose M Selman
>
>

Reply via email to