cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Stör <>
Subject Service doc generation not working for JAX-RS
Date Fri, 18 Oct 2013 12:39:44 GMT
Are there known limitations for the "/services" and "?_wadl" auto doc 
generation features when CXF serves both JAX-WS and JAX-RS?

- CXF 2.7.5
- *1* CXF Servlet mapped to /* in web.xml
- JAX-WS endpoints like <jaxws:endpoint id= implementor= wsdlLocation= 
- JAX-RS server like so
   <jaxrs:server id= address="/">
       <ref bean="taxV1RestService" />
- JAX-RS server like so
   public class TaxV1RestService {

http://server/services returns the JAX-WS service list. That comes not 
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?


Marcel Stör,
O< ascii ribbon campaign - stop html mail -

View raw message