Reputation: 22815
I'm trying to create a web service client using Axis2. I would like to use Maven 2 to generate the necessary classes from the WSDL I have but the documentation for the wsdl2code plugin isn't helping me. Does anyone have a working example of a basic pom.xml that will generate classes from a WSDL?
Upvotes: 0
Views: 467
Reputation:
Maybe this other post can help you.
The Axis2 code generation module should be the main player in this and you can add a pom entry like the following for it:
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-codegen</artifactId>
<version>1.5.1</version>
</dependency>
Maven transitive dependencies should then cover the rest.
Upvotes: 1