Re: obtaining consumer IP

2005-04-27 Thread Robert Gombotz
Great! Thanks for your advice as well. What I am doing now is purely academic, so it doesn't have to pass the "real-world" test :-) Rob On 4/26/05, Tim K. (Gmane) <[EMAIL PROTECTED]> wrote: > From the MessageContext you can get the HttpServletRequest and from > that the IP: > > HttpServletRequ

Re: obtaining consumer IP

2005-04-26 Thread Tim K. (Gmane)
From the MessageContext you can get the HttpServletRequest and from that the IP: HttpServletRequest req = (HttpServletRequest) msgContext.getProperty(org.apache.axis.transport.http.HTTPConstants.MC_HTTP_SERVLETREQUEST); String ip = req.getRemoteAddr(); However, keep in mind that the IP address

obtaining consumer IP

2005-04-26 Thread Robert Gombotz
Hi! I would need to obtain the IP address of clients/consumers that make calls to my Web services, preferably using a SOAP handler. So far, I have not found a way of achieving this. The MessageContext seems to be the only data I have in a handler, and from what I understand it does not contain th