How to generate artifacts from WSDL and XSD using gradle?

Can you post sample code to generate artifacts from wsdl and xsd using gradle? Are there any built-in plugins? Also how can we load custom bind files using gradle?

+4
source share
2 answers

Here is a similar question that was answered: How to create classes from WSDL and XSD with gradle, which is equivalent to maven-jaxb2-plugin

Blog article: http://joerglenhard.wordpress.com/2012/01/10/xjc-and-schemagen-with-gradle/

You can specify a binding file with binding: 'your-file-here'

+2
source

I am the author of the wsdl2java plugin for gradle. It is open source and easy to use.

https://plugins.gradle.org/plugin/no.nils.wsdl2java

Good luck.

+2
source

Source: https://habr.com/ru/post/1494418/


All Articles