title: Reset Service can't marshall a jaxb Object without @XmlRootElement
body: <p>I'm developing a web application and i have a Rest Service that produces a xml.  The header looks like this</p>
  
  <pre><code>@RequestMapping(value="/{catalogId}",method= RequestMethod.GET,produces = MediaType.APPLICATION_XML)
  public @ResponseBody
  ResponseEntity&lt;CatalogueType&gt; getCatalog(@PathVariable(value = "catalogId") String catalogId, HttpServletResponse response) throws Exception {
  </code></pre>
  
  <p>The problem is that CatalogueType is a JAXB Object but without @XmlRootElement tag, and for that reason i get HTTP 406 error. I can't modify the return class. How can i make this to work?</p>