axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danko Desancic <ddesan...@northernobjects.com>
Subject Re: Java2WSDL problem
Date Wed, 25 Feb 2004 18:11:04 GMT
I figured it out. Thanks anyway

Pathuru, Kiran wrote:

>run it from C:\devWS  directory like
>java -classpath test ......................
>
>regards,
>kiran pathuru
>
>-----Original Message-----
>From: Danko Desancic [mailto:ddesancic@northernobjects.com]
>Sent: Wednesday, February 25, 2004 4:26 PM
>To: axis-user@ws.apache.org
>Subject: Java2WSDL problem
>
>
>I am new to the axis and I have a problem with Java2WSDL. I've created a 
>simple service (1 method, returns int, no params) and deployed it. It's 
>listed as one of available services.
>I want to create wsdl file and running Java2WSDL produces the following:
>
>
>C:\devWS\test>java org.apache.axis.wsdl.Java2WSDL -o us.wsdl 
>-l"http://localh:8080/axis/services/MyUserService" -n "urn:.Test" 
>-p"test" "urn:Test" test.UserService
>java.lang.ClassNotFoundException: test.UserService
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:141)
>        at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:197)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
>        at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:112)
>        at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:1477)
>        at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:500)
>        at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:542)
>
>
>UserService is in the package test and my CLASSPATH is
>CLASSPATH=C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\saaj.jar;C:\axis-1_1\lib\
>commons-logging.jar;C:\axis-1_1\lib\commons-discovery.jar;C:\axis-1_1\lib\ws
>dl4j.jar
>;C:\Tomcat 5.0\common\lib\servlet-api.jar;C:\Tomcat 
>5.0\webapps\axis\WEB-INF\lib\jaxrpc.jar
>
>Any help?
>
>  
>


Mime
View raw message