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

marshallSendAndReceivce bug in WebServiceTemplate

    Details

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

      Description

      The method "marshalSendAndReceive(String uri, final Object requestPayload)" in class "WebServiceTemplate" calls the wrong overloaded method. The parameter "uri" is not used in this call and will be replaced by the "defaultUri" in the called method.

      Wrong:

      public Object marshalSendAndReceive(String uri, final Object requestPayload) {
      return marshalSendAndReceive(requestPayload, null);
      }

      Correct:

      public Object marshalSendAndReceive(String uri, final Object requestPayload) {
      return marshalSendAndReceive(uri, requestPayload, null);
      }

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              martin.koster Martin Koster
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: