Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Problem with security token

 
Ranch Hand
Posts: 225
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web service and when my client accesses my service, he gets an error message that says that the referenced security token could not be found. What is the cause of this error and how can it be corrected? My client and I have our security certificates installed in our systems.

Below is the error message that my client is receiving:

Event Type: Error
Event Source: Microsoft WSE 3.0
Event Category: None
Event ID: 0
Date: 12/31/2008
Time: 2:26:58 PM
User: N/A
Computer: MTLNET02
Description:
An error occured processing an outgoing fault response.



Details of the error causing the processing failure:
System.InvalidOperationException: Send security filter on the server could not retrieve the operation protection requirements from the operation state.
at Microsoft.Web.Services3.Security.SecureConversationServiceSendSecurityFilter.SecureMessage(SoapEnvelope envelope, Security security)
at Microsoft.Web.Services3.Security.SendSecurityFilter.ProcessMessage(SoapEnvelope envelope)
at Microsoft.Web.Services3.Pipeline.ProcessOutputMessage(SoapEnvelope envelope)
at Microsoft.Web.Services3.WseProtocol.GetFilteredResponseEnvelope(SoapEnvelope outputEnvelope)



The SOAP fault that was being processed follows:
<env:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"; xmlns:env="http://www.w3.org/2003/05/soap-envelope">;
<env:Header>
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action>;
<wsa:MessageID>urn:uuid:20dc3d0a-8e63-4ee1-a028-479ee65cadb1</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:E11E9F935F86D1FD6D12307516288699161</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>;
</env:Header>
<env:Body>
<env:Fault>
<env:Code>
<env:Value>env:Sender</env:Value>
<env:Subcode>
<env:Value xmlns refix78="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">prefix78:SecurityTokenUnavailable</env:Value>;
</env:Subcode>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">System.Web.Services.Protocols.SoapException: 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:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier"; EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">H8JjLAe12rN0lVQ4rKjnHX+g3PI=</wsse:KeyIdentifier></wsse:SecurityTokenReference></KeyInfo>.</env:Text>;
</env:Reason>
<env:Node>https://apps02.arifleet.com/copartassignmentproducer/assignmentproducer.asmx</env:Node>;
</env:Fault>
</env:Body>
</env:Envelope>



For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.







Event Type: Error
Event Source: Microsoft WSE 3.0
Event Category: None
Event ID: 0
Date: 12/31/2008
Time: 3:27:46 PM
User: N/A
Computer: MTLNET02
Description:
System.ApplicationException: WSE841: An error occured processing an outgoing fault response. ---> System.Web.Services.Protocols.SoapException: 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:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier"; EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">H8JjLAe12rN0lVQ4rKjnHX+g3PI=</wsse:KeyIdentifier></wsse:SecurityTokenReference></KeyInfo>.
--- End of inner exception stack trace ---



For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
[ January 02, 2009: Message edited by: Fred Victa ]
 
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic