views:

239

answers:

1

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?

+1  A: 

You would access the parameters as you would for any other purpose:

ServletContext.getInitParameter(String key)

matt b