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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.5, 2.4.4, 2.3.8
    • Samples
    • None
    • Unknown

    Description

      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>

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: