Gradle task for using wsgen to generate webservice

1k views Asked by At

I have to generate java webservice from java classes. I am able to generate the same using wsgen using jdk utility wsgen. Now I want to generate the webservices for multiple java classes in bulk using build tool gradle. I would be generate all the classes in a given package structure and then want to use gradle to generate webservices (xsd, wsld and other artifacts) using gradle.

Please help if anyone has used gradle for this.

1

There are 1 answers

0
lance-java On

There's a wsgen ant task and it's simple to execute ant tasks in gradle

It looks like someone's already done it here