JAXB supportThe request and response can be marshalled and unmarshalled to/from a Java object using JAXB. There are a number of ways to tell to the JAXB provider how objects can be serialized. The simplest way is to mark a given type with @XmlRootElement annotation. For example: @XmlRootElement(name = "Customer") public class Customer { private String name; private long id; public Customer() { } p