camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Smith-John <mich...@gmail.com>
Subject Re: cxf response
Date Wed, 27 Feb 2013 16:54:16 GMT
I also tried it with generated JAXB classes from my wsdl/xsd and marshalling.
 
But
from("cxf:cxfEndpoint?wsdlURL&dataFormat=PAYLOAD").unmarshal(jaxb).process(myProcessor).to("bean:myBean").marshall(jaxb)
doesn't work.

myBean puts an Object of the generated jaxb classes into the body but I get 
unable to marshal type "example.ExampleResponse" as an element because it is
missing an @XmlRootElement annotation.

Some advice to fix this would be nice.



--
View this message in context: http://camel.465427.n5.nabble.com/cxf-response-tp5728106p5728236.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message