Re: CXF Spring Boot integration tests with BeanValidation - ValidationException occurs after successful call

2017-04-23 Thread ramunask
Using of "org.apache.cxf.jaxrs.validation.JAXRSBeanValidationFeature" instead of "org.apache.cxf.validation.BeanValidationFeature" for me solved the issue. -- View this message in context:

Re: CXF Spring Boot integration tests with BeanValidation - ValidationException occurs after successful call

2016-10-24 Thread J. Fiala
Hi, Thank you, moving the validationFeature to the endpoint did the job perfectly! Best regards, Johannes Am 24.10.2016 um 14:11 schrieb Sergey Beryozkin: Or register the validation feature directly on the server endpoint Sergey On 24/10/16 13:10, Sergey Beryozkin wrote: Hi This is

Re: CXF Spring Boot integration tests with BeanValidation - ValidationException occurs after successful call

2016-10-24 Thread Sergey Beryozkin
Or register the validation feature directly on the server endpoint Sergey On 24/10/16 13:10, Sergey Beryozkin wrote: Hi This is caused by the fact that a server-scoped feature is visible to a client because this feature is set on a bus visible to the client. I've just updated the code for

Re: CXF Spring Boot integration tests with BeanValidation - ValidationException occurs after successful call

2016-10-24 Thread Sergey Beryozkin
Hi This is caused by the fact that a server-scoped feature is visible to a client because this feature is set on a bus visible to the client. I've just updated the code for this feature be explicitly marked as a Server scoped feature - but it will only help for now if the features are

Re: CXF Spring Boot integration tests with BeanValidation - ValidationException occurs after successful call

2016-10-24 Thread John D. Ament
Can you share the implementation of HelloApi? On Oct 24, 2016 07:36, "Johannes Fiala" wrote: > Hi there, > > cxf-spring-boot-starter-jaxrs: 3.1.7 > > I tried using Spring Boot CXF in combination with Spring Boot integration > tests (running as a Spring Boot application

CXF Spring Boot integration tests with BeanValidation - ValidationException occurs after successful call

2016-10-24 Thread Johannes Fiala
Hi there, cxf-spring-boot-starter-jaxrs: 3.1.7 I tried using Spring Boot CXF in combination with Spring Boot integration tests (running as a Spring Boot application everything runs fine without exceptions): As soon as the BeanValidation Feature is enabled: