[Eclipseme-users] Invoking a Web Service from a MTJ application
Brought to you by:
setera
From: Guadalupe O. <gob...@un...> - 2008-11-03 08:42:21
|
Hi all, I finally changed my eclipse version and eclipseMe seems to be working ok. I want to invoke a web service from an EclipseMe Application and I have not a clue of how to start. First let me say I am working with RSA (which is over Eclipse) My first attempt was creating the web service client and then try to convert it into a mobile application (through the use of MTJ --> Convert to Midlet Project) I found 4 errors when doing so: First was solved changing the jre to 1.6. I am still dealing with the following three: * Error preverifying class mipaquete.MiServicioService java/lang/NoClassDefFoundError: javax/xml/ws/Service * Error preverifying class mipaquete.ObjectFactory VERIFIER ERROR mipaquete/ObjectFactory.createMiOperacion(Lmipaquete/MiOperacion;)Ljavax/xml/bind/JAXBElement;: Illegal type in constant pool * Type mipaquete.MiServicioPortProxy$Descriptor Error preverifying class mipaquete.MiServicioPortProxy$Descriptor VERIFIER ERROR mipaquete/MiServicioPortProxy$Descriptor.getDispatch()Ljavax/xml/ws/Dispatch;: Illegal type in constant pool I only started to solve the first one. I assumed that I have to add the right .jar to manifest file (please let me know if I am wrong). I tried to do by adding the textual classpath rt.jar, however I am not able to give it the right path: C:\Archivos de programa\IBM\SDP\runtimes\base_v7_stub\java\jre\lib\rt.jar (even though I split the too long sentence into two and I include an space at the beginning of the second, I still get an error when saving) I would appreciate any help A) to solve the existing problems or B) To create a web service client in an EclipseME application through any other method. Thank-you very much in advance, Guadalupe PS Any clue is welcomed!! -- Dr. Guadalupe Ortiz Bellot Assistant Professor Computer Science Department University of Extremadura gob...@un... http://personales.ya.com/gobellot/ Quercus Software Engineering Group http://quercusseg.unex.es |