Re: cxf-codegen-plugin does not generate XmlElement annotations

2012-08-01 Thread Daniel Kulp
On Wednesday, August 01, 2012 10:48:54 AM Bengt Rodehav wrote: > After some testing (by editing the code generated by cxf-codegen-plugin) > it turns out that its not the missing @XmlElement that causes my problem > but the missing @XmlRootElement. > > Since the XML I'm trying to unmarshal is not a

Re: cxf-codegen-plugin does not generate XmlElement annotations

2012-08-01 Thread Bengt Rodehav
After some testing (by editing the code generated by cxf-codegen-plugin) it turns out that its not the missing @XmlElement that causes my problem but the missing @XmlRootElement. Since the XML I'm trying to unmarshal is not a root element, no @XmlRootElement is generated (which I assume is as it

cxf-codegen-plugin does not generate XmlElement annotations

2012-07-31 Thread Bengt Rodehav
I have been using cxf-codegen-plugin to generate java code from wsdl. We publish a web service using Cxf 2.4.2. It has worked fine but I now have a requirement to unmarshal an XML string into java objects. The string represents part of the result that my web service shall return. I do this as follo