Search code examples
wcfwcf-binding

How to set customBinding to Transport Only Security?


How do you set a WCF customBinding to use only transport level security?

If it were a wsHttpBinding, it would be:

<security mode="Transport" />

The scenario is I am calling a Java SOAP service that uses transport-only security. No message signing.


Solution

  • This may be quite context specific, but I needed to use:

    <security authenticationMode="MutualCertificateDuplex" />
    

    There are many more "authentication modes" than there are "modes".