EncryptedKey in WSE 2.0 -> "Referenced security token could not be retrieved"
From: Franco via .NET 247 (anonymous_at_dotnet247.com)
Date: 08/11/04
- Next message: Softwaremaker: "Re: WS-Security with soap.tcp"
- Previous message: Michael Riggio: "Re: WS-Security with soap.tcp"
- Next in thread: Softwaremaker: "Re: EncryptedKey in WSE 2.0 -> "Referenced security token could not be retrieved""
- Reply: Softwaremaker: "Re: EncryptedKey in WSE 2.0 -> "Referenced security token could not be retrieved""
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Aug 2004 13:54:33 -0700
I wrote a .net client using WSE 2.0 to talk to a web service.
The client signs the request.
The response signs the response.
So far so good.
However, i extended the service to encrypt the response. The symmetric key used to encrypt the reponse is itself encrypted using the client's x509 cert embedded in the request (in a typical EncryptedKey element).
The WSE client can't seem to handle this EncryptedKey element. It throws the following exception:
Microsoft.Web.Services2.Security.SecurityFault: Referenced security token could
not be retrieved
at Microsoft.Web.Services2.Security.EncryptedKey.LoadXml(XmlElement element)
at Microsoft.Web.Services2.Security.EncryptedKey..ctor(XmlElement element)
at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element)
at Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage
(SoapEnvelope envelope)
at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope
envelope)
--------------------------------
From: Francois Lascelles
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>gUaY272TeU67xK8etYqdWQ==</Id>
- Next message: Softwaremaker: "Re: WS-Security with soap.tcp"
- Previous message: Michael Riggio: "Re: WS-Security with soap.tcp"
- Next in thread: Softwaremaker: "Re: EncryptedKey in WSE 2.0 -> "Referenced security token could not be retrieved""
- Reply: Softwaremaker: "Re: EncryptedKey in WSE 2.0 -> "Referenced security token could not be retrieved""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|