Re: Newbie: Stock Demo not compiling

Sati Hillyer <[email protected]> Tue, 26 Aug 2003 09:33:29 -0700
Newsgroups gmane.comp.java.enhydra.ksoap
Message-ID <BB70D9E9.8107%[email protected]>
Thank you Patanjali for your help,

I placed the ksoap jar files in the lib folder, but now I have another
error:

Building "Stock"
Error preverifying class com.palm.ksoap.HttpTransport
    VERIFIER ERROR com/palm/ksoap/HttpTransport.invoke()Ljava/lang/Object;:
Cannot find class org/kxml/io/AbstractXmlWriter
com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
Build failed

I have both the kxml.jar file in the lib folder and I unzipped the
ksoap-midp folder in the lib and tmpclasses folder, but I still receive the
errors.

Please help.

Thank you,
Sati


On 8/25/03 8:45 PM, "Patanjali Babu V" <[email protected]> wrote:

> Hi Hillyer,
> It seems you haven't put the ksoap jar file in the lib directory,.
> 
> With Best Regards,
> 
> Patanjali Babu V
> 
> SIP Technologies & Exports Ltd
> G4, Elnet Software City,CPT Road
> Taramani, Chennai 600 113
> India
> 
> Phone    : +91-44-22541401
>  +91-44-22541031
> 
> Fax        : +91-44-22541475
> Website    : http://www.siptech.com
> -----------------------------------------
> 
> 
> 
> Sati Hillyer wrote:
> 
>> I tried with J2ME WTK 1.0.4 and received the same errors, so it seems to not
>> be the toolkit.
>> 
>> I would appreciate any help to get me over this bump.
>> 
>> Bests,
>> Sati
>> 
>> On 8/25/03 11:46 AM, "Sati Hillyer" <[email protected]> wrote:
>> 
>>> Dear All,
>>> 
>>> I am trying to compile the StockQuoteDemo. I have downloaded the files
>>> necessary: StockQuoteDemo.java and ksoap-midp.zip(version 1.2). I'm running
>>> J2ME Wireless Toolkit 2.0. I have placed the java file in the src directory
>>> and unzipped the ksoap, kxml and kobject into the lib folder as told.
>>> 
>>> Unfortunately, it did not compile, I searched the archive for assistance and
>>> placed the class files in the tmpclasses folder, still not working. I
>>> noticed the posted solutions pertain to J2ME Wireless Toolkit 1.0. Does 2.0
>>> version not work with this example? Below is the errors I am receiving:
>>> 
>>> Project settings saved
>>> 
>>> Building "StockQuoteSuite"
>>> 
>>> E:\WTK20\apps\StockQuoteSuite\src\StockQuoteDemo.java:6: package org.ksoap
>>> does not exist
>>> import org.ksoap.*;
>>> ^
>>> 
>>> E:\WTK20\apps\StockQuoteSuite\src\StockQuoteDemo.java:7: package
>>> org.ksoap.http does not exist
>>> import org.ksoap.http.*;
>>> ^
>>> 
>>> E:\WTK20\apps\StockQuoteSuite\src\StockQuoteDemo.java:42: cannot resolve
>>> symbol
>>> symbol  : class SoapObject
>>> location: class StockQuoteDemo
>>>   SoapObject rpc = new SoapObject
>>>   ^
>>> 
>>> E:\WTK20\apps\StockQuoteSuite\src\StockQuoteDemo.java:42: cannot resolve
>>> symbol
>>> symbol  : class SoapObject
>>> location: class StockQuoteDemo
>>>   SoapObject rpc = new SoapObject
>>>                        ^
>>> 
>>> E:\WTK20\apps\StockQuoteSuite\src\StockQuoteDemo.java:47: cannot resolve
>>> symbol
>>> symbol  : class HttpTransport
>>> location: class StockQuoteDemo
>>>   resultItem.setText (""+new HttpTransport
>>>                              ^
>>> 
>>> 5 errors
>>> 
>>> com.sun.kvem.ktools.ExecutionException
>>> Build failed
>>> 
>>> 
>>> Thanks in advance for the help,
>>> Sati Hillyer 
>>> 
>>> _______________________________________________
>>> Ksoap mailing list
>>> [email protected]
>>> http://www.enhydra.org/mailman/listinfo.cgi/ksoap
>>> 
>> 
>> _______________________________________________
>> Ksoap mailing list
>> [email protected]
>> http://www.enhydra.org/mailman/listinfo.cgi/ksoap
>> 
>