Re: Newbie: Stock Demo not compiling
Sati Hillyer <[email protected]> Mon, 25 Aug 2003 12:41:16 -0700
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <BB6FB46C.8089%[email protected]> |
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 >