I've written a webservice client which uses ksoap2. When I run a test
program from outside of Android everything works without a problem,
however when I issue the SOAP requests from within Android then every
2nd request seems to fail, throwing the following error (copied from
the Dalvik Debug Monitor):
09-29 18:35:22.116: ERROR/class com.garethwestern.android.SoapTest
(790): unexpected type (position:END_DOCUMENT n...@1:0 in
java.io.inputstreamrea...@437e73a8)

When I step through the code from within the IDE everything seems to
run ok until ksoap2 tries to parse the response, at which point the
aforementioned error is thrown because the HTTP response is empty.

Unfortunately the webservice is over HTTPS so I am unable to easily
use something like fiddler or wireshark to check the exact responses
and requests, but as mentioned it works without a problem outside
Android, and every 2nd request without fail from within.

Does anyone have any suggestions as to how I can debug this further?

Thanks,

Gareth

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to