Hi there,

how can stop the process of invocation with the help of a handler?
I deployed a handler in the request-flow of the server that should check,
whether a database-connection is established. If established, nothing
special should happen, but the original request is performed. If no
connection is available inside the session the processing has to stop. The
only way I found out to stop is throwing an Exception(AxisFault).
That would normally be okay, but I didnt manage to catch that Exception
properly. The program is not terminated, but the stacktrace is printed. The
try-catch(AxisFault)-statement I put around the call.invoke()-statement. I
think that is supposed to be the right place to do.

What are my alternatives to do what I want to do? Define something like a
try-catch inside the wsdd? Is there a stop-process-method I can call inside
the invoke-method of my Handler? Or do I have to catch the Axis-Fault at
another place in my client-code?

help is, as always, appreciated...

Greetings from Hamburg/Germany

Sebastian Beyer

Reply via email to