Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<configuration>
    <system.serviceModel>
        <bindings>
            <customBinding>
                <bindingname="Soap11Http">
                    <textMessageEncodingmessageVersion="Soap11"writeEncoding="utf-8" />
                    <httpTransport />  <!-- If client certificate is required, use '<httpsTransport requireClientCertificate="true" />' instead, -->
                </binding>
            </customBinding>
        </bindings>
        <client>
            <endpoint
            address="http://test1.ekstern-test.nspop.dk:8080/sts/services/Sosi2OIOSam"
            behaviorConfiguration="AddressingBehavior"
            binding="customBinding"
            bindingConfiguration="Soap11Http"
            contract="System.ServiceModel.Security.IWSTrustChannelContract"
            name="GWFetchCard"
            />
        </client>
        <behaviors>
            <endpointBehaviors>
                <behaviorname="AddressingBehavior">
                    <clientViaviaUri="http://test2.ekstern-test.nspop.dk:8080/sosigw/proxy/soap-request" />
                    <clientCredentials>
                        <clientCertificatefindValue="21ad7d2d4280765bfe113b7dd5d62736c34e37bdInsert certificate thumprint here"storeLocation="LocalMachine"storeName="My"x509FindType="FindByThumbprint" />
                    </clientCredentials>
                    <SealBehaviorBE />
                </behavior>
            </endpointBehaviors>
        </behaviors>
        <extensions>
            <behaviorExtensions>
                <addname="SealBehaviorBE"type="dk.nsi.seal.DccSealBehaviorExtentionElement, Seal" />
            </behaviorExtensions>
        </extensions>
    </system.serviceModel>
</configuration>

...