[jboss-user] [JBossWS] - Re: Is there a way to get webservice context information

zauberlehrling do-not-reply at jboss.com
Tue Mar 20 14:32:30 EDT 2007


Hi,

in the JAX-WS User Guide - JBossWS  ( http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Handler_Framework)
there is some information:

anonymous wrote : Accessing the message context
  | ------------------------------------
  | There is currently no portable way of doing this in 4.0.5. @WebServiceContext injection will be available with 4.2. In the meantime you can access the message context like this:
  | 
  | CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext(); 
  | msgContext.setProperty(, );
  | 
I do not know if this helps for getting the host name. 

Best regards,

Frank

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029942#4029942

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029942



More information about the jboss-user mailing list