This sample demonstrates how to implement content negotiation in the Application Server. Content negotiation is a mechanism which allows to maintain multiple representations of the same resource, and serve the particular representation relevant to a given request and what the requesting server needs.
Infor
For more information about content negotiation, refer to http://en.wikipedia.org/wiki/Content_negotiation
The REST server provides the following services:
<Customer> <id>123</id> <name>John</name> </Customer>
{"Customer":{"id":"123","name":"John"}}
{"Customer":{"id":"123","name":"John"}}