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

HTTP-binding miss URL parameters for GET requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.5, 2.2.2
    • 2.1.6, 2.2.3
    • JAX-RS
    • None

    Description

      The problem occurs with HTTP-binding implementation. When a client makes a GET request and the URL has some parameters, all the parameters that the java implementation of that services are null.

      There is a jar attached with sample code to reproduce the problem. That code works with CXF 2.0.11, but doesn't work with 2.1.5 or 2.2.2.

      The server class is "demo.resful.server.Server", run it first. Then run the client that is "demo.resful.client.Client". The .jar does NOT contain the libraries to run.

      The client writes the response to system out and it should be:

      <ns1:sayHiResponse xmlns:ns1="http://jivesoftware.com/clearspace/webservices"><return>Hello Daniel</return></ns1:sayHiResponse>

      But with version 2.1.5 or 2.2.2 you get

      <ns2:sayHiResponse xmlns:ns2="http://jivesoftware.com/clearspace/webservices"><return>Hello null</return></ns2:sayHiResponse>

      Attachments

        1. HTTP-binding_Test.jar
          7 kB
          Gabriel Guardincerri

        Activity

          People

            dkulp Daniel Kulp
            gguardin Gabriel Guardincerri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: