Is there any Possibility to change the Webservice URL when creating a JAX-WS webservice?
The automatic URL is (on Glassfish 3): http://
I got the same problem with the same context. Some axis2 web services to pass in JAX-WS ; so I had to keep the same url mapping (http://[host]:[port]/[context]/services/[serviceName]).
At first, I tried with @WebServlet annotation with an url pattern on the impl class of the WS. It works on JBoss AS 7.1 and Weblogic Server 12 but WebSphere AS 8 didn't like. This is because of the non extending of HttpServlet class but if you done the same by the web.xml, it works.
For one web service to add in web.xml :
OMInjector
fr.fmoisson.kijq.services.OMInjector
1
OMInjector
/services/OMInjector