Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-137

WebServiceTemplate hasFaut skips check for fault in response if the connection implements FaultAwareWebServiceConnection

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 RC1
    • Fix Version/s: 1.0 RC2
    • Component/s: Core
    • Labels:
      None

      Description

      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();
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arjen.poutsma Arjen Poutsma
                Reporter:
                pdep Pablo Depietri
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: