title: WCF service for gSOAP client
body: <p>I have received a request to build a Service to handle trafic from a predesigned client.</p>
  
  <p>The documentation stated the service is a SOAP service but I later found out the protocol used by the predesigned client is gSOAP using SOAP 1.2</p>
  
  <p>The issue I get is that when assigning the Binding to <code>basicHttpBinding</code> the error I get i <code>Action '' not supported</code>, since the client does not send the <code>SOAPAction</code> header (as it is not used in SOAP 1.2) and if I set the binding of my WCF service with <code>wsHttpBinfing</code> I get the error</p>
  
  <pre><code>HTTP/1.1 415 
  Cannot process the message because the content type 'text/xml; charset=utf-8' 
  was not the expected type 'application/soap+xml; charset=utf-8'.
  </code></pre>
  
  <p>So basicly it seems he gSOAP client they use sends the SOAP structure of SOAP 1.2 but with the Content-Type of SOAP 1.1</p>
  
  <p>My question in this is how do I get my WCF service to handle the requests from the client.
  (The client cannot be modified in any way)</p>
  
  <p>I have tried setting up a customBinding</p>
  
  <pre><code>&lt;customBinding&gt;
      &lt;binding name="myCustomBinding"&gt;
        &lt;textMessageEncoding messageVersion="Soap12" /&gt;
        &lt;httpTransport/&gt;
      &lt;/binding&gt;
  &lt;/customBinding&gt;
  </code></pre>
  
  <p>with various messageVersion values. But I have yet to find a combination that works.</p>