Integration

Get Involved. Join the Conversation.

Posts

  • Kashyap Raghavendra
    OIC Get User name from authentication header of rest Service2
    Topic posted 9:43 AM by Kashyap RaghavendraRed Ribbon: 250+ Points, tagged API, Integration, Mapping 
    Title:
    OIC Get User name from authentication header of rest Service
    Summary:
    Get User name from authentication header of rest Service
    Content:

    Hi,

    Is there an option to get the user name of the invoker of the rest service.I'm only looking for the OIC user name used in authentication header, not th efull credentials.Reading the authentication header as part of request message is not supported.

  • Sridhar Yerram
    How to Publish an ICS Integration to APICSAnswered1
    Topic posted December 11, 2019 by Sridhar YerramRed Ribbon: 250+ Points, tagged API, Integration 
    Title:
    How to Publish an ICS Integration to APICS
    Content:

    Team,

    Can you please guide me on the configuration required to publish an ICS Integration to APICS ?

    I did try to enter some info for publishing - as it does not have the expected info, its failing, want to get hold on what all details we have to mention for publishing to APICS, so it can be consumed.

    -Sridhar

     

    Image:
  • Jaeyshree Kumaran
    skip record in for-each present in mapper2
    Topic posted December 4, 2019 by Jaeyshree KumaranRed Ribbon: 250+ Points, tagged Adapters, API, Cloud, Connection, Integration, Mapping, Orchestration, SOAP, Web Services, xml 
    Title:
    skip record in for-each present in mapper
    Content:

    I have write adapter in which I have for-each loop for two levels(1. for-each of assignments, 1.a. for each of Global_Card_Components_State). The Global_Card_Components_State tag will be optional. Some assignments may contain it. I have included a choose condition (as in image). This is successful when Global_Card_Components_State tag is present but fails when input doesnt have that particular tag.

    Is there any option to skip and process next record. <otherwise> doesnt help as i dont have sny option to map as its child.

    I am getting below error when for-each encounters assignments tag without Global_Card_Components_State tag

     

    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ CODE=<code>{http://schemas.oracle.com/bpel/extension}remoteFault</code> ,SUMMARY=<summary>ICS runtime execution error</summary> ,DETAIL=<DETAIL><detail><ICSfaultVar/><reason>Translation Error. Translation Error. Error while translating message to native format. Please make sure that the payload for the outbound interaction conforms to the schema and payload size does not exceed threshold. Error occured as {1} :Application Error</reason><operation>WriteFile</operation></detail></DETAIL>} cause: {null} Stage Read Failed

     

    Image:
  • Nazeer Anantha
    Wants to download or read file from File Storage in OIC2
    Topic posted December 3, 2019 by Nazeer AnanthaBlue Ribbon: 750+ Points, tagged Adapters, Agent, API, Cloud, Connection, ERP Cloud, Integration, PaaS, REST, Web Services 
    Title:
    Wants to download or read file from File Storage in OIC
    Summary:
    Wants to download or read file from File Storage in OIC
    Content:

    Hi All,

    I am trying to download or read a file from File Storage in OIC.

    is there any way to achieve this without using File Adapter?

    Thanks,

    Nazeer.

  • Nagesh Manda
    Identify Deprecated Services used in OIC Integration2
    Topic posted November 30, 2019 by Nagesh MandaGold Medal: 3,500+ Points, tagged Adapters, API, Cloud, ERP Cloud, Integration, PaaS, REST 
    Title:
    Identify Deprecated Services used in OIC Integration
    Content:

    Hi All,

    I would like to know if there is anyway to identify the list of the OIC Integrations which are potentially impacted by the use deprecated REST API's from the ERP Cloud. I know that even when oracle marks them as deprecated on the documentation they will still be available for a limited period of time (Not exactly sure about the time limit). If these services are used across on a large scale across different integrations is there anyway to identify the services without manually going and looking for the deprecated service in each integration?

    Thanks,

    Nagesh.

  • Samuel Lima
    How can an admin user retrieve the tasks from other users?35.0
    Topic posted November 29, 2019 by Samuel LimaBronze Medal: 1,250+ Points, tagged API, Connection, Integration 
    Title:
    How can an admin user retrieve the tasks from other users?
    Summary:
    How can an admin user retrieve the tasks from other users?
    Content:

    Hi,

    Is it possible for an admin user to retrieve tasks from other users using the /bpm/api/4.0/tasks API?

    The doc says it returns the tasks from the current user.

    https://docs.oracle.com/en/cloud/paas/process-cloud/cprrb/op-tasks-get.htm

    If not, is there another way?

    I need to build a custom task list for my users, but to access the task list API I need a connection which, by itself, requires a specified user that is not the logged user.

    Can you help with that?

    Thanks,

    Samuel Lima

     

  • Samuel Lima
    How to set up current user credentials in a connection
    Topic posted November 29, 2019 by Samuel LimaBronze Medal: 1,250+ Points, tagged API, Connection, Integration 
    Title:
    How to set up current user credentials in a connection
    Summary:
    How to set up current user credentials in a connection
    Content:

    Hi experts,

    How can I make a connection use the currently logged user credentials instead of a default credential?

    I need to call /bpm/api/4.0/tasks which returns the tasks of the current user as the doc says:

    https://docs.oracle.com/en/cloud/paas/process-cloud/cprrb/op-tasks-get.html

    Is there another way to retrieve the tasks of a specified user using a default credential in the connection security?

    Thanks,

    Samuel Lima

  • Moon Ray Lo
    ERP Adapter Callback for Non-File-Based Data Import...3
    Topic posted November 27, 2019 by Moon Ray LoSilver Medal: 2,000+ Points, tagged Adapters, API, Cloud, Connection, ERP Cloud, Events, Integration, Orchestration, PaaS, SOAP, Web Services 
    Title:
    ERP Adapter Callback for Non-File-Based Data Import (FBDI) ERP ESS Job
    Summary:
    Callback for Non-File-Based Data Import (FBDI) ERP ESS Job in Oracle Integration Cloud (OIC)
    Content:

    Hi,

    Has anyone implemented ESS Callback for Non-File-Based Data Import (FBDI) ERP ESS Job thru OIC ERP Adapter?

    https://docs.oracle.com/en/cloud/paas/integration-cloud/erp-adapter/invoke-non-file-based-data-import-fbdi-job.html

    Example is 'Import Accounting Transaction' Job, an ESS Job which is not included in ERP's List of Supported FBDI (https://docs.oracle.com/en/cloud/saas/financials/19c/oefbf/toc.htm). Here's what I did so far in ERP Adapter:

     

    1) Used 'ErpIntegrationService' -> submitJobWithOutput operation, indicating the callback URL of the integration in #2 below.

    2) Created another integration (App-Driven, ERP Adapter as Callback endpoint) to receive the callback from #1 above - but the issue comes with the payload mismatched (ERP is sending the 'old' OnJobCompletion payload, not aligning to the ERP Adapter's OnJobCompletion payload, refer to below examples).

    Sample ERP Response Payload of submitJobWithOutput:

    <onJobCompletion>
    <requestId>33201</requestId>
    <state>SUCCEEDED</state>
    <resultMessage>Request was successful</resultMessage>
    </onJobCompletion>

    Sample OIC (ERP Adapter) Integration Callback Endpoint - Expected Input Payload:

    <onJobCompletionRequest>
    <jobs>
    <jobName>Load Interface File for Import</jobName>
    <jobPath>/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader</jobPath>
    <documentName>ABC_JE_101820165.zip</documentName>
    <requestId>104403</requestId>
    <status>SUCCEEDED</status>
    <child>
    <jobName>Transfer File</jobName>
    <jobPath>/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader</jobPath>
    <requestId>104404</requestId>
    <status>SUCCEEDED</status>
    </child>
    <child>
    <jobName>Load File to Interface</jobName>
    <jobPath>/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader</jobPath>
    <requestId>104405</requestId>
    <status>SUCCEEDED</status>
    </child>
    </jobs>
    <jobs>
    <jobName>Import Journals</jobName>
    <jobPath>/oracle/apps/ess/financials/generalLedger/programs/common</jobPath>
    <requestId>104406</requestId>
    <status>SUCCEEDED</status>
    </jobs>
    <jobs>
    <jobName>Upload Interface Error and Job Output File to Universal Content Management</jobName>
    <jobPath>/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader</jobPath>
    <requestId>104407</requestId>
    <status>SUCCEEDED</status>
    </jobs>
    <summaryStatus>SUCCEEDED</summaryStatus>
    <documentId>29395</documentId>
    <ICSFile xmlns="http://xmlns.oracle.com/cloud/ics/file/v1/types">
    <FileReference>file:/UCMFA00029847@_@FWuOVOF4UhKKvvPWIeKnwpHZg3AqNgjOdJL7GmRMald1FkKH0AU2ieloHd8JJgbKJrNTEQ72KE+UzFoElGGW8Yv4SrmyBE3SM/x0kK/i5ieZq7VPbsu1C5UaC6pGKAzD6YhPdjn1Viry8fx7NUQX3A==</FileReference>
    </ICSFile>
    </onJobCompletionRequest>
     
     
    If ERP Adapter can't cater Callback for an ESS Job, have you implemented successful ESS callback for ERP 19C through direct WebService? Please do let me know of the flow and services consumed then if it's a yes.
     
    Appreciate your inputs, thanks ahead!
     
     
    Regards,
    Moon
    Version:
    19.4.2.0.0 (191110.1400.32380)
    Code Snippet:
  • Jaeyshree Kumaran
    Cannot upload seeded extract output in UCM1
    Topic posted November 26, 2019 by Jaeyshree KumaranRed Ribbon: 250+ Points, tagged Adapters, API, Cloud, Connection, E-Business Suite, Integration, Orchestration, PaaS, Process, REST, SOAP, Web Services, xml 
    Title:
    Cannot upload seeded extract output in UCM
    Content:

    I want my integration to (a)submit the seeded extract and (b)the output of seeded extract should be uploaded to UCM. I am able to do (a) but not able to do (b). I have set the delivery option as 'WebContentServer'.

    Also, I am able to achieve the same with custom extract.

     

    Version:
    Version: 19.4.2.0.0 (191110.1400.32380)
  • Syed Saifulla M
    Download ICS Monitoring logs using CURL commands15
    Topic posted November 26, 2019 by Syed Saifulla MRed Ribbon: 250+ Points, tagged API, Cloud, Connection, Integration, PaaS, REST 
    Title:
    Download ICS Monitoring logs using CURL commands
    Summary:
    Download ICS Monitoring logs (flow and diagnostic logs) using CURL commands
    Content:

    Hi All,

    I am trying to download ICS Monitoring logs (flow and diagnostic logs) using CURL commands.

    I have tried the below possibilities :

    1) curl -X GET -u username:pasword -H "Accept:application/json" -o ./log2.txt https://icslearn-a436743.integration.us2.oraclecloud.com/icsapis/v2/monitoring/logs/archive

    2) curl -X GET -u username:pasword -H "Accept:application/json" -o ./log2.txt https://icslearn-a436743.integration.us2.oraclecloud.com/icsapis/v2/monitoring/logs/export

     

    ISSUE : It downloads a 0KB file.

    Could anyone please help me on this.