In you server side code, put the following code:
in your webservice method, put:
public void someMethod()
MessageContext context = MessageContext.getCurrentContext();
String callerIP = (String)context.getProperty(Constants.MC_REMOTE_ADDR);
system.out.println("CallerIP = " + callerIP);
// Your code goes here...
Thanks for the reply. The solution here is specifically for Axis web services but now in JBoss version 4.0.4, the Axis web services is replaced by JBoss web services. So the code is not applicable in here. Any other ways?
Did you find a solution for this? Please let me know