Skip to main content

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 08:35
Guadalupe Mising name is currently offline Guadalupe Mising nameFriend
Messages: 35
Registered: July 2009
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
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.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
B) To create a web service client in an EclipseME application through any
other method.

Thank-you very much in advance,
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: Mon Jun 25 10:27:01 GMT 2018

Powered by FUDForum. Page generated in 0.01376 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top