com.ibm.ws.webservices.tools.WSDL2Java -verbose -role client PPService.wsdl
I
Requires Free Membership to View
When you register, you'll begin receiving targeted emails from my team of award-winning writers. Our goal is to keep you informed on recent service-oriented architecture (SOA) and SOA-related topics such as integration, governance, Web services, Cloud and more.
Hannah Smalltree, Editorial Directorjava.lang.NoClassDefFoundError: org/eclipse/emf/ecore/resource/Resource$Factory at com.ibm.ws.webservices.wsdl.mapping.MappingMetaData.(MappingMetaData.j ava:133) at com.ibm.ws.webservices.wsdl.toJava.Emitter. (Emitter.java:164) at com.ibm.ws.webservices.tools.WSDL2Java.createParser(WSDL2Java.java:239) at com.ibm.ws.webservices.wsdl.WSDL2. (WSDL2.java:129) at com.ibm.ws.webservices.tools.WSDL2Java. (WSDL2Java.java:228) at com.ibm.ws.webservices.tools.WSDL2Java.main(WSDL2Java.java:355) Exception in thread "main"
Can you tell me what is wrong?
BTW: I have found a jar with the class that is missing and put it in the
classpath, but then there is another class missing and so on......
I suspect that the Eclipse Modeling Framework (EMF) hasn't been installed
and configured properly in WSAD. The Web services tools relies on EMF.
This was first published in October 2004