My Oracle Support Banner

Error Message InvalidSecurityToken When Invoking SubmitRequest From Esswebservice (Doc ID 2250521.1)

Last updated on APRIL 11, 2017

Applies to:

Oracle Fusion Application Toolkit Cloud Service - Version 11.1.9.2.0 and later
Information in this document applies to any platform.

Symptoms

An error message of  "InvalidSecurityToken" is received when invoking submitRequest from esswebservice from SOAP UI.

Valid XML Payload:

<soapenv:Envelope xmlns:sch="http://xmlns.oracle.com/scheduler" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/scheduler/types">
  <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
     <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <wsse:UsernameToken wsu:Id="UsernameToken-089605448108F73AA2149027623844312">
           <wsse:Username>louis.beaulaton</wsse:Username>
           <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">mypassword</wsse:Password>
           <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">u7DTN/vCR/ZjTmjXt68vVw==</wsse:Nonce>
           <wsu:Created>2017-03-23T13:37:18.443Z</wsu:Created>
        </wsse:UsernameToken>
     </wsse:Security>
  </soapenv:Header>
  <soapenv:Body>
     <sch:submitRequest>
        <sch:description>SUBMIT WS TEST</sch:description>
        <sch:jobDefinitionId>
           <typ:name>InvoicePrintReport</typ:name>
           <typ:packageName>/oracle/apps/ess/financials/receivables/transactions/shared</typ:packageName>
           <typ:type>JOB_DEFINITION</typ:type>
        </sch:jobDefinitionId>
        <sch:application>EarHcmEss</sch:application>
        <sch:requestedStartTime>2017-02-15T15:36:54.060Z</sch:requestedStartTime>
        <sch:requestParameters>
           <typ:parameter>
              <!--<typ:dataType>?</typ:dataType>-->
              <!--<typ:name>?</typ:name>-->
              <!--<typ:scope>?</typ:scope>-->
              <!--<typ:value>?</typ:value>-->
           </typ:parameter>
        </sch:requestParameters>
     </sch:submitRequest>
  </soapenv:Body>
</soapenv:Envelope>


Error Message Received:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Header/>
  <env:Body>
     <env:Fault xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <faultcode>ns0:InvalidSecurityToken</faultcode>
        <faultstring>InvalidSecurityToken : The security token is not valid.</faultstring>
        <faultactor/>
     </env:Fault>
  </env:Body>
</env:Envelope>

 

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
 Valid XML Payload:
 
Error Message Received:

Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.