CXF in Karaf: how to configure bean validation on subresources (preferably using Blueprint)?
- 阅读更多 关于 CXF in Karaf: how to configure bean validation on subresources (preferably using Blueprint)?
问题 I'm using Dinamics Features of CXF in Karaf and faced with the issue that Bean Validation does not work for subresources. E.g. in the following code: @Path("services") public interface Service { @Path("{id}/orders") public Order getOrderForService(@PathParam("id") int serviceId); } @Path("orders") public interface Order { @POST Product getProduct(@NotNull @Valid Product product); } when Order is root resource, bean validation works fine, but when it is invoked as a subresource of Service,