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

Header values are lost

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.4
    • 3.2.5
    • Transports
    • None
    • Windows 7

      Java 1.8.0_152

      SoapUI 5.2.1

    • Unknown

    Description

      When a request is made by WebClient to a service that returns several headers of the same name but with different cases, e.g.: 

      "Set-Cookie" with value "aaa"
      "set-cookie" with value "bbb"
      "SET-COOKIE" with value "ccc"

      then the response object contains only one header value, all other values are lost.

      The issue  is not reproducible in all cases, but only with some service providers and is probably caused by low-level details of provider implementation. 

       

      In the attachment there is a SoapUI REST mock service and CXF WebClient-based consumer with which the issue is reproducible.

       

      Attachments

        1. consumer.zip
          5 kB
          Vladimir Bogatyrov
        2. rest_mock_provider_soapui_project.xml
          3 kB
          Vladimir Bogatyrov

        Activity

          People

            dkulp Daniel Kulp
            Bogatyrov Vladimir Bogatyrov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: