I have a WSE 3.0 Webservice that when I run it from a Java based Testing tool responds with the following.
It does not want to get past the Cipher Data in the Envelope, If I run my service without WSE the Service runs fine, as soon as I enable the X509 I get this, I found the following article, but I'm not sure how to implement it in my web.config.
http://support.microsoft.com/kb/922779/en-us?spid=8291&sid=1105<soap:Envelope xmlns:wsa="
http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action>
<wsa:MessageID>urn:uuid:d307a65f-8f4d-4377-88cd-60a86a238071</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:71f0b327-1033-44a2-a81a-5346cdd99484</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring><![CDATA[System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.ApplicationException: WSE841: An error occured processing an outgoing fault response. ---> System.Web.Services.Protocols.SoapHeaderException: Microsoft.Web.Services3.Security.SecurityFault: Referenced security token could not be retrieved ---> System.InvalidOperationException: WSE590: Failed to resolve the following Key Info <KeyInfo xmlns="
http://www.w3.org/2000/09/xmldsig#"><wsse:SecurityTokenReference xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Reference URI="#null" /></wsse:SecurityTokenReference></KeyInfo>.
--- End of inner exception stack trace ---
at Microsoft.Web.Services3.Security.EncryptedData.ResolveDecryptionKey(String algorithmUri, KeyInfo keyInfo)
at Microsoft.Web.Services3.Security.EncryptedData.Decrypt(XmlElement encryptedElement)
at Microsoft.Web.Services3.Security.EncryptedData.Decrypt()
at Microsoft.Web.Services3.Security.Security.LoadXml(XmlElement element)
at Microsoft.Web.Services3.Security.Security.CreateFrom(SoapEnvelope envelope, String localActor, String serviceActor)
at Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope envelope)
at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope)
at Microsoft.Web.Services3.WseProtocol.FilterRequest(SoapEnvelope requestEnvelope)
at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---]]></faultstring>
<faultactor>http://bis3y/assignmentservice.asmx</faultactor>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Z