Hey,
I would like to set context attribute for every webservice made by my application. I tried this went I create the port:
((BindingProvider) port).getRequestContext().put("SomeInfo", someInfo);
And to retrieve on webservice:
HttpServletRequest request = (HttpServletRequest) getMessageContext().get(MessageContext.SERVLET_REQUEST);
SomeInfo someInfo = (SomeInfo) request.getAttribute("SomeInfo");
But someInfo is always null.