Reputation: 1760
I need to be able to read the host name and port from the web.xml file before every call to the ws. So how can I do this in JAX-WS or isn't it possible?
Upvotes: 0
Views: 611
Reputation: 139931
You would access the parameters as you would for any other purpose:
ServletContext.getInitParameter(String key)
Upvotes: 2