Hi,
Ensure that your wsdl, shemavalidation.xml, xbean.xml are in the src/main/resources/ folder, so that it can be loaded from classpath ./
Freeman

brijesh wrote:
hello, i have following setting in xbean.xml for servicemix-cxf-bc

 <cxfbc:consumer wsdl="classpath:contract.wsdl"
        service="eka:createContractService"
        targetService="eka:contractBeanRouter"
busCfg="schemaValidation.xml" useJBIWrapper="false" />


schemaValidation.xml as follows

<jaxws:endpoint name="eka:contractSchemaValidator" wsdlLocation="contract.wsdl" createdFromAPI="true"> <jaxws:properties> <entry key="schema-validation-enabled" value="true" /> </jaxws:properties> </jaxws:endpoint>


I need to validate incoming xml document based on wsdl , all the files
wsdl,schemavalidation.xml and xmlbean.xml are in same folder, but while i am deplying i am getting following error, in console ,
.................
Jan 6, 2009 12:05:32 PM org.apache.cxf.bus.spring.BusApplicationContext
getConfigResources
WARNING: Could not find the configuration file schemaValidation.xml on the
classpath.


Any idea on this?

thanks brijesh N K

Reply via email to