Robert,

Instances of handlers are created by the Axis engine. You shouldn't need to 
manipulate them in your implementation code. To exchange data with a handler, 
use the class org.apache.axis.MessageContext instead.

More information can be found in the Axis Architecture Guide:
http://ws.apache.org/axis/java/architecture-guide.html

Regards,

-- Tony

-----Message d'origine-----
De : news [mailto:[EMAIL PROTECTED] De la part de Robert Simmons Jr.
Envoyé : mardi 8 novembre 2005 16:08
À : axis-user@ws.apache.org
Objet : Re: How can I insert a Handler in the server side just AFTER the 
transport?

Thanks a bunch. How would I get access to that handler later (for
setting config and stuff like that) ? Should I just save a static
instance in it or something?

-- Robert

zze-ELSOKHON Tony RD-BIZZ-ISS schrieb:

>Robert,
>
>You just have to insert your handlers in the /deployment/transport elements of 
>your server-config.wsdd:
>
>Here what it looks like:
>
><transport name="http">
>       ...
>  <requestFlow>
>   <handler type="URLMapper"/>
>   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
>       *YOUR HANDLER(S)*
>  </requestFlow>
>  <responseFlow>
>       *YOUR HANDLER(S)*
>  </responseFlow>
> </transport>
>
>Regards,
>
>Tony
>
>-----Message d'origine-----
>De : news [mailto:[EMAIL PROTECTED] De la part de Robert Simmons Jr.
>Envoyé : mardi 8 novembre 2005 15:22
>À : axis-user@ws.apache.org
>Objet : How can I insert a Handler in the server side just AFTER the transport?
>
>Greetings,
>
>I have a web service that uses AXIS and I want to implement a server
>side handler that will digitally sign transactions with a certificate as
>they go out over the wire and check signatures as they come in. The
>handler will operate on the raw body of the http content (not the
>headers) and embed the signature into the headers.
>
>I can write such a handler easy enough but I dont know how I can insert
>it into the server side chain.
>
>Can anyone help me with that?
>
>-- Robert
>
>  
>

Reply via email to