cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Getting client's IP address in Provider service
Date Fri, 09 Jan 2009 17:03:12 GMT

Probably need to have the WebServiceContext injected in, then from there, grab 
the HttpServletRequest, then grab the information from there.

Dan


On Friday 09 January 2009 11:30:56 am Andrew Clegg wrote:
> Hi folks,
>
> This is probably a symptom of me never having written a traditional
> Java web app, but...
>
> How do you get the client's IP address?
>
> Bear in mind that I'm using a JAX-WS Provider service rather than a
> WebService.
>
> Thanks!
>
> Andrew.



-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message