Re: Issue with SetHeader / Xpath

2015-08-09 Thread Christian Müller
I suggest adding the camel-saxon dependency and use: ... Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 O

Re: Issue with SetHeader / Xpath

2015-08-07 Thread anish.somadevan
I have a similar issue My XML is ProviderValue And am trying to set header value like this, /CamelData/Provider/text() But i get this error. Exhausted after delivery attempt: 1 caught: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.x

Re: Issue with SetHeader / Xpath

2014-04-14 Thread contactreji
Thanks Claus :-) It worked!! -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-SetHeader-Xpath-tp5749368p5750178.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issue with SetHeader / Xpath

2014-03-25 Thread Claus Ibsen
Hi You need to use namespace for your xpath expression. eg your namespace is: http://www.wbf.org/xml/B2MML-V0401 See the "foo" namespace example at http://camel.apache.org/xpath On Wed, Mar 26, 2014 at 6:03 AM, contactreji wrote: > Hi > > Would be nice if you guys can help me with the proper wa