Hi,

Please note that its finding the resource(.xsd). Logs are below.I am not
getting any error ..But validations are not happening. I sent some invalid
values(in the request) ,jax-rs jaxb is considering null...it is not
identifiying the type. For example: I have field property called 'Offset' in
Model bean class.It is type of long.When I send 'string' value for that
property, jax-rs jaxb in MediaServiceImpl class,it is taking as
null....Looks like still validation is not enabled yet..


Starting up oesp webapp at http://localhost:8090/
to see a list of services use http://localhost:8090/services
[2011-03-30 09:20:28,399] [INFO ] [ServerImpl] (ServerImpl.java:93) -
Setting the server's publish address to be /
[2011-03-30 09:20:29,351] [INFO ] [AbstractCXFServlet] (CXFServlet.java:139)
- Load the bus with application context
[2011-03-30 09:20:29,355] [INFO ] [BusApplicationContext]
(AbstractApplicationContext.java:456) - Refreshing
org.apache.cxf.bus.spring.BusApplicationContext@1ad4feb: startup date [Wed
Mar 30 09:20:29 BST 2011]; parent: Root WebApplicationContext
[2011-03-30 09:20:29,408] [INFO ] [AbstractCXFServlet]
(AbstractCXFServlet.java:115) - Servlet transport factory already registered 

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-JAX-RS-XML-schema-Validation-tp4269657p4271001.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to