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?
RE: web service client ip address
import org.apache.axis.Constants;import org.apache.axis.MessageContext; MessageContext messageContext = MessageContext.getCurrentContext();String ipAddress = messageContext.getStrProp(Constants.MC_REMOTE_ADDR); Wes From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: December 5, 2005 3:02 PMTo: axis-user@ws.apache.orgSubject: 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?
Re: web service client ip address
See Wes's response below. -Original Message-From: Wesley MacDonald [mailto:[EMAIL PROTECTED]Sent: Monday, December 5, 2005 03:30 PMTo: axis-user@ws.apache.orgSubject: RE: web service client ip address import org.apache.axis.Constants;import org.apache.axis.MessageContext; MessageContext messageContext = MessageContext.getCurrentContext();String ipAddress = messageContext.getStrProp(Constants.MC_REMOTE_ADDR); Wes -Original Message-From: Xavier Toth [mailto:[EMAIL PROTECTED]Sent: Monday, December 5, 2005 03:01 PMTo: axis-user@ws.apache.orgSubject: web service client ip addressIs 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?