Hi users, I am forced to use Axis1.4, instead of the new Axis2. I have managed to get the .jws examples up and running without any problem, but I just can't get the samples.attachments.EchoAttachment example to run, I desperately need your help.
My configuration is the following: Linux Ubuntu 6.10 Java 6 update 5 Tomcat 5.5 Axis 1.4 I have managed to deploy and undeploy successfully the EchoAttachmentsService: http://localhost:8180/axis/servlet/AxisServlet And now... Some Services * AdminService (wsdl) o AdminService * Version (wsdl) o getVersion * urn:EchoAttachmentsService (wsdl) o echo o echoDir When I try to send a file I get the following error: [EMAIL PROTECTED]:/usr/share/tomcat5.5/webapps/axis/samples/attachments$ java -cp $CLASSPATH samples.attachments.EchoAttachment -lhttp://localhost:8180/axis/services/urn:EchoAttachmentsServices leaveempty.txt Exception in thread "main" java.lang.NoClassDefFoundError: samples/attachments/EchoAttachment Caused by: java.lang.ClassNotFoundException: samples.attachments.EchoAttachment 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:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Please, help me, I'm a newbie in both Java and Axis. Thank's/Fco -- Francisco Benavides 25240 Saltillo, Coahuila, México Mobile +52 (844) 160 7498
