Hi Sharmila,
The following should get you started...

public class ServiceLogHandler extends BasicHandler {
        
   public void invoke(MessageContext msgContext) throws AxisFault {
                                                
        HttpServletRequest req = (HttpServletRequest) msgContext.getProperty
(HTTPConstants.MC_HTTP_SERVLETREQUEST);
        String clientIP = req.getRemoteAddr();
   }
}

Regards,
Harry Wagner

> -----Original Message-----
> From: Sharmila Pillai [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 9:09 AM
> To: [EMAIL PROTECTED]
> Subject: Client's IP address
> 
> 
> Hi,
> 
>     How can I get the IP address of a client that is using my service?
> Think I need to get access to HttpServletRequest  somehow.
> 
> And ideas?
> TIA,
> Sharmila.
> 

Reply via email to