File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes doubt in webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "doubt in webservices" Watch "doubt in webservices" New topic
Author

doubt in webservices

kanthi kiran
Greenhorn

Joined: Apr 04, 2008
Posts: 12
hi friends,

i have written a web service client and started executing it... but i am getting an exception.

Exception in thread "main" javax.xml.rpc.ServiceException: Failed to create factory: org.apache.axis.client.ServiceFactory
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:79)
at webservice1.Client.main(Client.java:13)
Caused by: java.lang.ClassNotFoundException: org.apache.axis.client.ServiceFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:73)
... 1 more

actually i am executing this sample example in Eclipse europa with JBoss server....
iam not able to understand this exception. can anyone help me...........

thanks & regards,
Kanthi Kiran
pradeep jaladi
Ranch Hand

Joined: Nov 21, 2004
Posts: 65
Hi,

I guess you missed one of the jar files in the class path. Check whether all the jar files which are in classpath


Pradeep.Jaladi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt in webservices