Are there known limitations for the "/services" and "?_wadl" auto doc generation features when CXF serves both JAX-WS and JAX-RS?

[Context]
- CXF 2.7.5
- *1* CXF Servlet mapped to /* in web.xml
- JAX-WS endpoints like <jaxws:endpoint id= implementor= wsdlLocation= address="/projection/1">
- JAX-RS server like so
  <jaxrs:server id= address="/">
    <jaxrs:serviceBeans>
      <ref bean="taxV1RestService" />
- JAX-RS server like so
  @Path("/tax/v1")
  public class TaxV1RestService {
    @Path("supported-kernel-years")
    ...

[Problem]
http://server/services returns the JAX-WS service list. That comes not unexpected. http://server/tax/v1/services also returns the JAX-WS service list although /tax/v1 is the root path to a JAX-RS service. http://server/tax/v1/supported_kernel_years?_wadl does not produce the WADL of the JAX-RS endpoint but hits our custom interceptors and returns [#document: null] in the end.


Do I need two CXF Servlets in web.xml to have auto doc generation play nice?


Regards,
Marcel

--
Marcel Stör, http://frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Reply via email to