Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1, 1.1.1, 1.2, 1.3
-
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
- is duplicated by
-
AXIS2-3307 Incorrect configuration in maven-wsdl2code-plugin.html doc
- Resolved
- relates to
-
AXIS2-3288 Maven2 WSDL2Code Plug-in Guide has incorrect and missing descriptions.
- Resolved