I'm using wsconsume to generate the classes for a web service at build time.
It properly generates the classes except I'll need the generated classes to have a constructor
with a parameter for each field. The order doesn't really matter as long as it stays consistent.
Is there a way to do that?
I'm using the wsconsume tool from jboss-4.2.3.
the ant task looks like this:
Do you want to generate constructor for the classes generated from schema file ? You can try to use a JAXB binding file to do customization .