Hi Ana, As from here [1] on page 1 we need to specify the correct path to the service classes (this should be ideally the point where your package structure starts). Also this [2] is the reference to the code generator plugins and if you interested here [3] is a tutorial that fully covers both contract first and code first web services development using axis2 eclipse plugins. If you still have problems please forward them also , we are glad to help .
Thanks Lahiru [1] http://ws.apache.org/axis2/tools/1_3/eclipse/servicearchiver-plugin.html [2] http://ws.apache.org/axis2/tools/1_3/eclipse/wsdl2java-plugin.html [3] www.wso2.org/library/1719 On 10/3/07, Suran Jayathilaka <[EMAIL PROTECTED]> wrote: > > Ana Belén Antón Gironés wrote: > > Hi! > > Thank you very much for your help, Suran and Lahiru. > > >First of all, I see that your class uses generics. Please note that Axis2 > only supports simple-types, arrays and beans. Since Axis2 is JDK1.4compliant, > generics are not >supported. > >So what you can do is replace your genericised List arguments with > arrays. > >e.g.: replace List<Class32> with Class32[]. > > > I think I am more confused than I thought :-(. Because of your explanation > I deduce that I should use another web service framework, maybe Apache > Tuscany. Is this right? > > >Your service folder structure looks ok to me. When the eclipse plugin has > created the .aar file, check whether it contains the intended structure. > >(rename the .aar file to .zip and you'll be able to deal with it using > any zip tool, or extract the .aar file somewhere and take a look at the > extracted structure, or do "jar tvf" on the archive). > > Regarding the generation of .aar files. I checked the structure generated > before and I thought that it was wrong, because where is the " > MyService.class"??. The generated structure is: > -MyService.aar > -configuration > - ............. > -lib (the libraries that I described in my latter mail) > -META-INF > -MANIFEST.MF > -services.xml (the same xml that I described in my latter mail) > -plugins > > Thanks, > > Ana. > > > Hi Ana, > Obviously, as members of the Axis2 dev community, we wouldn't be > suggesting that you move to another framework, although that is up to you. > :-) > > Might I ask what you rconfusion is in regards to our suggestions? In > removing generics? > > Also, you can try creating the service archive manually, using the java > jar tool. Again, you are welcome to ask for any help in solving any problems > that may arise. > > Cheers. > Suran > > > -- Thanks Lahiru Sandakith http://sandakith.wordpress.com/ GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC 1AB1 FE5E 7464 1F01 9A0F
