it:ad:wcf:howto:generate_soap11_server_endpoints

IT:AD:WCF:HowTo:Generate Soap11 Server Endpoints

Summary

Using WCF to emulate WebServices – which used Soap11 – can be a bit daunting at first.

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:

  • /home/skysigal/public_html/data/pages/it/ad/wcf/howto/generate_soap11_server_endpoints.txt
  • Last modified: 2023/11/04 02:02
  • by 127.0.0.1