title: WSE 3.0 set content type
body: <p>I've a simple question, for you, that I just can't seem to get my head around.</p>
  
  <p>The situation is the following:</p>
  
  <ul>
  <li>We create and send a request to a web service, using WSE 3.</li>
  <li>The web service is written in Java.</li>
  </ul>
  
  <p>Most of the things are fine, but I can't seem to have an impact on the ContentType of either the WebResuest or WebResponse and that's causing some problems.</p>
  
  <p>The errormessage I keep getting is the following:</p>
  
  <p>Client found a response content type of ' application/xop+xml;type="text/xml; charset=utf-8" ' but expected 'text/xml'.
  The request failed with the error message: ....</p>
  
  <p>In the details of the error message it has the response to our call from the server and it's coming through properly.
  Obviously it's not good as it is at the moment as it's coming through an exception :).</p>
  
  <p>So, how could I set the expected content type for the response? </p>
  
  <p>If I'm correct, the Request and the Response in WSE 3.0 has to have the same ContentType. So I thought I would try to set the request.Headers[HttpRequestHeader.ContentType] to the expected one, but with no luck. (also, I can set the HttpWebRequest's contenttype in quite a few places, but none of them seem to do the trick)</p>