Newbie: Stock Demo not compiling

Sati Hillyer <[email protected]> Mon, 25 Aug 2003 11:46:02 -0700
Newsgroups gmane.comp.java.enhydra.ksoap
Message-ID <BB6FA77A.8074%[email protected]>
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