Here we go....

HttpServletRequest req =
 
(HttpServletRequest)MessageContext.getCurrentContext).getPropertyHTTPConstan
ts.MC_HTTP_SERVLETREQUEST);

String clientIp = req.getRemoteAddr();

regards,
kiran pathuru


-----Original Message-----
From: Samir Shaikh [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 2:10 AM
To: [EMAIL PROTECTED]
Subject: getting client ip in service class



Hi,
I have an axis webservice and I am wanting to get the Client IP (the one
that
comes in server access logs) for logging purposes. I dont know how to get
that.

Any help in this will be appreciated.

Thanks.
Samir

Reply via email to