Can i make my wsHttpBinding to be compatible to SOAP1.1 protocol RRS feed

  • Question

  • Hi,

    I have a WCF service written which has a wsHttpBinding. Now i want this binding to use SOAP 1.1 protocol.

    Can i achieve this by any means.

    Thanks in advance.



    Thursday, October 7, 2010 4:02 PM


All replies

  • Hi

    wsHttpBinding is based on Soap 1.2.


    You can use BasicHttpBinding which is based on Soap 1.1









    Thanks, Pankaj Badoni
    Thursday, October 7, 2010 4:56 PM
  • Hi Pankaj,

    Thanks for the reply. I know that we can use BasicHttpBinding. But i want to use wsHttpBinding with support to SOAP 1.1



    Thursday, October 7, 2010 5:09 PM
  • As Pankaj mentioned, you can't. WSHttpBinding only supports SOAP 1.2. You can, however, add a new endpoint to your service using basicHttpBinding, which would support SOAP 1.1.
    Thursday, October 7, 2010 8:35 PM
  • Hi Rajesh ,

    It's very true that WSHttpBinding only supports SOAP 1.2 and it can't be changed.

    But if it is required to use the protocol Soap 1.1 with WSHttpBinding ,  then you can change the schema for the SOAP envelope in SOAP responses generated by WCF using WCF extensibility model.


    Refer To:


    Thanks, Pankaj Badoni
    Friday, October 8, 2010 5:31 PM
  • Rajesh

    You should convert your WSHttpBinding to a customBinding which you can customize for Soap1.1. See here:


    WCF Security, Interoperability And Performance Blog
    Friday, October 8, 2010 5:36 PM