Open GoogleCodeExporter opened 9 years ago
I'am analyze my problem. Exception created in method HttpTransportSE.call on
code like this:
if (status != 200) {
throw new HttpResponseException("HTTP request failed, HTTP status: " + status, status);
}
InputStream is;
if (gZippedContent) {
is = getUnZippedInputStream(new BufferedInputStream(connection.openInputStream(), contentLength));
} else {
is = new BufferedInputStream(connection.openInputStream(), contentLength);
}
}
catch (IOException e)
{
InputStream is;
if (gZippedContent) {
is = getUnZippedInputStream(new BufferedInputStream(connection.getErrorStream(), contentLength));
on server response header ContentLenght = 0, http response code = 413, then is
= getUnZippedInputStream(new BufferedInputStream(connection.openInputStream(),
contentLength)); throw IllegalArgumentException - if size <= 0.
Please check ContentLenght before create and read Buffer.
Original comment by budaevav
on 30 Jan 2014 at 9:45
Ksoap v3.1.1
Original comment by budaevav
on 30 Jan 2014 at 10:00
I committed a potential fix to master. Can you test it out?
Original comment by mosa...@gmail.com
on 30 Jan 2014 at 5:35
Yes. Where i can download bild or source to check it?
Original comment by budaevav
on 31 Jan 2014 at 7:32
https://code.google.com/p/ksoap2-android/wiki/SourceCodeHosting?tm=4
Original comment by mosa...@gmail.com
on 14 Feb 2014 at 5:14
[deleted comment]
The project is migrating to github. If you believe this issue is still valid
and should be tracked please file a new issue at
https://github.com/simpligility/ksoap2-android/issues
Original comment by mosa...@gmail.com
on 7 Aug 2015 at 5:35
Original issue reported on code.google.com by
budaevav
on 30 Jan 2014 at 7:28