I used to saw a tutorial about this topic. But when I try to make my example application by following the example. I can't find
com.sun.xml.ws.transport.http.servlet.WSServletContextListener on my classpath. but I found
com.sun.xml.internal.ws.transport.http.servlet.WSServletContextListener It confused me, why Oracle move those classes in
com.sun.xml.internal? I am using JDK1.6.0_45. I saw some people said, form JDK6U4, jax-ws reference implementation is bundled in JDK, so we should be able to publish a web service by running a light weight http server just with JDK and no other dependencies needed, is that ture? You should notice that in the tutorial I mentioned above, additional dependencies is still needed, see step 5 "JAX-WS Dependencies".
And I also found that in IBM JDK, even
com.sun.xml.internal.ws.transport.http.servlet.WSServletContextListener can't be found.