For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
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
Hereby my scenario that result in a faulted json response within SOAPUI - see below the error in SOAPUI on the JSON tab
1. Create an invoke connection to a REST module that resides in the database using a generic REST API Base URL option (contain all my REST modules: http://10.0.20.6:8091/ords/hr_schema tthrough an agent since the REST services resided in my database
2. Create a JSON to JSON integration leveraging this connection with a request and response mapping
3. Executing this integration result in the following error on the JSON tab:
{
"type": "10.5.3",
"title": "exception occurred while translating the response into the accepted media type.",
"detail": "oracle.cloud.connector.api.CloudInvocationException: ORABPEL-15236\n
\n
Translation Failure.\nFailed to translate XML to JSON.
Cannot write end element: empno\n
The data does not conform to the NXSD schema. Please correct the problem.\n",
"o:errorCode": "TRANSLATION-ERROR-01",
"o:errorDetails": [ {
"type": "NA",
"instance": "NA",
"title": "NA",
"o:errorPath": "NA",
"o:errorCode": "NA"
}]
}
Odly enough there are NO failing instance(s)
In addition if you lookup the payload within the activity stream option you can actually see the expected/correct response payload?
So no failed instances with the expected payload but this payload is not shown in SOAPUI on the JSON tab - in stead the error as displayed above
What could be the root cause of this inconstent behavior?
See also below for a substract of the diagnostic file containing the "ORABPEL-15236 Translation Failure. Failed to translate XML to JSON. Cannot write end element: empno" error
..
[2019-12-04T07:28:04.169+00:00] [oiclhr3I_server_1] [ERROR] [] [oracle.tip.pc.services.translation.xlators.json.JsonTranslator]
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.
Hereby my (faied) scenario
My REST based modules leveraging ORDS are running and executing successfully
I am able to call the various REST methods directly and receive the expected answers
I am able to generate and lookup the swagger definition in my browser
I am able to define and test this same local REST swagger based (Invoke) connection icw an agent - with no authorization
Then using that same connection within an integration result in
"The application has encountered an unexpected error.
Please check the applications connection details, credentials and retry your request"
as a result I cannot leverage/use all methods with this local REST based solutions in any integration
Any ideas to circumvent this design error within an integration?
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
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
Hi,
Has anyone implemented ESS Callback for Non-File-Based Data Import (FBDI) ERP ESS Job thru OIC ERP Adapter?
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:
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.
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.