| Author |
Tomcat 7 JAX-WS without sun-jaxws
|
Oscar G. Rodriguez
Greenhorn
Joined: Nov 05, 2011
Posts: 10
|
|
Hello,
I'm trying to develop a test webservice without the sun-jaxws.xml, I'm using Tomcat 7 as is, adding the jaxws-rt 2.2.7 dependency in the eclipse project by maven. The dynamic web module facet is the 3.0.
The SEI is
It works without the web.xml file, but not without the sun-jaxws. The request always have a 404 response, only works with the sun-jaxws.xml.
The url may be http://localhost:8080/helloservice/HelloService?wsdl, attending to the example of
http://docs.oracle.com/javaee/6/tutorial/doc/bnayn.html
Maybe the url is wrong or I need another annotation, I also found this explanation
http://weblogs.java.net/blog/ramapulavarthi/archive/2010/08/13/jax-ws-ri-web-services-deployment-made-simplified
Of course, with the use of jax-ws annotations, even configuration sun-jaxws.xml can be made optional making it completely descriptor free, but that requires specifying a default url-pattern like in JSR-109 or custom pattern like in Jersey REST services, in the JAX-WS specification.
but I don't know how to specify the url-pattern by annotation.
Thanks
|
 |
 |
|
|
subject: Tomcat 7 JAX-WS without sun-jaxws
|
|
|