Description
Hi folks,
I am working my way through upgrading Axis 2 from 1.6.2 to 1.8.0.
There seems to be a few differences in the JAR dependencies between the two versions but after solving a couple of these, I have hit the error below.
In the Axis 1.8.0 release notes, it states the following:
- https://axis.apache.org/axis2/java/core/release-notes/1.8.0.html
- To improve dependency management, the data binding JARs have been split to separate the code required at build time from the code required at runtime:
- axis2-xmlbeans has been split into axis2-xmlbeans and axis2-xmlbeans-codegen.
After some research, it seems to indicate that I need to add the "axis2-xmlbeans.codegen" JAR file to the classpath for code generation. However, this JAR file does not seem to be part of the Axis 1.8.0 deliverable (the axis2-xmlbeans JAR file is but the "codegen" JAR file is not.
The questions are:
- Is this a defect or deliberate (omit the axis2-xmlbeans-codegen JAR file from the final Axis 1.8.0 deliverable). I see the source for the JAR file is still present alongside the other Axis 2 source (https://github.com/apache/axis-axis2-java-core/tree/master/modules/xmlbeans-codegen)
- Is there any documentation where the JAR dependency differences between the various versions of Axis are listed (JARs removed between versions and why, JARs added and why)?
Thanks,
Fergal
===================================
[JavaFromWSDL] Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: XMLBeans binding extension not in classpath
[JavaFromWSDL] at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:163)
[JavaFromWSDL] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:54)
[JavaFromWSDL] Caused by: java.lang.RuntimeException: XMLBeans binding extension not in classpath
[JavaFromWSDL] at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:90)
[JavaFromWSDL] at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:116)
[JavaFromWSDL] ... 1 more