Gradle wsdl2java plugin

The Gradle wsdl2java plugin makes it easy to generate Java source from WSDL

Лицензия

Лицензия

Группа

Группа

com.github.janisz
Идентификатор

Идентификатор

wsdl2java
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Gradle wsdl2java plugin
The Gradle wsdl2java plugin makes it easy to generate Java source from WSDL
Ссылка на сайт

Ссылка на сайт

http://github.com/janisz/gradle-wsdl2java
Система контроля версий

Система контроля версий

https://github.com/janisz/gradle-wsdl2java.git

Скачать wsdl2java

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.janisz/wsdl2java/ -->
<dependency>
    <groupId>com.github.janisz</groupId>
    <artifactId>wsdl2java</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.janisz/wsdl2java/
implementation 'com.github.janisz:wsdl2java:0.0.1'
// https://jarcasting.com/artifacts/com.github.janisz/wsdl2java/
implementation ("com.github.janisz:wsdl2java:0.0.1")
'com.github.janisz:wsdl2java:jar:0.0.1'
<dependency org="com.github.janisz" name="wsdl2java" rev="0.0.1">
  <artifact name="wsdl2java" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.janisz', module='wsdl2java', version='0.0.1')
)
libraryDependencies += "com.github.janisz" % "wsdl2java" % "0.0.1"
[com.github.janisz/wsdl2java "0.0.1"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.apache.axis : axis jar 1.4
javax.activation : activation jar 1.1
wsdl4j : wsdl4j jar 1.6.3
commons-discovery : commons-discovery jar 0.5
javax.xml : jaxrpc jar 1.1
javax.mail : mail jar 1.4

Модули Проекта

Данный проект не имеет модулей.

gradle-wsdl2java Build Status

Gradle plugin takes a WSDL document and generates fully annotated Java code from which to implement a service

##Usage

Add the following to your build file to setup where the plugin should be downloaded from:

buildscript {
    repositories {
        mavenLocal()
        mavenCentral()
    }
    dependencies {
        classpath 'com.github.janisz:wsdl2java:0.0.1'
    }
}

apply plugin: 'wsdl2java'

Configuration

wsdl2java {
    wsdlUrl = 'https://webapi.allegro.pl/service.php?wsdl'
    outputDir = 'generated'
    namespaceToPackage = [
            'urn:AllegroWebApi' : 'pl.allegro.webapi.uploader',
            'https://webapi.allegro.pl/service.php' : 'pl.allegro.webapi.service',
    ]
    verbose = false
}
Option Type Description
wsdlUrl String WSDL address, could be URL or local file path
outputDir String Directory path where generated sources should be places, by default it's project build directory
namespaceToPackage Map<String, String> Dictionary that will translate namespaces from WSDL to taret class packages
verbose boolean Indicate if comments during the code generation process will be displayed

TODO

  • add support for multiple WSDLs (for now you can use this file)
  • add AXIS dependecies to compile scope
  • fix Gradle 2.0 issues

License

Code released under the Apache License v. 2

Версии библиотеки

Версия
0.0.1