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: [email protected]
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]

Reply via email to