example of axis2 web services client using maven

Asked on January 18, 2014
Please provide me any example of axis2 web services client which is being developed using maven. I need to generate java files using maven and not by axis2 command wsdl2java.

Replied on January 18, 2014
Find the URL which is displaying client development using mavnen.
http://www.concretepage.com/webservices/axis2-code-first-approach-web-services-in-java
You need to use below plugin to genertae java resources
<plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> <version>1.6.2</version> <executions> <execution> <goals> <goal>wsdl2code</goal> </goals> <configuration> <packageName>com.test</packageName> <wsdlFile>test.wsdl</wsdlFile> </configuration> </execution> </executions> </plugin>