Showing posts from November, 2008

Axis2 java2wsdl maven plugin

I demonstrated the usage of Maven2 WSDL2Code plugin in a previous post . Apache Axis2 provides with a Java2WSDL maven2 plugin as well. Maven2 Java2Wsdl plugin can be used to generate WSDL from a java class. The following steps will help you to create a wsdl from a java class using Axis2 java2wsdl maven plugin. Step 1 Create a mavan project (See step 1 of ). Create a java class in the source directory of your maven project. (i.e:- Create class at \src\main\java\com\test directory) Step 2 Update the pom.xml of your maven project as follows. <project xmlns="" xmlns:xsi="" xsi:schemaLocation=""> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>calculator</artifactId> <version>1.0-SNAPSHOT</version> <name>calculato