Community

How to get wsconsume to create constructors?

created by Zoli Szugyi in JBoss Web Services - View the full discussion

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:

 

<wsconsume
             fork="false"
             verbose="true"
             destdir="${api.output.dir}"
             sourcedestdir="${src.dir}/server/main"
             package="generated.classes.client"
             keep="true"
             wsdl="${staging.classes}/WSDL.wsdl" />
Thanks!

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community