This content has been marked as final.
Show 1 reply
-
1. Re: Is there a way to get webservice context information
zauberlehrling Mar 20, 2007 2:32 PM (in response to yves.benigot)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: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(<Name>, <Value>);
I do not know if this helps for getting the host name.
Best regards,
Frank