Skip to content

WebServiceTemplate hasFaut skips check for fault in response if the connection implements FaultAwareWebServiceConnection [SWS-137] #293

Closed
@gregturn

Description

@gregturn

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:

Referenced from: commits 06cc637

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions