Get client IP address with Java 6 server
I created a web service server implementation from WSDL with JAX-WS 2.1.1 that comes with java 6u6. Now I need the requesting client IP address for processing.
I tried to get the IP address from the message context but context.get(MessageContext.SERVLET_REQUEST) always returns null, so I can't get the IP address out of the HttpServletRequest object :-(
I tried using the newest implementation (JAX-WS 2.1.3) but the HttpServletRequest object is still null.
Is there a another way to get the client IP address ?
Help is very appreciated
Message was edited by: hochi