BasicHttpBinding vs. WSHttpBinding

by Raju Maharjan 11. June 2011 02:01

WSHttpBinding messaging is based on SOAP 1.2 and WS-Addressing Specifications while BasicHttpBinding messaging is based on SOAP 1.1 specifications. Implementing the WS-Addressing specifications enables more features in this binding like asynchronous messaging, message correlation, and transport-neutral addressing mechanisms which for sure adds some processing overhead.

BasicHttpBinding provides fewer security options which are Message security, User name token,  Kerberos and X509 tokens. WSHttpBinding provides more in addition to the list above which are WS-Trust and WS Secure conversation.

BasicHttpBinding doesn't supported reliable messaging. In other words, if a client fires two or three calls you really do not know if they will return back in the same order. In the other hand, WSHttpBinding  supports WS-* specifications.

By default,in BasicHttpBinding there is no security provided for messages when the client calls happen. In other words, data is sent as plain text. As WSHttpBinding supports WS-*, it has WS-Security enabled by default. So the data is not sent in plain text.

BasicHttpBinding supports the following security options:

  • None
  • Windows – default authentication
  • Basic
  • Certificate

WSHttpBinding supports the following security options

 

  • None
  • Transport
  • Message
  • Transport with message credentials

 

Tags: ,

WCF | Web Services

Comments

6/14/2011 9:24:57 AM #

GOKiR

Continue blogging! its getting through the tough times that cause you stronger and then the good times will follow, keep working about your experiences and we should all pull together.

GOKiR United States | Reply

6/25/2011 4:35:02 AM #

Blog Framework

Awesome tips! Keep up the wonderful work.  http://joopk.com  

Blog Framework United States | Reply

Add comment


() (Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading




Sapnep IT Solution

We Provide IT solutions and services to deliver a unique blend of real-business experience with a strong engineering, international project delivery. We are a software development  firm.