WSE910: An error happened during the processing of a response message, and you can find the error in the inner exception
- Hi,
I'm using WSE 3.0 with .NET 2.
I'm connecting to Java web service with WSE3.0.NET client.
I have my own policy assertion for securing messages.
When I'm receiving a response from web service ResponseProcessingException: WSE910 occurs,
Inner Exceptions say:
en Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMessage message, String messageContentType)
en Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage(SoapClientMessage message, Int32 bufferSize)
en System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
en System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
en RuntService.ConsultaSoapService.ServicioConsultaRUNT.consultarDatosPersonaNatural(CommonHeaderDTO header, IdentificacionPersonaDTO identificacionPersona) en D:\Proyectos\NET\RuntService\Web References\ConsultaSoapService\Reference.cs:línea 243
en RuntService.Services.ConsultarPersonaServiceSoap(String vsNumeroIdentificacion, String vsTipoIdentificacion) en D:\Proyectos\NET\RuntService\Program.cs:línea 1883
"Referenced security token could not be retrieved"
WSE590: Failed to resolve the following Key Info <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Reference URI="#BST-5GBoTlX6R3mI8xn0k6ZOBg22" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" /></wsse:SecurityTokenReference></KeyInfo>.
en Microsoft.Web.Services3.Security.MessageSignature.CheckSignature()
en Microsoft.Web.Services3.Security.Security.LoadXml(XmlElement element)
en Microsoft.Web.Services3.Security.Security.CreateFrom(SoapEnvelope envelope, String localActor, String serviceActor)
en Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope envelope)
en Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope)
en Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMessage message, String messageContentType)
I need help to solve this, thanks
Answers
- This issue happens when the KeyIdentifier tag is missing in the <Keyinfo> tag, this happens when WSE fails the validation when the SecurityTokenReference Class does not contain a KeyIdenfier element. So what you need to do is override the ProcessMessage() Method as shown below :CheersAnand
- Proposed As Answer byAnand.Ranganathan Saturday, November 07, 2009 7:45 PM
- Marked As Answer byJohn SaundersMVP, ModeratorTuesday, November 17, 2009 3:15 AM
All Replies
- This issue happens when the KeyIdentifier tag is missing in the <Keyinfo> tag, this happens when WSE fails the validation when the SecurityTokenReference Class does not contain a KeyIdenfier element. So what you need to do is override the ProcessMessage() Method as shown below :CheersAnand
- Proposed As Answer byAnand.Ranganathan Saturday, November 07, 2009 7:45 PM
- Marked As Answer byJohn SaundersMVP, ModeratorTuesday, November 17, 2009 3:15 AM


