wsdl2java
wsdl2java copied to clipboard
[Question] It is possible to set a custom prefix to generated class names?
Hi,
Is there a flag for specifying a custom prefix to be added to all generated classes names?
I added a bindings file (bindings.xml) which contains the reference to the .xsd that I want to add the prefix for generated classes and the config specifiying the value for the custom flag and the target (types, anonymous types and elements) --> source
Also based on that response on the gradle task definition I add to wsdlsToGenerate definition the '-b' flag from http://cxf.apache.org pointing to the just added binding file ...run the task and now all the generated classes defined on the target contains the prefix that I defined on my binding file.