CXF sample "restful_dispatch" Readme.txt need to be updated
-----------------------------------------------------------

                 Key: CXF-3860
                 URL: https://issues.apache.org/jira/browse/CXF-3860
             Project: CXF
          Issue Type: Bug
          Components: Samples
            Reporter: Willem Jiang
            Assignee: Willem Jiang
            Priority: Trivial
             Fix For: 2.3.8, 2.4.4, 2.5


A HTTP GET request to URL 
http://localhost:9000/customerservice/customer?id=1234 
returns a customer instance whose id is 1234. The XML document returned:
<Customer>
<id>1234</id>
<name>John</name>
<phoneNumber>123456</phoneNumber>
</Customer>

A HTTP POST request to URL http://localhost:9000/customerservice/customer 
with the data:

<Customer>
<id>1234</id>
<name>John</name>
<phoneNumber>123456</phoneNumber>
</Customer>

updates customer 1234 with the data provided.

==================================================================
vs. client output:

Invoking server through HTTP GET to query customer info

Response ******
<Customer>
<name>John</name>
<id>123456</id>
</Customer>
Invoking through HTTP POST to update customer using JAX-WS Dispatch

Response ******
<Customer>
<name>John</name>
<id>123456</id>
</Customer>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to