Hi, Christian!

Yo're on the right track. But only the onFault handlers in the request
flow are called. I don't know why exactly but that's how it works. So
you need to configure your exception handler in the global request flow
and implement the onFault method.

Bye,
Guenter
 

> -----Original Message-----
> From: Christian Schmitz 
> [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 29, 2005 2:39 PM
> To: [email protected]
> Subject: How to make a global Exception-Handling?
> 
> Hello,
> 
> I have a service with some methods and I want to have a central point 
> toirealize the exception handling. Something like a global try-catch 
> block. Is it possible?
> 
> Are there any Best Practices to realize exception-handling 
> with axis web 
> services?
> 
> I tried to write a handler which should transform all thrown 
> exceptions 
> in my service methods to an exception defined in my wsdl. My 
> service is 
> configured to use this handler in the responseFlow, but neither the 
> "invoke"-method nor the "onFault"-method is called.
> 
> Regards,
> Christian
> 
> 
> 

Reply via email to