Hi Sergey, Its working !!!!!!!!!!!!!!!!!!!!!!!!!! :-)
Thanks a lot for all your patient. Additionally to your last input, i had also to add again jaxrs:schemaLocation to make the link from the bean/service to the xsd to be used. Validation Documentation on http://cwiki.apache.org/CXF20DOC/jax-rs.html made me little problems but we solved it. Now i come to a next general question: my service is defined as response delivers xml. But when validation fales, it delivers f.i. HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 Date: Fri, 03 Jul 2009 14:44:26 GMT Content-Type: text/plain Content-Length: 175 Connection: close JAXBException occurred : cvc-length-valid: Value 'hhhhhhhhhhellj' with length = '14' is not facet-valid with respect to length '5' for type '#AnonType_testdataserviceRequest'. It would be great if f.i a listener or filter in my server could catch this error and instead deliver xml (with an error code) back to the client. Many thanks for all again MAx -- View this message in context: http://www.nabble.com/xsd-Validation-and-CXFNonSpringJaxrsServlet-and-ssl-tp24202869p24324617.html Sent from the cxf-user mailing list archive at Nabble.com.
