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>