Doesn't help much when you are using JAXB because that is what the JAX specs support.
-----Original Message----- From: Hannes Holtzhausen [mailto:[email protected]] Sent: Tue 3/1/2011 9:09 PM To: [email protected] Cc: Jason Chaffee; Daniel Kulp Subject: Re: JAXB: Any way to incorporate restrictions into annotations? Have a look at XMLBeans If you are looking for an XML binding technology that supports the full XSD spec but still provides a Java bean style API for accessing and generating the XML. This is also not a 100% code first approach, you need to start with an XSD to generate XMLBeans. But you can do a code first web service once you have generated the XMLBeans. http://cxf.apache.org/docs/xmlbeans.html http://xmlbeans.apache.org/ Cheers Hannes
