Thursday 15 September 2011

BasicHttpBinding in WCF


The basicHttpBinding binding offers support for Web service communication based on the WS-I Basic Profile 1.1 (WS-BP 1.1) specification. This includes standards such as SOAP 1.1, WSDL 1.1, and Message Security 1.0. This type of communication called web service communication.
Address format: http://{hostname}/{service location} and https://{hostname}/{service location}
Default port number:80 for http and 443 for https
basicHttpBinding Client Configuration
<client>
<endpoint address="http://localhost/Service1.svc" binding=" basicHttpBinding " contract="ServiceReference1.IService1"></endpoint>
</client>
It supports the following:
·         HTTPS transport security.
·         HTTP basic authentication.
·         WS-Security.

No comments:

Post a Comment

Please Give Your Valuable Comments on this Topic

Archives