axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Réf. : Re: question about handlers
Date Thu, 05 Feb 2004 09:08:29 GMT

The wssd for the service looks like this :

 <service name="Myappli1" provider="java:RPC">
            <handler type="soapmonitor"/>
            <handler type="java:filtres.handler1"/>
            <handler type="java:filtres.handler1"/>
            <handler type="soapmonitor"/>
      <parameter name="allowedMethods" value="*"/>
      <parameter name="className" value="appli1.Myappli1"/>

and here is the handler :

(See attached file:

this handler works very well except for error handling.
Another important thing is I also have a handler on the client side (nearly the same),
but it does not seems to be invoked when an axis fault is thrown on the server side.


Venkatesh Kancharla <> sur 05/02/2004 06:19:01

Veuillez répondre à

Pour :
cc :
Objet :     Re: question about handlers

Can you please post your handler and the wsdd file?


On Wed, 4 Feb 2004 wrote:

> Hello
> I have a simple client and a simple service which have a handler on its
> request flow.
> My handler must sometimes refuse the access to the service. In this case,
> want it to return a special error message to the client.
> How can I do this ?
> I've tried throwing an AxisFault, but on the client I can't get the error
> message : only get an axisFault with NullPointerException
> Valerie

View raw message