RE: Camel XPATH Issue

2015-09-21 Thread Vanshul . Chawla
Resolved: /soapenv:Envelope/soapenv:Body/das:GiftCardUpdateStatusOrderResponseElement/das:body/das:errorCode -Original Message- From: Vanshul.Chawla [mailto:vanshul.cha...@target.com] Sent: Tuesday, September 22, 2015 8:41 AM To: users@camel.apache.org Subject: Camel XPATH Issu

Re: Camel XPath....Parsing a part of message Body...

2015-08-09 Thread Christian Müller
I suggest adding the camel-saxon dependency and use: /CamelData/Provider/text() 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/christia

RE: Camel XPath....Parsing a part of message Body...

2015-08-06 Thread anish.somadevan
Am having a similar issue and i get this error message, java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

Re: camel xpath

2014-04-10 Thread Lydie
I added steam cache =true: but I t still does not work Any idea? -- View this message in context: http://camel.465427.n5.nabble.com/camel-xpath-tp5749754p5750057.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel xpath

2014-04-09 Thread Claus Ibsen
Hi Maybe you need to enable stream caching, see this FAQ http://camel.apache.org/why-is-my-message-body-empty.html Or your xpath expression needs to use namespaces if your xml documentation uses that. On Thu, Apr 10, 2014 at 6:28 AM, Lydie wrote: > So I still have an error: > > I never go to my

Re: camel xpath

2014-04-09 Thread Lydie
So I still have an error: I never go to my first choice: 'enabled': /authorizationCheck='enabled' This what I get when I print my ROUTE_CONFIGURATION_HEADER: 21:17:30,030 INFO [proxy] (qtp1338

RE: Camel XPath....Parsing a part of message Body...

2014-04-05 Thread Ravindra.Godbole
Try following. /Customer/Order/id/text() Order with id ${in.body} received - Ravi From: npa [npa.c...@gmail.com] Sent: Saturday, April 05, 2014 12:15 AM To: users@camel.apache.org Subject: Camel XPathParsing a part of message

Re: Camel XPath....Parsing a part of message Body...

2014-04-04 Thread Claus Ibsen
Hi The xpath should not have " " around it On Fri, Apr 4, 2014 at 8:45 PM, npa wrote: > I have a simple flow that reads from an activemq1 and parses an id from the > message and sends the id across to another activemq2. > > Here is an example of message that gets written to activemq1: > > >

Re: camel xpath

2014-04-04 Thread Lydie
ok I got it I used the value of the header instead of the header name. Thanks, Lydie -- View this message in context: http://camel.465427.n5.nabble.com/camel-xpath-tp5749754p5749817.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel xpath

2014-04-04 Thread Lydie
Thnaks Claus: So Itried this: /authorizationCheck='enabled' but I still get an error: Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 50; The markup in the document following the root element must be well-f

Re: camel xpath

2014-04-03 Thread Claus Ibsen
Hi On Fri, Apr 4, 2014 at 4:38 AM, Lydie wrote: > hello, > > Mt header has a herder called RouteConfiguration which contains xml ( as > string): > > > > prints: > > * enabled*** > > > I am trying to use xpath totest the value of key > I have tried this: >

Re: camel : xpath & text()

2009-12-17 Thread titexe
you're right, it works:) Thank you very much Claus. titexe Claus Ibsen-2 wrote: > > On Thu, Dec 17, 2009 at 9:34 AM, titexe wrote: >> >> thank you for your answers, >> >> I am in testing phase, the solutions you have proposed >> >> Claus excuse me, I have to put your code (in which file camel

Re: camel : xpath & text()

2009-12-17 Thread Claus Ibsen
On Thu, Dec 17, 2009 at 9:34 AM, titexe wrote: > > thank you for your answers, > > I am in testing phase, the solutions you have proposed > > Claus excuse me, I have to put your code (in which file camel.xml or > activemq.xml) and in each part? > No just proves the point that Stephen was wrong th

Re: camel : xpath & text()

2009-12-17 Thread titexe
because I checked the file camel-spring.xsd, and I found the code very well Camel Version : 2.1 and activemq 5.3 titexe wrote: > > thank you for your answers, > > I am in testing phase, the solutions you have proposed > > Claus excuse me, I have to put

Re: camel : xpath & text()

2009-12-17 Thread titexe
thank you for your answers, I am in testing phase, the solutions you have proposed Claus excuse me, I have to put your code (in which file camel.xml or activemq.xml) and in each part? thank you Claus Ibsen-2 wrote: > > On Thu, Dec 17, 2009 at 3:25 AM, Stephen Gargan > wrote: >> I'm guessin

Re: camel : xpath & text()

2009-12-16 Thread Claus Ibsen
On Thu, Dec 17, 2009 at 3:25 AM, Stephen Gargan wrote: > I'm guessing that you expected to receive the 'ALLAH' string at your > endpoint and were receiving a DeferredCDATASectionImpl object instead is > this correct? The unit test below illustrates what is happening (it uses the > java DSL with th

Re: camel : xpath & text()

2009-12-16 Thread Stephen Gargan
I'm guessing that you expected to receive the 'ALLAH' string at your endpoint and were receiving a DeferredCDATASectionImpl object instead is this correct? The unit test below illustrates what is happening (it uses the java DSL with the first of the 3 routes being pretty much the same as what your