title: Parsing HttpResponse Content
body: <p>I have HTTP client and server moving Java objects over XML using JAXB. Now, this code works:</p>
  
  <pre><code>ResponseHandler&lt;String&gt; responseHandler = new BasicResponseHandler();
  String message = httpClient.execute(httpPost, responseHandler);
  SoapResponse soapResponse = (SoapResponse)unmarshaller.unmarshal(new CharArrayReader(message.toCharArray()));
  </code></pre>
  
  <p>While this code doesn't:</p>
  
  <pre><code>HttpResponse response = httpClient.execute(httpPost);
  SoapResponse soapResponse = (SoapResponse)unmarshaller.unmarshal(response.getEntity().getContent());
  </code></pre>
  
  <p>I get UnmarshalException with the following linked Exception:
      com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence</p>
  
  <p>Any ideas why I get this problem?</p>
  
  <p>Thanks!</p>