wsHttpBinding
is more secure and reliable than basicHttpBinding
. If great compatibility is not required, wsHttpBinding
is the choice.
Ref: BasicHttpBinding vs WSHttpBinding
BasicHttpBinding
:
- WS-I Basic Profile 1.1 specification (Old ASMX style)
- It supports SOAP 1.1 as a messaging protocol
- Doesn’t support WS-Security, and the entire payload is sent in plain text.
- Offers great level of interoperability.
WSHttpBinding
:
- Allows you to use various WS-* specifications such as WS-Security 1.1, WS-Reliable Messaging etc
- It supports SOAP 1.2 as a messaging protocol
- As its built using WS-* specifications, it does not support wider ranges of client.