it shoud be a .marshal(jaxb) in stead of an .unmarshal(jaxb), of course, as
the direction is serializing.
--
View this message in context:
http://camel.465427.n5.nabble.com/XPath-with-CXF-Pojo-Endpoint-tp5743861p5743906.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I would suggest adding a
.unmarshal(jaxb) before the xpath
where
jaxb = new JaxbDataFormat();
jaxb.setContextPath("..your context path..");
or using the PAYLOAD-mode in your cxf-endpoint.
--
View this message in context:
http://camel.465427.n5.nabble.com/XPat
r.xml.XPathBuilder.doGetDocument(XPathBuilder.java:1147)
at
org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:1092)
--
View this message in context:
http://camel.465427.n5.nabble.com/XPath-with-CXF-Pojo-Endpoint-tp5743861.html
Sent from the Camel - Users mailing list archive at Nabble.com.