SAML Authentication with Oracle 11g SP2 Security Header Order Certificate Exception: Referenced Security Token Could not be Retrieved

(Doc ID 1343013.1)

Last updated on MARCH 30, 2016

Applies to:

Oracle Web Services Manager - Version and later
Information in this document applies to any platform.


When calling a .NET web service from a SOA Composite with a OWSM message security policy, a security failure is received back from the service. It says it cannot find the certificate even though it is installed on the server. It was determined that the order of the Signature and BinarySecurityToken elements in the header is causing the problem. The error received is:

<wsu:Timestamp wsu:Id="Timestamp-6473026f-5f6f-43ed-816a-6eb2cb44b29c">

<faultcode xmlns:code="">
<faultstring>Referenced security token could not be


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms