This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Description
Change
// let HTTP_INTERNAL_ERROR (500) through because it is used for SOAP faults
if (responseCode == HttpURLConnection.HTTP_INTERNAL_ERROR)
{ isFailure = true; }
to
// let HTTP_INTERNAL_ERROR (500) and HTTP_BAD_REQUEST (400) through because it is used for SOAP faults
if (responseCode == HttpURLConnection.HTTP_INTERNAL_ERROR || responseCode == HttpURLConnection.HTTP_BAD_REQUEST) { isFailure = true; }
This in light of table 20 of the SOAP 1.2 spec, http://www.w3.org/TR/soap12-part2/#http-respbindprocess, including the following entry
env:Sender 400 "Bad Request"
Environment
Java 1.6, 1.7 and 1.8
Affected Versions
[1.3.16]