I can get the calling IP, but I do it from the In-Interceptor
HttpServletRequest request = (HttpServletRequest)
message.get(AbstractHTTPDestination.HTTP_REQUEST);
String ip = request.getRemoteAddr();
the above is what I use to get it.
On Wed, Jun 13, 2012 at 9:04 PM, lashemale <[email protected]> wrote:
> Hello,
>
> I tried both solutions (i use only SOAP client).
> I try several times since 2 weeks, that never work, i have not the good
> adress.
> That gives me IP adress of the web service, not the IP adress of the SOAP
> client where i call the web service.
>
> I try getRemoteAddr(), getLocalAddr(), getLocalName(), etc.
>
> Before becoming mad, is anybody know why ? ;-)
>
> arnaud
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Getting-the-IP-Address-of-SOAP-Clients-works-for-REST-clients-but-not-for-SOAP-clients-tp4476334p5709659.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
--
Ted.