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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]