Click here to Skip to main content
15,886,519 members
Articles / WCF
Tip/Trick

BasicHttpBinding vs. WSHttpBinding

Rate me:
Please Sign up or sign in to vote.
4.33/5 (2 votes)
23 Aug 2011CPOL 29K   1
Difference between BasicHttpBinding and WSHttpBinding
ref:Difference between basichttpbinding and wshttpbindings

Difference between BasicHttpBinding and WSHttpBinding

BasicHttpBinding
1.  WS-I Basic Profile 1.1 specification (Old ASMX style)
 2.  It supports SOAP 1.1 as a messaging protocol
 3.  Doesn’t support WS-Security, and the entire payload is 
     sent in plain text.
 4.  Offers great level of interoperability.



WSHttpBinding

1.  Allows you to use various WS-* specifications such as
     WS-Security 1.1, WS-Reliable Messaging etc
 2.  It supports SOAP 1.2 as a messaging protocol
 3.  As its built using WS-* specifications, it does not support 
     wider ranges of client.


WSHttpBinding more secure and reliable than BasicHttpBinding. Finally, if compatibility is not required, WSHttpBinding is the choice.

- Mahesh

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
India India
Symphony Services, Banglore, 560 087, India

Comments and Discussions

 
GeneralThanx for you tip/trick but i am expecting example. Pin
Amey K Bhatkar4-Aug-13 23:06
Amey K Bhatkar4-Aug-13 23:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.