Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Invoking a Web Service from an EclipseMe Cient
Invoking a Web Service from an EclipseMe Cient [message #567566] Mon, 03 November 2008 03:35
Guadalupe is currently offline Guadalupe
Messages: 34
Registered: July 2009
Member
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/MiOpera cion;)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!!
Previous Topic:Getting Started with MTJ screen cast
Next Topic:Problems running MTJ and the new J2ME SDK 3.0
Goto Forum:
  


Current Time: Thu Jul 31 01:44:50 EDT 2014

Powered by FUDForum. Page generated in 0.02083 seconds