Based on a user request, I have added the ability to pass the wsdl2java script a wsdlArgs param in which you can use to pass custom args into the client creation process. I have also modified the name of the bindingFile parameter as the name binding was in conflict with groovy reserved keywords.
|wsdl||Location of the wsdl either locally relative to project home dir or a url. (default: “”)||No|
|wsdlArgs||A custom list of args to pass in seperated by space such as [“-autoNameResolution”,”-validate”]. This can also be a single string value such as “-autoNameResolution”, but when using multiple custom params you must specify each in a list [“-one val”,”-two”,”-three val”] due to limitations with ant. (default: “”)||No|
|namespace||Specifies package names to use for the generated code. (default: “use wsdl provided schema”)||No|
|client||Used to tell wsdl2java to output sample clients, usually not needed. (default: false)||No|
|bindingFile||Path of binding file to pass to wsdl2java. (default: “”)||No|
|outputDir||Password to pass along with request in wss4j interceptor when secured is true. (default: “src/java”)||No|
Here is an example cxf client configuration block using the new wsdlArgs param.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19