none
does ws2007federationbinding support this configuration? RRS feed

  • Question

  • Hi:

        I am trying to configure a ws2007federationbinding with below settings, but seeing error at service side:

    <ExceptionType>System.ServiceModel.Security.MessageSecurityException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Cannot resolve KeyInfo for decryption: KeyInfo 'SecurityKeyIdentifier
        (
        IsReadOnly = False,
        Count = 1,
        Clause[0] = EncryptedKeyIdentifierClause(EncryptedKey = ****, Method 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p')
        )
    ', available tokens 'SecurityTokenResolver
        (
        TokenCount = 0,
        )
    '.</Message>
    <StackTrace>
    at System.ServiceModel.Security.WSSecurityOneDotZeroReceiveSecurityHeader.ResolveKeyIdentifier(SecurityKeyIdentifier keyIdentifier

    config:

              ws2007federationbinding  securityMode =TransportWithMessageCredentials  establishSecurityContext=fasle

    negotiateServiceCredential=false  keyType = "SymmetricKey"

    any help will be appreciated?

    Thanks

    Tuesday, November 3, 2015 6:27 PM

Answers