Hello, I'm trying to generate webservice client with axis2 and maven so i followed some tutorials and put some code lines in my pom.xml :
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<packageName>my.packageName</packageName>
<wsdlFile>src/main/resources/wsdl/service.wsdl</wsdlFile>
<databindingName>xmlbeans</databindingName>
<generateAllClasses>true</generateAllClasses>
<generateServerSide>true</generateServerSide>
<generateServerSideInterface>true</generateServerSideInterface>
<generateServicesXml>true</generateServicesXml>
<serviceName>service</serviceName>
</configuration>
</execution>
</executions>
</plugin>
I've added the dependencies :
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-api</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>axis</groupId>
<artifactId>axis-wsdl4j</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.3.0</version>
</dependency>
The fact is that when i compile with "mvn clean install" or "mvn clean compile" i got the message:
[INFO] Internal error in the plugin manager executing goal 'org.apache.axis2:axi s2-wsdl2code-maven-plugin:1.5.1:wsdl2code': Unable to load the mojo 'org.apache. axis2:axis2-wsdl2code-maven-plugin:1.5.1:wsdl2code' in the plugin 'org.apache.ax is2:axis2-wsdl2code-maven-plugin'. A required class is missing: org/apache/axis2 /wsdl/codegen/CodeGenerationException org.apache.axis2.wsdl.codegen.CodeGenerationException
Can someone help me please?