Hi,

Please find the entire camel-config.xml. 
Schema information is inside the resource folder(in classpath). For this
scenario, request validation is working fine and only response validation is
creating an issue


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
        xmlns:cxf="http://camel.apache.org/schema/cxf";
        xsi:schemaLocation="http://www.springframework.org/schema/beans 
                                           
http://www.springframework.org/schema/beans/spring-beans.xsd
                                           
http://camel.apache.org/schema/spring 
                          
http://camel.apache.org/schema/spring/camel-spring.xsd
                           http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd";>
        <import resource="classpath:META-INF/cxf/cxf.xml" />
        <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
        <camelContext xmlns="http://camel.apache.org/schema/spring";>
                <endpoint id="OTAHotelBook_OTA_2012B_EndPoint"
                
uri="cxf:/HotelBookPort?wsdlURL=hotel/hotelbook.wsdl&amp;dataFormat=PAYLOAD&amp;properties.schema-validation-enabled=true"
/>
                <route>
                        <from uri="ref:OTAHotelBook_OTA_2012B_EndPoint" />
                        <log logName="OTAHotelAvailability-ENTRY" 
message="Message"
                                loggingLevel="INFO"/>
                        <camel:process ref="testProcess"></camel:process>
                </route>
        </camelContext>
        <bean id="testProcess"
class="com.ibsplc.icomm.test.cxf.TestProcess"></bean>
</beans>



--
View this message in context: 
http://camel.465427.n5.nabble.com/cxf-core-3-1-7-Validation-issue-with-camel-tp5787728p5787798.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to