You need to use the <cxf:cxfEndpoint>[1] instead of the generic camel endpoint to setup the schemaLocations for validation.
<cxf:cxfEndpoint id=“endpoint1” address=“/HotelBookPort” wsdlURL="hotel/hotelbook.wsdl”> <cxf:schemaLocations> <cxf:schemaLocation>xxxx</cxf:schemaLocation> </cxf:schemaLocations> <cxf:cxfEndpoint> … <camelContext> <route> <from uri=“cxf:bean:endpoint1?dataFormat=PAYLOAD&properties.schema-validation-enabled=true”> … </route> </camelContext> [1]http://camel.apache.org/cxf.html#CXF-ConfiguretheCXFendpointswithSpring -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 23, 2016 at 12:16:21 PM, sari.reach (sari.re...@gmail.com) wrote: > Any update on this Willem? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/cxf-core-3-1-7-Validation-issue-with-camel-tp5787728p5787946.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >