1. Be careful while defining Response object. Use
@XmlRootElement only once at the root element only
2. Attributes should be annotated with
@XmlAttribute and Element should annotated with
@XmlElement annotations
3. Use namespace prefix and namespace URIs at the right places