bjornvester / wsdl2java-gradle-plugin

A Gradle plugin for generating Java classes from WSDL files
MIT License
40 stars 14 forks source link

Allow binding file to be set as a task parameter #3

Closed robmckinnon closed 3 years ago

robmckinnon commented 4 years ago

Allow a single bindingFile to be configured for the wsdl2java task.

You can now optionally specify a JAXWS or JAXB binding file or XMLBeans context file like this:

wsdl2java {
    bindingFile = "${projectDir}/src/main/resources/binding.xjb"
}

This adds a single -b binding-name parameter to the args passed to wsdlToJavaClass constructor.

I need to do this to raise theEnumMemberSizeCap limit, see README for details.

bjornvester commented 3 years ago

Thanks, sorry for the looooong reaction time. I will prepare a new version soonish.