如题,在Iteye也曾提出过该问题。未得到解决 。麻烦给高,给予帮助。
http://www.iteye.com/problems/73354MessageContext mc = context.getMessageContext();
HttpServletRequest request = (HttpServletRequest) (mc.get(MessageContext.SERVLET_REQUEST));
remortAddress = request.getRemoteAddr();
如上该方式,在我的程序中,获取的结果为null.发布的方式为:
Endpoint.publish("http://127.0.0.1:8083/queryService", new QueryService());
问题具体详情,及我的解决思路,详见
http://www.iteye.com/problems/73354再次请求高人给予解答,或思路的指引。