|
What this is
Other links
The source code
------
Maven 2 Java2WSDL Plugin: configuration examples
------
Jochen Wiedmann
<jochen.wiedmann@gmail.com>
------
Goals
The Java2WSDL plugin offers a single goal:
* java2wsdl (default): Reads a java class and generates a WSDL for invoking the classes methods as a web service.
To run the plugin, add the following section to your POM:
------------------------
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2.maven2
<artifactId>axis2-java2wsdl-maven-plugin
<executions>
<execution>
<goals>
<goal>java2wsdl
</goals>
</execution>
<configuration>
<className>com.foo.myservice.MyHandler
</configuration>
</executions>
</plugin>
</plugins>
</build>
------------------------
The plugin will be invoked automatically in the generate-resources
phase. You can also invoke it directly from the command line by
running the command
+--------
mvn java2wsdl:java2wsdl
+---------
The Java2WSDL Goal
By default, the plugin reads the given Java class and creates a
file <<
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
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.