robert lazarski wrote:
Yes, use Jibx2Wsdl from jibx instead of java2wsdl. jibx seems to
support enums:
http://jibx.sourceforge.net/tutorial/binding-advanced.html
A somewhat dated article here shows how to use Jibx2Wsdl - try
googling for something with the latest release.
http://www.infoq.com/articles/sosnoski-code-first
Beat me to it, Robert!
There's a newer (and more in-depth) article on Jibx2Wsdl at
http://www.ibm.com/developerworks/java/tutorials/j-jibx1/ There's also a
companion one covering code generation from schema with JiBX at
http://www.ibm.com/developerworks/java/tutorials/j-jibx2/
- Dennis
--
Dennis M. Sosnoski
Java XML and Web Services
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117