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

fix documentation on the axis2 website

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1, 1.1.1, 1.2, 1.3
    • 1.4
    • None
    • Axis2 website

    Description

      The right configuration inside the POM should be for example something like this:
      <plugin>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
      <version>1.3</version>
      <executions>
      <execution>
      <goals>
      <goal>wsdl2code</goal>
      </goals>
      <configuration>
      <packageName>com.your.package</packageName>
      <wsdlFile>src/main/wsdl/yourfile.wsdl</wsdlFile>
      <databindingName>xmlbeans</databindingName> <!-- or whatever you need -->
      </configuration>
      </execution>
      </executions>
      </plugin>

      NOT this:

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

      In particular configuration belongs inside execution not executions. This is causing a lot of confusion for some people out there...

      Attachments

        Issue Links

          Activity

            People

              charitha Charitha Kankanambe
              hadolphs Hellmut Adolphs
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: