title: Change Content-Type header for java SOAP Client
body: <p>I have to set the Content-Type header for client request to <code>Text/xml</code>, by default it is <code>Content-type: text/xml; charset=utf-8</code></p>
  
  <p>I am setting the header via</p>
  
  <pre><code>   HashMap headers = new HashMap&lt;String, List&lt;String&gt;&gt;();
  
     headers.put("X-Client-Version", Collections.singletonList("1.0-RC"));
     headers.put("Content-type", Collections.singletonList("Text/xml;"));
  
     ((BindingProvider) h).getRequestContext().put(MessageContext
     .HTTP_REQUEST_HEADERS, headers);
  </code></pre>
  
  <p>The <code>X-Client-Version</code> header is successfully set but <code>Content-Type</code> remains with it's default value of <code>text/xml; charset=utf-8</code></p>
  
  <p>How can i change the content type header ? </p>