Closed
Description
Pablo Depietri opened SWS-137 and commented
The method should check for a fault in the connection and then in the response as follows:
protected boolean hasFault(WebServiceConnection connection, WebServiceMessage response) throws IOException {
if (connection instanceof FaultAwareWebServiceConnection) {
if (((FaultAwareWebServiceConnection) connection).hasFault())
return true;
}
return response.hasFault();
}
Affects: 1.0 RC1
Issue Links:
- WebServiceTemplate hasFaut skips check for fault in response if the connection implements FaultAwareWebServiceConnection [SWS-330] #484 WebServiceTemplate hasFaut skips check for fault in response if the connection implements FaultAwareWebServiceConnection
Referenced from: commits 06cc637