axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabsaga Tata" <gabsaga.t...@simpaq.com>
Subject Re: web service client ip address
Date Mon, 05 Dec 2005 21:21:58 GMT
See Wes's response below.


-----Original Message-----
From: Wesley MacDonald [mailto:wes@cdnamesearch.com]
Sent: Monday, December 5, 2005 03:30 PM
To: axis-user@ws.apache.org
Subject: RE: web service client ip address

import org.apache.axis.Constants;
import org.apache.axis.MessageContext;


MessageContextmessageContext = MessageContext.getCurrentContext();
String ipAddress = messageContext.getStrProp(Constants.MC_REMOTE_ADDR); 



Wes


-----Original Message-----
From: Xavier Toth [mailto:txtoth@gmail.com]
Sent: Monday, December 5, 2005 03:01 PM
To: axis-user@ws.apache.org
Subject: web service client ip address

Is there a way to get a clients ip inside a web service call? If I use a handler how could
I pass the ip on to the service method?


Mime
View raw message