I have copied my folder in C:\ and it is the same... C:\axis2-1.2\axis2-1.2\bin>java2wsdl -of myService.wsdl -cn C:\PruebaWSDL\bin\eu\myproject\mycomponent\myService
Using AXIS2_HOME: C:\axis2-1.2\axis2-1.2 Using JAVA_HOME: C:\Archivos de programa\Java\jre1.5.0_11 An error occured while generating codejava.lang.ClassNotFoundException: C:\PruebaWSDL\bin\eu\myproject\mycomponent\myService _____ De: Perez Arbulu, Ibai [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 04 de junio de 2008 12:28 Para: [email protected] Asunto: RE: Problem using java2wsdl I Would try with a different classpath. Documents and settings is not advisable at all. _____ De: Adriana Verdejo [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 04 de Junio de 2008 05:23 a.m. Para: [email protected] Asunto: RE: Problem using java2wsdl Dear Pierre, thanks for your fast answer, but I did it before and the error was the same.. I mean... C:\axis2-1.2\axis2-1.2\bin>java2wsdl -of myService.wsdl -cn C:\Documents and Settings\adriana\workspace\PruebaWSDL\bin\eu\myproject\mycomponent\myService Using AXIS2_HOME: C:\axis2-1.2\axis2-1.2 Using JAVA_HOME: C:\Archivos de programa\Java\jre1.5.0_11 An error occured while generating codejava.lang.ClassNotFoundException: C:\Documents My interface is like that.. package eu.myproject.mycomponent; import myproject.mycomponent.mymodule1.otherService1; import myproject.mycomponent.mymodule2.otherService2; public interface myService extends otherService1, otherService2 { } Thanks, Adriana. _____ De: pierre betz [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 04 de junio de 2008 12:04 Para: [email protected] Asunto: Re: Problem using java2wsdl a codejava.lang.ClassNotFoundException: eu.myproject.myComponent.myService is generated when the class is not found. you are using : C:\axis2-1.2\axis2-1.2\bin>java2wsdl -of myService.wsdl -cn eu.myproject.myComponent.myService which describe that you class myService is in the folder C:\axis2-1.2\axis2-1.2\bin\eu\myproject\myComponent. are you sure that you pu the class in this folder ? if not, you have to explain where is you class, like : C:\axis2-1.2\axis2-1.2\bin>java2wsdl -of myService.wsdl -cn yourparentclassdirectory\myService like : if my class is located here : c:\myproject\myClass.class C:\axis2-1.2\axis2-1.2\bin>java2wsdl -of myService.wsdl -cn c:\myproject\myClass does it work?
