aspose 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

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "doubt in webservices" Watch "doubt in webservices" New topic

doubt in webservices

kanthi kiran

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(
at webservice1.Client.main(
Caused by: java.lang.ClassNotFoundException: org.apache.axis.client.ServiceFactory
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at javax.xml.rpc.ServiceFactory.newInstance(
... 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

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

Don't get me started about those stupid light bulbs.
subject: doubt in webservices