On Wed, 2003-11-19 at 07:53, Jorge Lorenzo wrote:
> Hi Pedro,
> I know that everything is easier with AxisFault, but I have to construct
> some JAX-RPC handlers (instead of Axis handler) that need to work in every
> JAX-RPC SOAP engine.
> Axis is one of this, but there are some points where Axis doesn't fulfil the
> JAX-RPC standard. The SOAPFaultException is in the JAX-RPC standard but it
> doesn't work in Axis.
> Regards,
> Jorge
> 

I'm not aware about the reasons why the AxisFault do not extend the
javax.xml.rpc.soap.SOAPFaultException but I have sure there should exist
some. However, the Axis implementation should contemplate the
SOAPFaultException since it's the JAX-RPC standard as you said.


> You should use AxisFaults instead the SOAPFaultExceptions because Axis
> is intended to process onFault() methods of all handlers already
> processed in the chain in case of fault. And this would only happen if
> an AxisFault was thrown, and not a SOAPFaultException.
> 
> Unless you don't need the handlers onFault() methods behavior, of
> course.
-- 
-PS

Reply via email to