axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Ricardo da Silva <dasilva.jo...@gmail.com>
Subject How to get the client's IP address in a handler in the OutFlow?
Date Mon, 16 Feb 2009 22:30:41 GMT
Hi, is there a way to get the client's IP address in a handler located
in the OutFlow?

messageContext.getProperty("REMOTE_ADDR") works fine in the InFlow,
but not in the OutFlow.

I tried to extract it from the "To" WS-Addressing's header, but I only receive
<wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To> in the
responses.

I have tried to look in the CommonsHTTPTransportSender implementation
but I didn't manage to find it out so far.

Does anyone have a tip?

Best regards,

José.

Mime
View raw message