title: Force Spring RestTemplate to use XmlConverter
body: <p>We are integrating with a third party that is sending xml with the content-type header as text/html. We were planning on using Spring's RestTemplate to map it to classes we've generated from xsds, but the RestTemplate fails to find an appropriate converter to use for the content. The third party refuses to fix the content-type because it might break other partners' integration.</p>
  <p>Is there a way with Spring's RestTemplate to force it to use a specific converter?
  We are basically just doing the following:</p>
  <pre><code>RestTemplate restTemplate = new RestTemplate();
  XmlClass xmlClass = restTemplate.getForObject(&quot;http://example.com/&quot;, XmlClass.class);
  </code></pre>
  <p>And get the following exception:</p>
  <blockquote>
  <p>org.springframework.web.client.RestClientException: Could not extract
  response: no suitable HttpMessageConverter found for response type
  [XmlClass] and content type [text/html;charset=ISO-8859-1]    at
  org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:84)</p>
  </blockquote>