Re: Camel-xmlsecurity :No XML schema found

2016-02-15 Thread Franz Paul Forsthofer
Hi Jack, the XML Signature component does not support the KeyInfo content you need. But what you could do is that you create the KeyInfo element on your own before you call the XML Signature component. Then I think it is better to use enveloped Signature than the detached Signature mode. You have

Re: Camel-xmlsecurity :No XML schema found

2016-02-09 Thread Jack Ding
Thanks Claus, My ultimate goal is to create a soap secure header with signature in it.   I am thinking to use detached mode plus referring the schemaResourceUri to the schema "http://schemas.xmlsoap.org/soap/envelope/";.  Now the problem seems to be the location of x509 certificate, which needs

Re: Camel-xmlsecurity :No XML schema found

2016-02-08 Thread Claus Ibsen
You need to put the test.xsd file together with your Camel application so they are in the same OSGi bundle, so the classloder can find the file. Look at some of the other osgi examples that are in the examples of Camel. https://github.com/apache/camel/tree/master/examples On Tue, Feb 9, 2016 at 6