On Mon February 2 2009 11:27:16 am Marco wrote: > I'm developing using CXF-2.1.4-SNAPSHOT. I noticed that the order of the > fields in complex-types in the generated schema has changed with the > SNAPSHOT release of today. > The question is: is that an issue or the CXF/Jaxb behaviour has been > changed for a reason?
It's PROBABLY a jaxb related thing. We've recently moved up to JAXB 2.1.9 to fix a couple bugs. That might have done it. That said, just moving from a Sun JDK to an IBM JDK can also change that as the ordering of the reflection fields is different in the different JDK's. If you need a set order, you really need to use the propOrder attribute on the @XmlType annotation to force it. Otherwise, it ends up being any order JAXB wants to put them in. -- Daniel Kulp [email protected] http://www.dankulp.com/blog
