mosabua/ksoap2-android — pull request #39 by syshex (2013-10-11 17:00:58+00:00)
Title: Enhancement : Easier way of getting Http Response Code on Call() when response code != 200

When the call() method is called and a response code other than 200 is returned from the server, and IOException was created and throw.

In order to handle this unexpected response code on the application one would need to parse the IOException String message and also handle the failure to parse the message.

This is basically an enhancement to the call() methods of HttpTransportSE to throw HttpResponseException when http response code != 200 , and therefore allow for handling in an easier fashion on the application side, without the need for parsing and stuff.

Did this because I need it and also because on stackoverflow people have been suggesting doing 2 calls to the webservice to get the response code : http://stackoverflow.com/questions/10582931/ksoap2-get-http-status-code-for-a-response-of-a-web-service/10583027