DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9239>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9239 Java2WSDL example in user guide fails following install/tutorial steps Summary: Java2WSDL example in user guide fails following install/tutorial steps Product: Axis Version: beta-2 Platform: PC URL: user-guide.html OS/Version: Windows NT/2K Status: NEW Severity: Blocker Priority: Other Component: Samples AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] (New user, using JDK 1.4 and Tomcat 4.0) I followed the steps in install guide, so Axis "webapps" folder has been deployed in Tomcat and I've put "axis.jar", "commons-logging.jar", "log4j- core.jar", and "tt-bytecode.jar" in "jre/lib/ext". The test at the end completed successfully. Examples 1-5 from the user guide also work successfully but when I follow the instructions for Example 6 a class fails to load. I'm executing the command from my Axis folder, and have tried various classpaths to no avail. The command and message is: F:\Apps\JavaSDKs\Axis>java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl -l"http:// localhost:8080/axis/services/WidgetPrice" -n "urn:Example6" -p"samples.userguid e.example6" "urn:Example6" samples.userguide.example6.WidgetPrice java.lang.ClassNotFoundException: samples.userguide.example6.WidgetPrice at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:992) at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:354) java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at org.apache.axis.description.ServiceDesc.setImplClass(ServiceDesc.java :198) at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:214) at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:282) at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:358) (Clearly the first exception is the cause of the second) Since I have a set of Java interfaces I'd like to convert to a web service I'd prefer to use the method shown in the user guide. It's my belief that I've configured my system correctly because I followed the documentation closely and checked that everything worked at each step. Therefore, I can only assume there is something missing from the tutorial or another problem such as my interpretation of it.