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

Re: Ksoap: running StockQuoteDemo on Palm


> I've some further information about my problem runnig ksoap on the palm emulator. I've sniffed the
> HTTP-packets of the example running on the MIDP emulator and the palm emulator. I think the
> implementiation of HTTP in the palm-MIDP is responsible for the difficulties:
> 
> is it possible that the "other root" is the "1f6" in line 1, char 0 and confusing the xml-parser
> on the server ?
> 
> - in the HTTP-spec I read that the "1f6" must have something to do with the "Transfer-Encoding:
> chunked".
>   Is the real problem, that the soap-server doesn't understand this?
> 
> - what is the meaning of "Connection: close"?

Yes, the chunked encoding seems responsible for the problem. 
Eric Giguere posted on kvm-interest that the problem can be 
avoided by not calling flush. Perhaps it's worth a try to
disable the os.flush () line in HttpTransport.

"Connection: close" means that the connection is
not kept open and reused for another request. 

Best,
Stefan



-- 
Stefan Haustein             
Univ. Dortmund, FB 4, LS 8   tel: +49 231 755 2499
Baroper Str. 301             fax: +49 231 755 5105
D-44221 Dortmund (Germany)   www-ai.cs.uni-dortmund.de