goals.apt

来自「开源的axis2框架的源码。用于开发WEBSERVER」· APT 代码 · 共 55 行

APT
55
字号
 ------
 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</groupId>
        <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>java2wsdl</goal>
            </goals>
          </execution>
          <configuration>
            <className>com.foo.myservice.MyHandler</className>
          </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 <<<target/generated-resources/java2wsdl/service.xml>>>. The
  Java class is given by the configuration element <<<className>>>
  above.

  See the detailed documentation on {{{configuration.html}properties}} for
  how to configure the goal.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?