locked
Error while consuming the service RRS feed

  • Question

  • User832284694 posted

    Hi,

    I am getting following error while consuming the WCF service. Could you please help me to resolve this issue.

    "The header 'Security' from the namespace 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' was not understood by the recipient of this message, causing the message to not be processed. This error typically indicates that the sender of this message has enabled a communication protocol that the receiver cannot process. Please ensure that the configuration of the client's binding is consistent with the service's binding".

    Thanks

    Wednesday, October 2, 2013 1:42 PM

Answers

  • User-1000095884 posted

    Hi,

    From the error message, please make sure the configuration of the client's binding is consistendt with the service's binding, e.g. if you using basicHttpBinding for service but using wsHttpBinding for client the issue may occur, since basicHttpBinding and wsHttpBindings are working with different security standards.

    If this is not the issue, it would be helpful if you provide more information here, e.g the configuration snippets of service and client.

    Best Regards.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 3, 2013 1:59 AM

All replies

  • User-1000095884 posted

    Hi,

    From the error message, please make sure the configuration of the client's binding is consistendt with the service's binding, e.g. if you using basicHttpBinding for service but using wsHttpBinding for client the issue may occur, since basicHttpBinding and wsHttpBindings are working with different security standards.

    If this is not the issue, it would be helpful if you provide more information here, e.g the configuration snippets of service and client.

    Best Regards.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 3, 2013 1:59 AM
  • User-488622176 posted

    The security bindings for your service do not match (clientside & server side). Feel free to post the bindings for both so we can take a look.

    Thursday, October 3, 2013 4:52 AM