I am new to the web services and using Eclipse indigo to do the operation, I have one wsdl file by which i have created the client(java) files, Now i am using those files for my java files which is getting stub object from xxxxxbindingstub.java file and sending the request(setRequest.java) in order to get the response from the web service.
But I am getting the below error:-
java.lang.reflect.InvocationTargetException
java.lang.NoClassDefFoundError: org/apache/axis/client/Stub
:(:(
Please help me out by suggesting something.
Thanks
@rs
If you are writing client application, I would suggest you to use
wsimport -keep http://url.cominstead ofwsdl2java. It will generate stub classes. This util is inbinfolder of your JDK package. If you still want to use Axis, check appropriate jar files in your classpath