File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 7 JAX-WS without sun-jaxws

 
Oscar G. Rodriguez
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic