I try to use axis2 (1.5.1) version to generate java codes from wsdl files, but I can\'t figure out what is the correct pom.xml
It's maybe not optimal but the following pom.xml seems to allow the generated code to be compiled:
4.0.0
com.stackoverflow
Q2888422
1.0-SNAPSHOT
...
org.apache.axis2
axis2
1.5.1
org.apache.ws.commons.axiom
axiom-api
1.2.6
org.apache.ws.commons.axiom
axiom-impl
1.2.6
axis
axis-wsdl4j
1.5.1
org.apache.xmlbeans
xmlbeans
2.3.0
...
org.apache.axis2
axis2-wsdl2code-maven-plugin
1.5.1
wsdl2code
src/main/resources/wsdl/stockquote.wsdl
xmlbeans
a.bc
This pom.xml is the result or try and error plus some googling, I couldn't find a single official or unofficial resource with a working setup. Seriously, why the hell is it so hard to setup an Axis2 project? One more reason I don't like Axis.