Apache CXF, CXFNonSpringServlet, help with framework integration
posted 3 years ago
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?