cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <>
Subject Re: CXF doesn't respect annotations
Date Sun, 15 Feb 2009 23:05:22 GMT
I think that if you read any of the stock tutorials on JAXB, you'll
see that this is made pretty clear.  They explain that JAXB infers
elements from fields or from get/setters, as controlled by the
annotations on the class. By default, those annotations do not examine
anything private.

Look at the J2SE 6.0 javadoc for XmlAccessorType to see what I'm talking about.

On Sun, Feb 15, 2009 at 5:59 PM, kariem@sf <> wrote:
> bimargulies wrote:
> >
> > This is a bug in the Jaxb RI 2.1.9.
> >
> Fast and very good response, Beson. Thank you very much. Everything working
> now, thanks to your suggestion on the issue: putting the annotation on the
> setter method for the property made it work. I have updated the JIRA issue
> with a working test case.
> The problem is resolved, but I still have a bad feeling. Do you recommend
> filing a bug with JAXB (it should work on class field level)? Should we add
> something to the documentation for CXF? Or do you think the JIRA issue and
> the comments on this list are enough?
> Cheers,
> Kariem
> --
> View this message in context:
> Sent from the cxf-user mailing list archive at

View raw message