I am using Tomcat 7 server and Axis 2 1.7 runtime in eclipse.
I have a WSDL file which is generated in Axis 2.
so go for Topdown approach to generate a webse
In my case this error is occasioned for using axis2-1.7.3, my solution was change and use axis2-1.6.4
Solved this issue: in webContent/WEB-INF/lib
add xmlschema-core-2.2.1.jar
;
then, ensure it is added in Web App Libraries on your build path; finally close and reopen eclipse before generating web service client.
This worked for me.