@WebService
public class HelloService {
@Resource
WebServiceContext wsCtxt;
public void method() {
MessageCtxt msgCtxt = wsCtxt.getMessageContext();
HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST)
// using req you can get all the information, req.getRemoteAddr()
}
}
Jitu
[Message sent by forum member 'jitu' (jitu)]
http://forums.java.net/jive/thread.jspa?messageID=204870