I used the sample HelloWorld and just modified it to use my own class names. I'm using 
JBOSS 4 with Eclipse 3.0. I keep getting the following when the build script runs.

Buildfile: C:\Java\build\webServiceBuild.xml
validate:
fail_if_not_valid:
prepare:
wsdl:
     [java] java.lang.ClassNotFoundException: recvOrder
     [java] at java.net.URLClassLoader$1.run(Unknown Source)
     [java] at java.security.AccessController.doPrivileged(Native Method)
     [java] at java.net.URLClassLoader.findClass(Unknown Source)
     [java] at java.lang.ClassLoader.loadClass(Unknown Source)
     [java] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     [java] at java.lang.ClassLoader.loadClass(Unknown Source)
     [java] at java.lang.ClassLoader.loadClassInternal(Unknown Source)
     [java] at java.lang.Class.forName0(Native Method)
     [java] at java.lang.Class.forName(Unknown Source)
     [java] at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:197)
     [java] at java.security.AccessController.doPrivileged(Native Method)
     [java] at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
     [java] at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:112)
     [java] at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:1477)
     [java] at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:500)
     [java] at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:542)
     [java] Java Result: 1
war:
dist:
     [copy] Copying 1 file to C:\packages\jboss-4.0.0\server\default\deploy
main:
BUILD SUCCESSFUL
Total time: 22 seconds


This is the build script: You will notice that the compile etc is commented out. I 
have another ant script which does all my compiling. The class is compiled, and in the 
acts.jar which is in the classpath. I dont get it.


















<!-- the other jars for axis, servlets, etc are added to the classpath 
-->







































<!-- set the classpath for compiling files -->


<!-- now copy across the files










 -->


<!-- compile the code 









 -->

<!-- 

 -->

<!-- now build the wsdl file -->












<!-- now build the war file -->















<!-- for ease of checking that all of the contents are correct



 -->

<!-- now deploy the war file --> 




<!-- run the client





 -->









View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851347#3851347

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851347


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to