How to configure customBinding for transport only security?

How to configure WCF user interface to use only transport-level security?

If it is wsHttpBinding, it will be:

<security mode="Transport" /> 

Scenario: I call the Java SOAP service, which uses transport-only security. No message signing.

+4
source share
2 answers

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

 <security authenticationMode="MutualCertificateDuplex" /> 

There are many more โ€œ authentication modes โ€ than there are โ€œmodesโ€.

+6
source

I found that this user binding ...

  <bindings> <customBinding> <binding name="serviceSoap11"> <textMessageEncoding messageVersion="Soap11" /> <httpsTransport /> </binding> </customBinding> </bindings> <client> <endpoint binding="customBinding" bindingConfiguration="serviceSoap11" contract="ServiceProxy.service" name="serviceSoap11" address="[URL]" /> </client> 

... is the equivalent of this basic http binding.

  <bindings> <basicHttpBinding> <binding name="serviceSoap11"> <security mode="Transport" /> </binding> </basicHttpBinding> </bindings> <client> <endpoint binding="basicHttpBinding" bindingConfiguration="serviceSoap11" contract="ServiceProxy.service" name="serviceSoap11" address="[URL]" /> </client> 
0
source

All Articles