wsdl2java
wsdl2java copied to clipboard
Gradle plugin for generating java source from wsdl files
https://github.com/nilsmagnus/wsdl2java/blob/master/plugin/src/main/groovy/no/nils/wsdl2java/Wsdl2JavaTask.groovy#L70 The `.add(position, element)` method inserts the element _before_ the existing item at that position. See the line `list.add(1, 3) //add 3 just before index 1` in the accepted answer:...
I have converted a maven project to gradle and using wsdl2java. The plugin works fine with below properties: wsdlsToGenerate = [ ['-p', 'foo.bar', '-autoNameResolution', "$projectDir/src/main/resources/wsdl/My_WSDL.wsdl" ] ] **However the below...
I have no clue why. The wsdl file is public and it's [this one](https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl). Plugin configuration: ``` wsdl2javaExt { cxfVersion = "3.2.7" closureOf { locale = Locale.UK stabilizeAndMergeObjectFactory = true...
Hi, I'm using no.nils:wsdl2java:0.10 to generate Java objects from a WSDL, however I'm receiving this exception when running the task from the root project. It doesn't occur when I run...
I'm not being able to find where I can change the classesDir, I want to put the classes in a different folder than the default one
Ex. `buildDir = file("/my/custom/build") wsdl2java { ... }` A build/generatedsources folder is created. Instead the generatedsources should be created in '/my/custom/build' directory.
Hi, I tried importing multiple WSDL (different endpoints as well) with this plugin. It generated all the classes perfectly. The only problem is, my ObjectFactory has only bindings of last...
When i try to generate java from wsdl in my build cycle i got this error ``` java.lang.IllegalAccessError: tried to access class com.sun.xml.bind.v2.Messages from class com.sun.xml.bind.v2.util.XmlFactory ``` It can be...
wsdl2java task is now the bottleneck on my build. So I would like to parallelize it. I've tried the following code in my build.gradle: ``` (configurations.wsdlAndXsdSourcesCompile.files + configurations.wsdlAndXsdSources.files).eachWithIndex { artifact,...
https://github.com/nilsmagnus/wsdl2java/blob/6d5563df05fb0d6c93ad2fbe1f86c4cd0baf6381/plugin/src/main/groovy/no/nils/wsdl2java/Wsdl2JavaTask.groovy#L89 Post this line we should have tmpDir.deleteDir() Else in buildDir we see duplicate folder of generated-src and wsdl2Java. Opened PR https://github.com/nilsmagnus/wsdl2java/pull/66 for the same