[jboss-user] [JBoss Web Services] - How to get wsconsume to create constructors?

Zoli Szugyi do-not-reply at jboss.com
Mon Apr 26 15:15:15 EDT 2010


Zoli Szugyi [http://community.jboss.org/people/zszugyi] created the discussion

"How to get wsconsume to create constructors?"

To view the discussion, visit: http://community.jboss.org/message/539613#539613

--------------------------------------------------------------
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
[http://community.jboss.org/message/539613#539613]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100426/234ca625/attachment.html 


More information about the jboss-user mailing list