camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Karlsen <davidkarl...@gmail.com>
Subject Re: cxf response
Date Wed, 27 Feb 2013 22:50:10 GMT
For the jaxb stuff, see:
"Partial marshalling/unmarshalling" on http://camel.apache.org/jaxb.html

2013/2/27 Smith-John <micha89@gmail.com>:
> 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.



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Mime
View raw message