| Package | Description |
|---|---|
| org.apache.servicemix.examples.cxf.jaxrs |
| Modifier and Type | Method and Description |
|---|---|
Customer |
CustomerService.getCustomer(String id)
This method is mapped to an HTTP GET of 'http://localhost:8181/cxf/crm/customerservice/customers/{id}'.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
CustomerService.addCustomer(Customer customer)
Using HTTP POST, we can add a new customer to the system by uploading the XML representation for the customer.
|
javax.ws.rs.core.Response |
CustomerService.updateCustomer(Customer customer)
Using HTTP PUT, we can can upload the XML representation of a customer object.
|
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.