Hello,

I am testing the  XML Security component according to the example from the 
camel-xmlsecurity website. For example the following producer refers to the 
Test.xsd:

<to 
uri="xmlsecurity:sign://detached?keyAccessor=#keyAccessorBean&amp;xpathsToIdAttributes=#xpathsToIdAttributesBean&amp;schemaResourceUri=Test.xsd"
 />

I am testing this in the karaf and I have put the Test.xsd in the following 
folder:
 
apache-karaf-2.3.11/instances/mytestinstance/
However I am getting this error:
org.apache.camel.component.xmlsecurity.api.XmlSignatureException: XML Signature 
component is wrongly configured: No XML schema found for specified schema 
resource URI Test.xsd

My camel version is 2.14.3.

According to the document it is the classpath:
schemaResourceUri: Since 2.14.0. Classpath to the XML Schema file....

Could anybody advise what the classpath exactly is and where I should I put the 
Test.xsd in Karaf container for xmlsecurity endpoint to access it?  

Thanks in advance 

Reply via email to