File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Apache CXF, CXFNonSpringServlet, help with framework integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Apache CXF, CXFNonSpringServlet, help with framework integration" Watch "Apache CXF, CXFNonSpringServlet, help with framework integration" New topic
Author

Apache CXF, CXFNonSpringServlet, help with framework integration

darren hartford
Greenhorn

Joined: May 17, 2010
Posts: 17
Hey all,
I am working on adding CXF for SOAP webservices to some internal application framework (tomcat 7 server).

There are two things I need help on:
1) reading the @webservice attributes instead of specifying the address name.
2) if/how to setup for auto-discovery/auto-publish of all @webservice annotated implementations (or at least package-level name).


For 1), the current approach is from a class extending CXFNonSpringServlet, loadbus override :


I already use the @webservice annotation with the serviceName (and regular name) attributes. Would it be possible to instead just read that attribute instead of specifically defining the address?


For 2) (which makes more sense after 1),
Does CXF already support, or is it relatively easy to setup, auto-discovery/auto-publish of webservices based on a package-level name?

Thanks for any feedback!
-Darren
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache CXF, CXFNonSpringServlet, help with framework integration