Soap security negotiation when using wsHttpBinding RRS feed

  • Question

  • User1756444359 posted

    I was creating wcf service in .net 3.5 and used basicHttpBinding, with this configuration service running fine. If I change binding to wsHttpBinding it gives me error "soap security negotiation for target failed".

    Then I have specified <security mode="None" />,  and the service running fine now.

    But I am unable to understand, why we need to use this.

    Please clarify.

    Wednesday, May 22, 2013 11:21 PM


  • User260886948 posted


    By default wsHttpBinding used message level security and basicHttpBinding is not secure.

    If you do not do some configure for the security, then you have to disable it by setting the <security mode="None" />.

    Hope it can help you.

    Best Regards,
    Amy Peng 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 27, 2013 5:48 AM

All replies