File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat 7 JAX-WS without sun-jaxws Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 7 JAX-WS without sun-jaxws" Watch "Tomcat 7 JAX-WS without sun-jaxws" New topic
Author

Tomcat 7 JAX-WS without sun-jaxws

Oscar G. Rodriguez
Greenhorn

Joined: Nov 05, 2011
Posts: 13
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 7 JAX-WS without sun-jaxws
 
Similar Threads
Deploy JAXWS (Mustang) WS to Tomcat?
POJO
Trying to deploy JAX WS webservice on Tomcat 7.0.32
Issue while deploying web service jwstutorial example CLI171
Error while deploying the war file using command "asant deploy"