jaxrs-xsd

2016-10-18 Thread Shivani
Hello, I am having problem integrating CXF in my project. I am getting error in the jaxrs.xsd schema file. Is the file not well-formed? I downloaded the file too in case my application was not connecting to the website but the xml file is giving errors such as cannot resolve to type definition co

Re: jaxrs-xsd

2016-10-18 Thread Sergey Beryozkin
Hi Can you provider more information please: CXF version, Blueprint or Spring, container type, offline/online mode. I can only think of the schema validator trying to get the schemas online and not being able to do it for some reasons... Thanks, Sergey On 18/10/16 09:13, Shivani wrote: Hell

Re: jaxrs-xsd

2016-10-18 Thread Shivani
CXF Version is 2.7.16 Spring version is 4.2.6 In my beans.xml file, which is used for configuration, I am using code exactly similar to this (with change in class names etc) https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/sse_tomcat/src/main/resources/WEB-

Re: jaxrs-xsd

2016-10-18 Thread Sergey Beryozkin
This CXF version is old (not supported) while Spring version is quite new, perhaps something is not linking properly between Spring and CXF Spring namespace handlers. May be, in CXF 2.7.16, one still needs to add the imports as in https://github.com/apache/cxf/blob/cxf-2.7.16/systests/jaxrs/src

Re: Using JAXRSBeanValidationOutInterceptor causes Fault when validation of an object fails

2016-10-18 Thread Sergey Beryozkin
Thanks. By the way, I wonder if the fix in CXF will need to be different after all. See the JAXRS out interceptor validates the JAX-RS *method response*, and if the validation fails and the custom Response is created and the out chain is run again, the out validating interceptor now still atte

Re: Using JAXRSBeanValidationOutInterceptor causes Fault when validation of an object fails

2016-10-18 Thread tomstark
Yeah, I was a little surprised that manipulating the MessageContentsList directly didn't confuse the underlying layers. Seemed like I might have been potentially "pulling the rug out from underneath" the lower layers. Glad it worked. As for the validation sequence, although it seems as though th