Export to GitHub

ksoap2-android - issue #131

Compressed error streams are not being unzipped


Posted on Aug 26, 2012 by Happy Bear

What steps will reproduce the problem? 1. Call a webservice 2. During HttpTransportSE.call(), an IOException occurs 3. If the error stream is compressed, ksoap will attempt to read from it without unzipping it first. This causes the xml parser to fail.

What is the expected output? What do you see instead? Expected: If the server is returning gzipped content, the error stream should be unzipped before reading from it. Actual: The error stream is never unzipped before reading from it.

What version of the product are you using? On what operating system? ksoap2-android-assembly-2.6.5-jar-with-dependencies.jar Android 4.0.4 Android 4.1.1

Please provide any additional information below. I've submitted a pull request on GitHub with a fix for this issue. https://github.com/mosabua/ksoap2-android/pull/27

Comment #1

Posted on Sep 13, 2012 by Swift Hippo

Pull request pulled in. Thank you for the contribution. Will be release with 3.0.0-RC.2

Status: Fixed

Labels:
Type-Defect Priority-Medium