Hi Roberto,
You should specify classpath of your ch.montefiore.Stock class using -cp
option as follows.
Assuming your class file is located at /Axis2_Home/bin;
java2wsdl -cn ch.montefiore.Stock -cp .
Try the above and let me know.
regards
Charitha
[EMAIL PROTECTED] wrote:
Hi list,
Im very new to Axis2 so maybe I didn't understand some fondamentals...
I got an annoying problem, I tried before write to check in the mailing
list but I couldn find anything that could help me. So this is what happen
I got a simply class just for test stuff..
package ch.montefiore;
public class Stock {
public String getList(){
...
return strStockList;
}
}
I put the Stock.class under ../ch/montefiore
from command line I write:
java2wsdl -cn Stock
or java2wsdl -cn ch.montefiore.Stock
but all the time I got this error:
An error occured while codejava.lang.ClassNotFoundException: Stock
My enviroment variable are:
JAVA_HOME=C:\Programmi\Java\Jdk1.6.0
AXIS2_HOME=C:\Programmi\Apache Software Foundation\Tomcat
5.5\webapps\axis2-1.1.1
My os:
WINDOWS XP (unfortunately..)
Hope that somebody can help me...
Cheers
Roberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]