Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6699

DefaultAddress not set in HTTPConduit class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.7
    • Fix Version/s: 3.1.5, 3.0.8, 3.2.0
    • Component/s: Transports
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      With CXF-6404 changes to class HTTPConduit were introduced, which leads to regression errors.
      Commit 1b7e0dfc9c2eb3249ec12624ef3aff473424265c removes the setting of the variable result with the DefaultAddress in line 682.

      When in the latest implementation of method setupAddress() only QUERY_STRING is set, in line 691 following address will be set:
      result = result + "?" + queryString;
      To receive a valid address, result must be set before. Therefore add after line 684: result = defaultAddress.getString();

      Section should look this way:
      if (defaultAddress != null) {
      result = defaultAddress.getString();
      message.put(Message.ENDPOINT_ADDRESS,
      defaultAddress.getString());
      }

      Best regards
      Kai

        Attachments

          Activity

            People

            • Assignee:
              ay Akitoshi Yoshida
              Reporter:
              kairo Kai Rommel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: