In order to compile the code from the example.zip file you need to make sure that the ksoap.jar file (see http://www.ksoap.org) on the compiler classpath.
I also have problems with running the example. I changed the MIDlet into simple command prompt application. Now I get the fallowing error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: getProperty0
at com.sun.midp.Configuration.getProperty0(Native Method)
at com.sun.midp.Configuration.getProperty(k:/re/1.0.4_02/MIDP/src/share/
classes/com/sun/midp/Configuration.java:34)
at com.sun.midp.io.InternalConnector.<clinit>(K:/re/1.0.4_02/kvem/midp/s
rc/lime/classes/com/sun/midp/io/InternalConnector.java:91)
at javax.microedition.io.Connector.open(k:/re/1.0.4_02/MIDP/src/share/cl
asses/javax/microedition/io/Connector.java:158)
at org.ksoap.transport.HttpTransport.call(Unknown Source)
at org.ksoap.transport.HttpTransport.call(Unknown Source)
at CashConv.main(CashConv.java:48)
I'm not sure it possible to run it outside of the midlet framework; it seems your error is coming from the SUN jdk classes which are looking for some .DLL file. I suspect that that DLL file is contained in the J2ME package.
Why do you need to run it outside of the MIDLet code in thje frst place?
where to add that dll ( zayit.dll) - got it from j2me lib ?
my program still could not recognize the dll.
thanks,
regds,
Buvana
Exception in thread "main" java.lang.NoClassDefFoundError: com.sun.midp.main.Configuration
at javax.microedition.pim.PIM.getInstance(Unknown Source)
at pimApp.createTodoList(Unknown Source)
at pimApp.main(Unknown Source)