wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Apache CXF, CXFNonSpringServlet, help with framework integration
 
Similar Threads
Apache CXF - ignore setters when marshalling
WebService design clarification
Clarification about Eclipse 3.4, Axis 2 and Tomcat 5.5
how to use uddi4j with private UDDI registry
CXF-RS throwing No operation matching request path /create is found