Skip to content

Instantly share code, notes, and snippets.

@nazartm
Last active December 11, 2015 01:38
Show Gist options
  • Save nazartm/4524576 to your computer and use it in GitHub Desktop.
Save nazartm/4524576 to your computer and use it in GitHub Desktop.
Generating WSDL using the JAX-WS Maven plugin.
<build>
<plugins>
<plugin>
<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<goals>
<goal>wsgen</goal>
</goals>
</execution>
</executions>
<configuration>
<genWsdl>true</genWsdl>
<verbose>true</verbose>
<sei>com.example.MyServiceImpl</sei>
</configuration>
<dependencies>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>2.1.7</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment