M. Arif Wicaksana
2016-02-02 09:13:19 UTC
Dear all,
we used to develop web service using predefined WSDL (attached) on Eclipse.
Our development tools were Eclipse (Luna R2), Tomcat 1.8.0, and Axis2
1.6.x. and it worked fine.
Now, I want to create web service based on the same WSDL file, but using
Axis2 1.7.0 instead of 1.6.4.
I got the following error during WSDL-to-code generation:
Exception occurred during code generation for the WSDL :
java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/XmlSchema
I understand from the release note that Axis2 1.7.0 has upgraded its
XMLSchema hence it is backward incompatible with Axis2 1.6.x. But I am not
sure how can I relate this to my problem. From what I understand, Axis2
complains that XMLSchema is not present. So, I import XMLSchema jar into my
project build path. But the same error still occurs.
Would you mind to point out how to solve this problem?
Thanks!
Regards,
Arif
we used to develop web service using predefined WSDL (attached) on Eclipse.
Our development tools were Eclipse (Luna R2), Tomcat 1.8.0, and Axis2
1.6.x. and it worked fine.
Now, I want to create web service based on the same WSDL file, but using
Axis2 1.7.0 instead of 1.6.4.
I got the following error during WSDL-to-code generation:
Exception occurred during code generation for the WSDL :
java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/XmlSchema
I understand from the release note that Axis2 1.7.0 has upgraded its
XMLSchema hence it is backward incompatible with Axis2 1.6.x. But I am not
sure how can I relate this to my problem. From what I understand, Axis2
complains that XMLSchema is not present. So, I import XMLSchema jar into my
project build path. But the same error still occurs.
Would you mind to point out how to solve this problem?
Thanks!
Regards,
Arif