[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ksoap: How to run the StockQuote example?


I downloaded the JavaTM 2 Platform Micro Edition, Wireless Toolkit 1.0.1
for Windows and wanted to try out the StockQuote example. But I didn't
succed because I couldn't add the kSOAP.zip(Version 0.8) and
kXML.zip(Version1.11) to the project.

Then I tried to add all the source files of kXML and kSOAP to my project
with the SoapStockDemo.java file. When I try to compile and verify the
files I get the following error during verifying:
----------error message-----------
Project settings saved

Building "SoapTests"

C:\java\J2mewtk\apps\SoapTests\src\org\kxml\parser\XmlParser.java:124:
Can't reference line before the superclass constructor has been called.

	    super (msg, chained, line, column);

	                         ^

C:\java\J2mewtk\apps\SoapTests\src\org\kxml\parser\XmlParser.java:124:
Can't reference column before the superclass constructor has been
called.

	    super (msg, chained, line, column);

	                               ^

2 errors

com.sun.kvem.ktools.ExecutionException

Build failed
----------error message---------

Even though I tried to workaround this error, I still had problems
preverifying classes from the "java.lang" package inside kSOAP.

I don't know what I'm doing wrong.
Did somebody could run the example on a Windows(2000) machine with the
Wireless Kit from Sun? Or is there an other way to to do it?

Thanks for your help
Michael Svoboda