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
Thanks to Pascal's pom, I was able to get it working by doing this with the latest versions. In addition:
build-helper-maven-plugin plugin so that my client classes could access the proxy stubs.package config optionoutputDirectoryHere's my pom:
4.0.0
com.yourcompany
axis2-server-proxy
1.0.0
jar
org.apache.axis2
axis2
1.6.3
org.apache.ws.commons.axiom
axiom-api
1.2.15
org.apache.ws.commons.axiom
axiom-impl
1.2.15
axis
axis-wsdl4j
1.5.1
org.apache.xmlbeans
xmlbeans
2.6.0
org.apache.axis2
axis2-wsdl2code-maven-plugin
1.6.3
wsdl2code
target/generated-sources/
src/main/wsdl/services_visa_com_realtime_realtimeservice_v6_PublicV2.wsdl
xmlbeans
org.codehaus.mojo
build-helper-maven-plugin
add-source
generate-sources
add-source
${project.build.directory}/generated-sources/