Can someone please tell me what level of support WSDL2Java is required to have vis-a-vis XML schema? Is it *just* what's described in the JAX-RPC spec? Do we want to tackle some/any/all of what's in the JAXB spec, or is that entirely out of scope?
I am asking as a follow-up to the recent discussion about the performance of WSDL2Java. As I mentioned in that thread, I believe it's possible to get dramatically better performance using the schema parser in Xerces. Indeed, I know it's possible, as I've hacked together a working prototype to generate java beans from complex types and it's a lot faster than wsdl2java. So, the question before you is what's the minimum level of schema support WSDL2Java is required to have? Clearly JAX-RPC is included, but is that it? Or do we want to (need to) add support for xs:choice, substitution groups, and so forth? Some nice-to-haves that I can think of are: (1) some degree of validation support; (2) transfer <xs:annotation> elements to the javadoc for the corresponding types/instance variables. Thanks, Eric
