I generated xsd using maven-schema-gen plugin..I can see that xsd is generated in the path: target/generated-schema/schema1.xsd.
However In the logs I can see ,it is not able to find the schema file.. Logs below: Starting up oesp webapp at http://localhost:8090/ to see a list of services use http://localhost:8090/services [2011-03-29 18:35:47,395] [WARN ] [ResourceUtils] (ResourceUtils.java:391) - No file resource generated-schema/schema1.xsd is available on local disk [2011-03-29 18:35:47,784] [INFO ] [ServerImpl] (ServerImpl.java:93) - Setting the server's publish address to be / [2011-03-29 18:35:47,840] [WARN ] [ResourceUtils] (ResourceUtils.java:391) - No file resource generated-schema/schema1.xsd is available on local disk [2011-03-29 18:35:47,841] [WARN ] [ResourceUtils] (ResourceUtils.java:391) - No file resource generated-schema/schema1.xsd is available on local disk [2011-03-29 18:35:48,710] [INFO ] [AbstractCXFServlet] (CXFServlet.java:139) - Load the bus with application context [2011-03-29 18:35:48,714] [INFO ] [BusApplicationContext] (AbstractApplicationContext.java:456) - Refreshing org.apache.cxf.bus.spring.BusApplicationContext@4f12c2: startup date [Tue Mar 29 18:35:48 BST 2011]; parent: Root WebApplicationContext [2011-03-29 18:35:48,762] [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-tp4269657p4269771.html Sent from the cxf-user mailing list archive at Nabble.com.
