You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Daniel Kulp <dk...@apache.org> on 2010/02/24 18:13:46 UTC

Re: enumeration values are alphabetized

On Tue February 23 2010 11:50:18 am Matt wrote:
> We are using WSDLToJava to build a web service.  We have a simple type that
> is restricted to an enumeration.  In the xml we define the order of the
> enumeration values.  After the WSDLToJava the enumeration values are
> alphabetized in the .java file.  Is there a way to turn tell CXF to leave
> the order alone?

This is really a question for the JAXB folks.  I don't see anything in the 
specs that provides a customization to force this.    You'll probably need to 
ask on their forums at jaxb.dev.java.net.


-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog