brijesh wrote:
hi freeman,

All the files are in same folder as you mentioned in ..\src\main\resources

i tried prefixed classpath along with file name as follows busCfg="classpath:schemaValidation.xml"
How about use busCfg="./schemaValidation.xml"?
Freeman
but still give the same error thanks Brijesh

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