Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5478

documantation has wrong config example

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.7.0
    • Component/s: documentation
    • Labels:
    • Environment:
      all

      Description

      http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
      this example is incorrect the config part should be moved up.
      so this:

      <build>
      <plugins>
      <plugin>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
      <version>1.4</version>
      <executions>
      <execution>
      <goals>
      <goal>wsdl2code</goal>
      </goals>
      <configuration>
      <packageName>com.foo.myservice</packageName>
      <wsdlFile>src/main/wsdl/myservice.wsdl</wsdlFile>
      <databindingName>xmlbeans</databindingName>
      </configuration>
      </execution>
      </executions>
      </plugin>
      </plugins>
      </build>

      should be this:

      <build>
      <plugins>
      <plugin>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
      <version>1.4</version>
      <configuration>
      <packageName>com.foo.myservice</packageName>
      <wsdlFile>src/main/wsdl/myservice.wsdl</wsdlFile>
      <databindingName>xmlbeans</databindingName>
      </configuration>

      <executions>
      <execution>
      <goals>
      <goal>wsdl2code</goal>
      </goals>
      </execution>
      </executions>
      </plugin>
      </plugins>
      </build>

      and the version number could be uped

        Attachments

        1. AXIS2-5478.patch
          2 kB
          Kishanthan Thangarajah

          Activity

            People

            • Assignee:
              kishanthan Kishanthan Thangarajah
              Reporter:
              tibi tibi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified