wsse:FailedAuthentication The Security Token Could Not Be Authenticated Or Authorized (Doc ID 828215.1)

Last updated on OCTOBER 04, 2016

Applies to:

Oracle E-Business Suite Integrated SOA Gateway - Version 12.1.1 to 12.1.1 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Using SOAPUI to access Integration Repository Service of OracleEBS 12.1.1 failed with the following faultcode and faultstring:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>wsse:FailedAuthentication</faultcode>
<faultstring>The security token could not be authenticated or
authorized</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>


The correct SOA Header and WSSE headers have been used.  Below is sample SOAP Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ser="http://xmlns.oracle.com/apps/fnd/ServiceBean"
    xmlns:ws="http://xmlns.oracle.com/apps/fnd/rep/ws">
       <soapenv:Header>
          <wsse:Security
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    mustUnderstand="1">
          <wsse:UsernameToken>
            <wsse:Username>operations</wsse:Username>
            <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordTex
    t">welcome</wsse:Password>
          </wsse:UsernameToken>
          </wsse:Security>
          <ser:ServiceBean_Header>
             <ser:RESPONSIBILITY_NAME>Integrated SOA Gateway</ser:RESPONSIBILITY_NAME>
             <ser:RESPONSIBILITY_APPL_NAME>FND</ser:RESPONSIBILITY_APPL_NAME>
             <ser:SECURITY_GROUP_NAME>STANDARD</ser:SECURITY_GROUP_NAME>
             <ser:NLS_LANGUAGE>AMERICAN</ser:NLS_LANGUAGE>
          </ser:ServiceBean_Header>
       </soapenv:Header>
       <soapenv:Body>
          <ws:IntegrationRepositoryService_GetInterfaceClass>
      <classId>1578</classId>
           </ws:IntegrationRepositoryService_GetInterfaceClass>
       </soapenv:Body>
    </soapenv:Envelope> 

 

SOAP UI 2.0.2 is a commonly used WebService testing tool which can be downloaded for free from Google.

Cause

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