it is available through the MessageContext - I think you can use
mc.getProperty(MC_HTTP_SERVLETREQUEST)

take a look at other available properties of the underlying servlet
in org.apache.axis.transport.http.HTTPConstants - those prefixed with
MC_ are set in the MessageContext.

H

> -----Original Message-----
> From: Parimi Srinivas (CW) [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, April 10, 2002 10:00 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Client Address
> 
> 
> How do you get handle to HttpServletRequest in a service ?. I 
> believe MessageContext should provide some way to get Client 
> IP address. Any inputs ?.
> 
> -parimi
> 
> -----Original Message-----
> From: Pae Choi [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 10, 2002 9:47 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Client Address
> 
> 
> HttpServletrequest.getRemoteAddr()
> 
> Hope this helps,
> 
> 
> Pae
> 
> -----Original Message-----
> From: Parimi Srinivas (CW) [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, April 10, 2002 12:41 PM
> To: Axis-User-Help (E-mail)
> Subject: Client Address
> 
> 
> Hi all,
> I searched archives but I did not find any threads on how to 
> capture client IP address. 
> 
> Is there any way of capturing client IP address on server side ?. 
> 
> Any help will be greatly appreciated.
> 
> -parimi
> 
> 

Reply via email to