cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Guardincerri (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2294) HTTP-binding miss URL parameters for GET requests
Date Tue, 16 Jun 2009 21:38:07 GMT
HTTP-binding miss URL parameters for GET requests
-------------------------------------------------

                 Key: CXF-2294
                 URL: https://issues.apache.org/jira/browse/CXF-2294
             Project: CXF
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.2.2, 2.1.5
            Reporter: Gabriel Guardincerri
             Fix For: 2.0.12, 2.2.3


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>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message