axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jared Blitzstein <mailing-l...@blitzstein.net>
Subject Re: Possible to get callers IP address with pojo approach?
Date Thu, 25 Jan 2007 15:51:21 GMT
I'm using axis2 and noticed there is no BasicHandler class, only an  
AbstractHandler. If this is the right class, could you please give me  
some more details or point me in the right direction on how to  
implement it? I'm completely new to web services and axis so this is  
all new to me. Thank you.


On Jan 24, 2007, at 5:34 PM, Bell, Douglas wrote:

> Hi Jared,
>
> You can add a handler to the service.xml
>
> e.g.
>
> <handler name ="IP Address Handler"
> class="com.blah.handler.IPAddressHandler"/>
>
> Extend a BasicHandler and set the incoming IP address on a
> InheritableThreadLocal variable to have access to it throughout your
> application.
>
> Hope this helps,
>
> - Doug
>
> -----Original Message-----
> From: Jared Blitzstein [mailto:mailing-list@blitzstein.net]
> Sent: Wednesday, January 24, 2007 1:22 PM
> To: axis-user@ws.apache.org
> Subject: Possible to get callers IP address with pojo approach?
>
> I'm using the pojo approach (http://ws.apache.org/axis2/1_1_1/
> pojoguide.html) and need to implement a logging system in my  
> service to
> log various things including the calling clients IP address. Is there
> any way to do this? If not, can someone direct me into a direction  
> that
> can? Thank you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message