Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Fusion Cloud BI report InvalidSecurityToken

Received Response
1
Views
1
Comments
PetitLouis
PetitLouis Rank 1 - Community Starter

Hello , I want to know howto submit request using webservices. I try :

ESSWebServiceSoapHttp

<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>

      <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>

            <wsse:Username>xxxxxx</wsse:Username>

            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxxxxxxxxxxxxxxx</wsse:Password>

            <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">bobPlNlW5XYAzEkUvJhA9g==</wsse:Nonce>

            <wsu:Created>2017-02-14T17:38:54.060Z</wsu:Created>

         </wsse:UsernameToken>

      </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

      <sch:submitRequest>

         <sch:description>LB User</sch:description>

         <sch:jobDefinitionId>

            <typ:name>SyncRolesJob</typ:name>

            <typ:packageName>/oracle/apps/ess/users/</typ:packageName>

            <typ:type>JOB_DEFINITION</typ:type>

         </sch:jobDefinitionId>

         <sch:requestedStartTime>2017-02-14T17:38:54.060Z</sch:requestedStartTime>

         <sch:application>EarHcmEss</sch:application>

      </sch:submitRequest>

   </soapenv:Body>

</soapenv:Envelope>

RESULT

<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>

Any idea ?

Many thanks.

Answers

  • Madasamy -Oracle
    Madasamy -Oracle Rank 6 - Analytics Lead

    Hello,

    This is a BIEE/BICS forum. the webservice does not look like something from BICS or BIEE. Are you using Fusion Apps ? Clarify more.

    With the below, i assume that you are on wrong community   Please raise it on the right community to help you better

                <typ:packageName>/oracle/apps/ess/users/</typ:packageName>

    - Madasamy