IT:AD:WCF:HowTo:Generate Soap11 Server Endpoints
Summary
Using WCF to emulate WebServices – which used Soap11 – can be a bit daunting at first.
Process
Notice the endpoint below, which states that the binding is a customBinding, and then references it:
<system.serviceModel>
<behaviors>
<!-- add default (no-name) serviceBehavior to allow meta-->
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<customBinding>
<binding name="WsHttpSoap11" >
<textMessageEncoding messageVersion="Soap11" />
<httpTransport/>
</binding>
</customBinding>
</bindings>
<services>
<service name="App.Legacy.API.Soap.SOAP_2SoapPort">
<endpoint
binding="customBinding"
bindingConfiguration="WsHttpSoap11"
contract="ISOAP_2SoapPort"
/>
</service>
</services>
</system.serviceModel>
See the following link for more information on what values can be used for messageVersion: