Skip to content

Instantly share code, notes, and snippets.

@Qkyrie
Created July 17, 2013 07:59
Show Gist options
  • Save Qkyrie/6018630 to your computer and use it in GitHub Desktop.
Save Qkyrie/6018630 to your computer and use it in GitHub Desktop.
jax-ws maven plugin, to automatically import a wsdl to java
<plugin>
<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>WSImport of WSDL</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>com.trust1t.software.webservice</packageName>
<wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
<wsdlFiles>
<wsdlFile>myWebservice.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment