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

Reply via email to