Re: Newbie: Stock Demo not compiling
Patanjali Babu V <[email protected]> Tue, 26 Aug 2003 09:15:58 +0530
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
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
>
--