MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sbagmar
Post subject: WSDL2Java generation aborted - ClassNotFoundException  PostPosted: Feb 16, 2011 - 06:38 AM



Joined: Feb 16, 2011
Posts: 1

Hello,

I have a simple calculator class (cleanly compiled and class generated under WEB-INF\classes folder) out of which I need to generate a Websphere JAX-RPC Webservice. I followed steps from the link below -

http://www.myeclipseide.com/documentation/quickstarts/blueedition/blue_jaxrpc/

I have IBM Websphere Application Server v6.1 installed and configured correctly to work with MyEclipse.

I correctly selected "Bottom Up Scenario" while generating the WebService. But it throws the following error:

The following errors occurred while running WSDL2Java. Generation aborted.
16/02/2011 06:18:32 com.ibm.ws.webservices.wsdl.fromJava.Emitter init
SEVERE: Error: java.lang.ClassNotFoundException: com.dwx.cloud.ws.Calc
java.io.IOException: java.lang.ClassNotFoundException: com.dwx.cloud.ws.Calc
at com.ibm.ws.webservices.wsdl.fromJava.Emitter.init(Emitter.java:794)
at com.ibm.ws.webservices.wsdl.fromJava.Emitter.getWSDL(Emitter.java:659)
at com.ibm.ws.webservices.wsdl.fromJava.Emitter.emit(Emitter.java:589)
at com.ibm.ws.webservices.wsdl.fromJava.Emitter.preEmit(Emitter.java:482)
at com.ibm.ws.webservices.wsdl.fromJava.Emitter.emit(Emitter.java:524)
at com.ibm.ws.webservices.wsdl.fromJava.Emitter.emit(Emitter.java:563)
at com.ibm.ws.webservices.tools.Java2WSDL.run(Java2WSDL.java:607)
at com.ibm.ws.webservices.tools.Java2WSDL.main(Java2WSDL.java:653)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
WSWS3752I: (C) COPYRIGHT International Business Machines Corp. 1997, 2006.
WSWS3753I: IBM WebSphere Application Server Release 6.1
WSWS3754I: Web services Java2WSDL emitter.

Kindly assist.
Thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject: RE: WSDL2Java generation aborted - ClassNotFoundException  PostPosted: Feb 17, 2011 - 05:52 AM



Joined: Nov 11, 2010
Posts: 2191

sbagmar,

1) Can you please share your installation details with us from MyEclipse > Installation Summary > Installation Details?

2) Are you trying to generate a JAX-RPC Webservice from an existing java class? or creating a new webservice project,added the Calc class and then trying to generate the Webservice as outlined by the tutorial?

3) Can you give detail steps right from the Java class creation for me to replicate it at my end?

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits