title: Generate non-duplex proxy code for a SOAP webservice
body: <p>When I generate a web service proxy class by adding a service reference the code generator implments a proxy which is based on a <code>DuplexClientBase</code> class. This implementation requires a binding configuration that is duplex enabled. Since, when using duplex, only <code>wsDualHttpBinding</code> seems to work.</p>
  
  <p>I would like to generate a class that has no duplex contract. Can I instruct Visual Studio or svcutil.exe to not generate duplex code? The webservice is SOAP based so I could not imagine why I actually would need duplex.</p>
  
  <p>The web.config of the service is as following:</p>
  
  <pre><code>&lt;system.serviceModel&gt;
      &lt;services&gt;
        &lt;service behaviorConfiguration="IncidentBehavior" name="omwWS.ServiceImplementation.Incident"&gt;
          &lt;endpoint address="" binding="customBinding" bindingConfiguration="CustomBinding_IIncident"
            contract="omwWS.ServiceContracts.IncidentAccess" /&gt;
        &lt;/service&gt;
      &lt;/services&gt;
      &lt;bindings&gt;
        &lt;customBinding&gt;
          &lt;binding name="CustomBinding_IIncident"&gt;
            &lt;textMessageEncoding messageVersion="Soap12WSAddressingAugust2004" /&gt;
            &lt;httpsTransport authenticationScheme="Basic" maxReceivedMessageSize="52428800" maxBufferSize="52428800" /&gt;
          &lt;/binding&gt;
        &lt;/customBinding&gt;
      &lt;/bindings&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior name="IncidentBehavior"&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
    &lt;/system.serviceModel&gt;
  </code></pre>