hello,

my web service uses axis2. i want to get the Client (IP), which invokes my
web service.

by using:


import org.apache.axis2.context.MessageContext;

IP = (String)
MessageContext.getCurrentMessageContext().getProperty("REMOTE_ADDR");



i got the result: IP= 0:0:0:0:0:0:0:1

what i wanted was that the result should be IP=127.0.0.1

can anyone tell me how can i get the right result?




-- 
View this message in context: 
http://www.nabble.com/Problem%3A-get-Client-IP-by-using-MessageContext-tp25531067p25531067.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to