THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
{"Customer ":{"id":"123","name":"john"}} |
DOMSource support
You can also receive the request as a DOMSource object or return a DOMSource object as response:
Code Block | ||||
---|---|---|---|---|
| ||||
{code:java} h3. DOMSource support You can also receive the request as a DOMSource object or return DOMSource object as response: {code:java} @UriTemplate("/bookstorecustomerservice/") public class BookStoreCustomerService { @HttpMethod("GETPUT") @UriTemplate("/customers/{customerId}/") public javax.xml.transform.dom.DOMSource getCustomer(@UriParam("customerId") String idupdateCustomer(javax.xml.transform.dom.DOMSource ds) { .... } } |
Configuring JAX-RS services
...