alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

 ------
 Maven 2 WSDL2Code Plugin: configuration examples
 ------
 Jochen Wiedmann 
 <jochen.wiedmann@gmail.com>
 ------

Goals

  The WSDl2Code offers a single goal:

   * wsdl2code (default): Reads the WSDL and generates code.

  To run the plugin, add the following section to your POM:

------------------------
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.axis2.maven2
        <artifactId>axis2-wsdl2code-maven-plugin
        <executions>
          <execution>
            <goals>
              <goal>wsdl2code
            </goals>
          </execution>
          <configuration>
            <packageName>com.foo.myservice
          </configuration>
        </executions>
      </plugin>
    </plugins>
  </build>
------------------------

  The plugin will be invoked automatically in the generate-sources
  phase. You can also invoke it directly from the command line by
  running the command

+--------
  mvn wsdl2code:wsdl2code
+---------


The WSDL2Code Goal

  By default, the plugin reads the file <<>.
  Sources for the Java programming language and the ADB data binding are
  generated into <<>.
  Note the configuration element <<> above, which sets
  the package name, thus a subdirectory.

  See the detailed documentation on {{{configuration.html}properties}} for
  how to configure the goal.
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.