none
C# WCF - Consume WSE web services using WCF RRS feed

  • Question

  • I need to consume a Web service, where WSE security is implemented. We are trying to consume this web service using WCF. I am getting this following error.

    The 'CustomBinding'. binding for the 'webservicename'.'our web service url' contract is configured with an authentication mode that requires transport level integrity and confidentiality. However the transport cannot provide integrity and confidentiality.

    http://weblog.west-wind.com/posts/2012/Nov/24/WCF-WSSecurity-and-WSE-Nonce-Authentication

    I can see that It's not at all calling createsecuritytokenmanager() or tokenserializer() functions.

    Did assigning customcredentials object to end point behaviours is supposed to call createsecuritytokenmanager() method? Or do i need to do any thing else?

    client.ChannelFactory.Endpoint.Behaviors.Remove<System.ServiceModel.Description.ClientCredentials>();
        client.ChannelFactory.Endpoint.Behaviors.Add(new CustomCredentials());


    • Edited by DDRamireddy Thursday, February 25, 2016 12:55 PM
    Thursday, February 25, 2016 12:52 PM

All replies

  • Hello,

    >>The 'CustomBinding'. binding for the 'webservicename'.'our web service url' contract is configured with an authentication mode that requires transport level integrity and confidentiality. However the transport cannot provide integrity and confidentiality.

    Based on the above error information, it seems that this issue is related with the transport security. Could you please post your configure file in here? Are you using the http or the https web service? Have you followed this article step by step?

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 26, 2016 6:24 AM
    Moderator