Hi,
> I downloaded and compiled the StockQuoteDemo and everything
> works fine on the emulator that ships with MIDP 1.0. In the
> next step I installed the midp-palm-1_0-beta on the palm
> emulator and created a .prc file from the StockQuoteDemo (I
> used exactly the same class-file for midp-emualtor and palm
> emulator !!!), but i get a soap-fault. I've added a
> "transport.debug = true" line to the source and printed out
> a request- and result-dump.
> The request-dumps are equal, but the responses are different:
> [...]
> ResponseDump: [...]
> <soap:Body><soap:Fault><faultcode>soap:Client</faultcode>
> <faultstring>decoding error: electric.xml.ParseException:
> the document does not have exactly one root line 1, char 0:
> ...</faultstring></soap:Fault></soap:Body></soap:Envelope>
I got exactly the same exception by using kSoap0.8 and kXml1.11
out of the Wireless Tooklkit 1.0.3-beta. The same StockQuoteDemo
worked on WTK1.0.1 (after a slight modification in XmlParser).
Maybe I will find the reason for the problem by having a deeper
look into the new WTK.
Regards,
Thomas
--
Dipl.-Inform. Thomas Strang
mailto:thomas.strang@dlr.de
http://www.dlr.de/kn/kn-s/strang
DLR Oberpfaffenhofen
Institute of Communications and Navigation
PO Box 1116
82230 Wessling-Oberpfaffenhofen
Tel: +49-8153-28-1354
Fax: +49-8153-28-1871
|