same answer :) or try with your path beetwen " " like "c:\document and... "
2008/6/4 Perez Arbulu, Ibai <[EMAIL PROTECTED]>: > 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:* axis-user@ws.apache.org > *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:* axis-user@ws.apache.org > *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? > > > > > > > > > > >