Currently annotations in the interface are not parsed by CXF (e.g.
@Path, @GET, @Produces, @Consumes etc.), it will only read from the
implementing API class.
This is especially annoying if wadl2java is used to generate the API
interfaces automatically.
To make it work, one has to manually add the JAXRS-annotations to each
implementing class.
It would be nice if CXF would read the annotations in the interface in
the future as well.
Best regards,
Johannes
- CXF3 - Annotations in the interface are not parsed J. Fiala
-