Using External Data Integration Services
Using External Data Integration Services
Using External Data Integration Services
Version [1.0]
Copyright © 2023, Oracle and/or its affiliates
Public
Purpose statement
This document provides an overview of features and enhancements for Oracle ‘External Data Integration Service’.
It is intended solely to help you assess the business benefits of Oracle ‘External Data Integration Service’ and
planning for the implementation and upgrade of the product features described.
Disclaimer
This document in any form, software or printed matter, contains proprietary information that is the exclusive
property of Oracle. Your access to and use of this confidential material is subject to the terms and conditions of
your Oracle software license and service agreement, which has been executed and with which you agree to
comply. This document and information contained herein may not be disclosed, copied, reproduced, or
distributed to anyone outside Oracle without prior written consent of Oracle. This document is not part of your
license agreement, nor can it be incorporated into any contractual agreement with Oracle or its subsidiaries or
affiliates.
This document is for informational purposes only and is intended solely to assist you in planning for the
implementation and upgrade of the product features described. It is not a commitment to deliver any material,
code, or functionality, and should not be relied upon in making purchasing decisions. The development, release,
timing, and pricing of any features or functionality described in this document remains at the sole discretion of
Oracle. Due to the nature of the product architecture, it may not be possible to safely include all features described
in this document without risking significant destabilization of the code.
2 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Table of contents
Overview 6
What’s New 6
Inbound Data Management 6
Overview 6
Key Features 6
Details 7
Outbound Data Management 13
Overview 13
Key Features 13
Details 14
Flow Automation using the Oracle ERP Integration Web Service 15
Constructing the Oracle ERP Integration Service End Point URL 15
Critical Web Service Operations to Automate Integration Flows 15
Security Policies, Roles, Privileges 44
Roles and Privileges 44
Security Policies For ERP Integration SOAP Service and ERP ICS
Integration SOAP Service 45
Callback Web Service 46
Callback Response in JSON Format 46
Advanced Features 47
Securing the Inbound or Outbound Data File 47
Job Property File for the Bulk Import Process 48
Specifying Multiple Threads in Bulk Import 51
Optimized Management of Large Data Files 51
Appendix 1: Security Prerequisites to Download the Job Output File 51
Appendix 2: Sample Code for Preparing a Data File for Inbound and
Outbound Flow 53
Appendix 3: Predefined Target UCM Accounts 55
Appendix 4: ESS Job Execution Status Monitoring 56
Appendix 5: Testing Web Service using a client Proxy 56
Create a Proxy Client and Add the OWSM Policy 57
Test Upload File to UCM using Web Service 58
Export the Certificate 58
Appendix 6: Automate Web Service Invocation Using JDeveloper 11 63
Appendix 7: Error Handling for Import Jobs 64
Error Handling Processes 64
Appendix 8: Manage Inbound Flow Automation Steps with Separate
Web Service Operations 65
Appendix 9: Manage Outbound Flow Automation Steps with Separate
Web Service Operations 65
Appendix 10: Creating a Callback Web Service 66
Implementation Consideration 66
3 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Web Service Security & Pre-requisites 68
Certificates Retrieval Steps 69
Option 1: 69
Option 2: 69
Implementation Steps 72
SOACS 73
Oracle Integration Cloud (OIC) 75
Mulesoft 76
Appendix 11: Creating a Job Property File for the importBulkData
Operation 77
Import Job Property File Format 77
Reusing the same Job property file for similar imports 77
Deciding factors to provide Job details 78
Appendix 12: Manual Inbound (Import) Steps. 78
Transferring Data Files to Oracle WebCenter Content Server 78
File Import and Export 78
References for Using Content Management 78
Managing Files for Import and Export 79
Using File Import and Export page 79
Interacting with Content Management 79
Load Interface File for Import Process 81
Importing Data 81
Loading Data into Interface Tables 81
Correcting Interface Data Errors 82
Appendix 13: Managing PGP Encryption Keys 82
Managing PGP Certificates 82
Appendix 14: How to Encrypt and Decrypt a Data File 84
Encrypt an Inbound Data File from your Linux On-Premise System 84
Decrypt an Outbound Oracle ERP Cloud Data File in your Linux On-
Premise System 85
Appendix 15: Large File Optimization (MTOM) Proxy Client Code
Changes 85
Appendix 16: Purge - UI Based Approach 88
Purge FBDI Object Data using a Single Load Request ID 89
Purge FBDI Object Data using a Range of Load Request IDs 89
Purging Non-FBDI Data 90
Purging Data in Maintenance mode 90
Appendix 17: Steps to get list of all supported Import Processes for
Load Interface File for Import job 91
Appendix 18: How to get job definition & package name including
parameters 92
Appendix 19: ExportBulkData Operation Precise ExtractFileType
Support 94
Introduction 94
4 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Steps to Enable ExtractFileType Support 95
Pass ExtractFileType in Request Payload 95
Oracle Recommendation 96
Supported ExtractFileType Combinations 96
Appendix 20: ImportBulkData Operation with Zip Operation. 98
Introduction 98
Details: 98
Critical Considerations: 98
Appendix 21: Supported Import Processes by Load Interface File for
Import Job(FBDI) 99
Appendix 22: Export Financials Data without Using Callback 100
Acronym 101
References 101
5 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Overview
Business organizations typically have a recurring need to streamline management of inbound and outbound data
in areas such as initial data conversion, master data creation and maintenance, regular transaction processing,
and fiduciary compliance. Oracle ERP Cloud offers a comprehensive collection of tools and features to meet these
requirements. Oracle ERP integration scenarios generally involve system-to-system integration flows between
distinct on-premises systems, third-party or legacy systems, and Cloud systems.
What’s New
With Oracle ERP Cloud, these new features have been added to further simplify and enhance the Oracle ERP
Integration Service capabilities:
• New operations, importBulkData and exportBulkData that further simplify bulk data management.
• Encryption option to secure data files for import and export processes.
• Option to select precise output file type for ExportBulkData, that further reduces file size and download
time. See Appendix 19: ExportBulkData Operation Precise ExtractFileType Support.
• Multiple document ID support for the Load Interface File for Import job using ImportBulkData operation of
ERP Integration Service. See Appendix 12: Manual Inbound (Import) Steps.
Overview
There are several scenarios where data from on-premises or external business systems needs to be imported into
Oracle ERP Cloud to accomplish business transactions such as:
• Recurring billing transactions originating from on-premises or PaaS-based applications which will be
imported into Oracle ERP Cloud.
• Claims generated from on-premises insurance claim processing applications that require the creation of
Payables invoices for remitting payments.
• Journal entries from legacy applications which will be imported into Oracle ERP Cloud.
See Appendix 21: Supported Import Processes by Load Interface File for Import Job: Supported File based Data
Import Processes details.
Key Features
• Supports high-volume data import scenarios
• Notifications in the form of emails, bell notification, business events and web-service based call-back to
automate data validation and error resolution
6 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Details
External data integration services for accommodating inbound data in Oracle ERP Cloud include the following
components:
• Templates to structure, format, and generate the data file according to the requirements of the target
application objects.
• File-based load process to load the data file(s) into the respective product application interface tables.
• Application-specific data import processes to transfer data from product application interface tables to
the relevant product application tables.
** The data rectification tool will differ for different import process.
• Create the data file using the applicable inbound business object template. See Appendix 17: Steps to get
list of all supported Import Processes for Load Interface File for Import job.
• Deliver the import status and information using web service-based callback or business events to access
logs or errors.
• Review any errors if applicable and take appropriate action for error resolution.
Note: After completion, Oracle ERP Cloud extracts data from the interface and error tables, includes the ESS
job log files, and uploads the files to the UCM server in a ZIP file format. Once uploaded successfully to the
respective UCM account, data from the interface and error tables will be purged.
Example
To illustrate the inbound data integration with Oracle ERP Cloud, the Journals Import flow will be used as an
example. A batch of journal entries will be interfaced to application with help data created by user in a supported
file format.
8 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Prerequisites
• Import a certificate into your local keystore. For more information, see Appendix 5: Testing Web Service
using a Client Proxy.
• Configure the sample web service tester. For more information, see Appendix 5: Testing Web Service
using a Client Proxy.
• Identify the user name and password to call the Import Journals process.
• Verify that the user has access to the ‘AttachmentsRead ‘role in the UCM server. For more information,
see Appendix 1: Security Prerequisites to Download the Job Output File.
• Verify the end point URL for the web service. For more information, see the automation web service at
• https://<hostname>.<domainname>/fscmService/ErpIntegrationService?WSDL.
Flow Steps
1. Generate the data file for the object you want to import. For more information, see Generating the
Inbound Data File.
2. Prepare the request payload for the ImportBulkData operation of the Oracle ERP Integration Service. This
web service operation performs the following tasks:
a. Uploads the data file to the UCM server.
b. Loads data from the file on the UCM server to the respective product interface table(s).
c. Imports the data from the product interface table(s) to the respective Oracle ERP product main
table(s).
d. Extracts errors and logs into a ZIP file and uploads them to the respective UCM account.
e. Purges the interface and errors tables related to the respective import job.
f. Notifies users upon completion of all ESS jobs using bell, email, or callback URL as defined in the
payload.
3. Receive a bell, email, or web service bases callback or business event notification for the request identifier
returned by the web service operation in step 2.
4. Prepare the payload for the ‘getDocumentForDocumentId’ operation to download the output file.
When preparing external data using the templates for import, you need to complete the following tasks:
1. Open the File-Based Data Import guide for your cloud service. Locate the import process of interest.
a. FBDI Templates for Financials: https://docs.oracle.com/pls/topic/lookup?ctx=fa-
latest&id=OEFBF
b. FBDI templates for Projects: https://docs.oracle.com/pls/topic/lookup?ctx=fa-latest&id=OEFPP
c. FBDI Template for SCM: https://docs.oracle.com/pls/topic/lookup?ctx=fa-latest&id=OEFSC
d. FBDI Template for Procurement: https://docs.oracle.com/pls/topic/lookup?ctx=fa-
latest&id=OEFBP
2. View the list of files:
a. Control files describe the logical flow of the data load process.
b. Spreadsheet templates include the worksheets and macros for structuring, formatting, and
generating your data file.
9 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
3. Click the applicable template URL in the File Links table to download the file. For example, click
JournalImportTemplate.xlsm in the Journal Import topic.
Preparing Data Using the Spreadsheet Template
Steps to prepare your data in a spreadsheet format:
1. Open the spreadsheet template. The first worksheet in each file provides instructions for using the
template.
Important: Follow the instructions otherwise you may get data load errors and data import failures. If the
file is machine generated, you must use the UTF-8 encoding to avoid load errors.
The macro generates a comma-separated values (CSV) file and compresses the file into a ZIP file. You must
transfer the ZIP file to the Oracle Content Management Server (UCM).
Overview of Template Structure
The integration templates include the following characteristics:
For more information on the template structure, see the main Instructions worksheet in the template.
Template Requirements
To minimize the risks of an unsuccessful data load, ensure these are followed:
Important: Deleting or reordering columns causes the load process to fail and results in an
unsuccessful data load.
• External data must conform to the data types accepted by the control file and process for the associated
database column.
• Date column values must appear in the YYYY/MM/DD format.
• Amount column values can’t have separators other than a period (.) as the decimal separator.
• Negative values must be preceded by the minus (-) sign.
• Column values that require whole numbers include data validation to allow whole numbers only.
• For columns that require internal ID values, refer to the bubble help text for additional guidance about
finding these values. For examples Purchase Order ID or Invoice ID.
• The XLSM template needs to run on the OS with date format set to “English US ”.
After you finish preparing the data in the applicable spreadsheet template worksheet(s), click the Generate CSV
File button on the main Instructions worksheet to generate a ZIP file containing one or more CSV data files.
Caution
1. Recommendation is to generate the data file using the applicable Inbound business object template.
2. If the file is being generated by other means like Java programs, manual creation though any editor etc.,
then ensure that the data is represented in the structure and format of the target application tables.
10 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
3. Only *.txt, *.dat, *.csv, *.xml, and *.ack file formats or ZIP file compressed with a Java 8 supported
compression method containing the mentioned accepted format file(s) are accepted. Best practice is to
use ZIP files instead of raw files for better performance.
4. Recommended compression method is DEFLATED.
5. Only UTF-8 encoded files should be used.
Error Correction
This section talks about rectifications of error occurred during various phase of File import.
Correcting Load Process Errors
The Load Interface File for Import process ends in error when the load of the data file fails for any individual row.
The Load File to Interface child process ends as an error or warning. All rows that were loaded by the process are
deleted and the entire batch of records is rejected.
Correcting Interface Data Errors
Steps to correct errors:
3. Generate the ZIP file containing the CSV files using the respective import template.
4. Upload the corrected file to the UCM server and resubmit the Load Interface File for Import process.
5. Repeat these steps until the process successfully loads all the data.
Correcting Import Process Errors
If the import process fails with errors:
1. Review the errors in the import log (See Operation: downloadESSJobExecutionDetails for detailed steps).
2. Correct the error records using the applicable ADFdi correction spreadsheets.
For a list of import processes and their corresponding ADFdi correction spreadsheets, see Appendix 7:
Error Handling for Import Jobs.
If auto purge is enabled in your import process, then you cannot use ADFdi. Use these steps instead:
1. Download the purge erroneous ZIP file from the File Import and Export page.
2. Select the erroneous data records from the interface file and correct them.
1. Few of the FBDI import process (Import Journal, Import Payable Invoice etc.) may purge successfully
imported data from interface table based on the functional requirement.
2. Customers also have the option to manage the purge process directly from the Scheduled Processes page
by launching the Purge Interface Tables ESS job, as needed. This ESS job supports the purge of interface
data created from either FBDI or non-FBDI sources based on registered criteria in the seed data,
see Appendix 16: Purge - UI Based Approach.
3. If the data is imported through the importBulkData operation of ERP Integration Service, then customer
can pass 'purgeOption=Y' in jobOptions, which will trigger an instance of 'Purge Interface Tables Job' with
FBDI intent for the corresponding load request ID.
For the FBDI intent purge, the purge backup file is stored and associated with the respective UCM import account
for reference where needed. When the 'Purge Interface Tables Job' is triggered for FBDI intent, the user must
explicitly opt-in to take the backup. The file can either be downloaded using the Oracle ERP Integration Service or
11 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
from the File Import and Export page. This file is a consolidated ZIP file that contains the individual interface and
error data files in a comma separated values (CSV) format.
For data correction, select and revise any erroneous data from the respective interface spreadsheet file, then
upload the revised interface file again to execute the FBDI process.
For the processes outlined above, the existing inbound, outbound, and erroneous data files older than 30 days
stored on the UCM server, will automatically be purged for the applicable UCM account.
Operation: extractAndPurge:
The extractAndPurge operation uploads the load and import job output and logs to the Universal Content
Management server and purge interface tables with web service-based callback and notification.
12 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
2 Bell notification
<soap:Body>
<ns1:extractAndPurge
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/types/" >
<ns1:requestIds>1234;1235;1236</ns1:requestIds>
<ns1:notificationCode>30</ns1:notificationCode>
<ns1:callbackURL>#NULL</ns1:callbackURL>
<ns1:jobOptions></ns1:jobOptions>
</ns1:extractAndPurge>
</soap:Body>
To manage the purge process directly from the Scheduled Processes page by launching the Purge Interface
Tables process as needed, see Appendix 16: Purge - UI Based Approach.
Overview
Global statutory or fiduciary requirements drive diverse reporting and data extract needs. In these types of
business scenarios, the flow of data from Oracle ERP Cloud is utilized for either 1) end-state reporting to internal
business stakeholders, financial institutions, government agencies, tax authorities, or third parties or 2) as an
intermediate means to perform additional downstream tasks. The seamless launch of a payable’s registers, trial
balance, and reconciliation reports represent some of the examples in practice as below.
• Automated payment data extract from Oracle ERP Cloud to update downstream external applications.
• Existing master data extracts, such as customers, suppliers, and so on, to synchronise with external
applications.
Key Features
13 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
• BI Publisher report capabilities with custom reporting tools.
• Efficient data extract formats such as XML, CSV, and TEXT.
• Automation of end-to-end export flows with web service architecture.
• Tracking of export processes for completion, error tracking, and resubmission.
• Features that empower businesses with notification such as email, bell notification, business events and
web service-based callback to initiate downstream business tasks or operations.
Details
Exporting data from Oracle ERP Cloud consists of the following steps:
1. Create a BI Publisher report(s) using the respective Enterprise Scheduler (ESS) job or BI Publisher
dashboard.
2. Invoke the Oracle ERP Integration Service to initiate the respective export job.
3. Provide notification through asynchronous web service-based callback or business events upon
completion.
4. Deliver the status and information using callback to access extracted data file(s) from the Oracle ERP
Cloud. For alternate approach, see Appendix 22: Export Financials Data without Using callback.
5. Review any errors if applicable and take appropriate action, such as process the data extracted for further
downstream business operation needs.
Example
To illustrate the outbound data integration with Oracle ERP Cloud, the "Receivable Billing History Extract" flow will
be used as an example. A batch of transactions is extracted from the application and sent to the customers. The
transactions are extracted from the output file of the Receivable Billing History Extract ESS process.
Prerequisites
• Import a certificate into your local keystore. For more information, see Appendix 5: Testing Web Service
using a client Proxy.
14 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
• Configure the sample web service tester. For more information, see Appendix 5: Testing Web Service
using a client Proxy.
• Identify the username and password to call the Receivable Billing History Extract.
• Verify that the user has access to the AttachmentsRead role in the UCM server. For more information,
see Appendix 1: Security Prerequisites to Download the Job Output File.
• Verify the end point URL for the web service. For more information, see the automation web service
at: https://<hostname>.<domainname>/fscmService/ErpIntegrationService?WSDL.
Flow Steps
1. Prepare the payload for the exportBulkData operation to request the data extract from Oracle ERP Cloud.
2. Receive a bell, email, or web-service based callback or business event notification for the request identifier
returned by the web service operation in step 1.
3. Prepare the payload for the getDocumentForDocumentId operation to download the output file.
To access automation details using the Oracle ERP Integration Service, refer to the SOAP Web Services guide for
your cloud services on the Oracle Help Center (https://docs.oracle.com/pls/topic/lookup?ctx=fa-latest&id=OESWF ).
In this example “<pod-name>.<lba>” is the hostname and “xxx.oraclecloud.com” is the domain name.
15 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
• SOAP ERP Integration Service Documentation: https://docs.oracle.com/pls/topic/lookup?ctx=fa-
latest&id=OESWFREST ERP Integration
Service Documentation: https://docs.oracle.com/pls/topic/lookup?ctx=fa-latest&id=FARFA
2 exportBulkData Initiates a process to extract the selected data from the Oracle
Fusion database
5 submitESSJobRequest Submits an ESS job request for the specified job definition
6 submitJobWithOutput Submits an ESS job request for the specified job definition
and further sends a web service-based call back to provided
URL
8 downloadESSJobExecutionDetails Downloads the ESS job output and logs as a ZIP file for
provided ESS request ID
9 getESSExecutionDetails Obtains the ESS Job Execution details of the provided ESS
Request ID.
11 getDocumentsForFilePrefix Extracts the documents details having title starting with the
provided file prefix
Operation: importBulkData
The importBulkData operation uploads a file to the Oracle Universal Content Management (UCM) server based on
the document details specified and submits an ESS job to load and import the uploaded files to an application
table.
16 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Mandatory Type
Name (In/Out)
Document List of elements, each containing the details of the file to be uploaded. The IN Yes java.lang
details include the file content, file name, content type, file title, author, .String
security group, and account.
Job Details The details of the ESS job used to import and process the uploaded file. IN No, if the job java.lang
The details include the primary job information (job definition name, job property file is .String
package name), ParameterList, and JobRequestId. provided
To get the job package and definition name, see Appendix 18: How to get
job definition & package name including parameters.
Notification A two-digit number that determines how and when a bell or email IN Yes java.lang
notification is passed for the status of the import job. See the table below .String
Code
for the notification code values. Pass #NULL if a bell or email notification
is not needed.
2 Bell notification
17 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Mandatory Type
Name (In/Out)
1 Send on import
success
2 Send on import
failure
Callback The web service-based callback URL of the web service you implemented IN No java.lang
URL to receive the ESS job status upon job completion. Pass #NULL if web .String
service-based callback is not needed. See Appendix 10: Creating a
Callback Web Service.
Job Options Optional parameters, comma separated. It designates the specific inbound IN No java.lang
bulk data processing variation. See the list below for supported Job .String
Options and their significance.
Default value is Y.
Default value is N.
18 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Mandatory Type
Name (In/Out)
CUSTOMER_ALIAS=<Cust custom as
omer Key Alias Name> per
customer
Example:
created
FileEncryption=PGPUNSIG Keys.
NED,FA_ALIAS=ERP_CLOU
D_KEY,
CUSTOMER_ALIAS=CUST
OMER_ERP_KEY
19 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Mandatory Type
Name (In/Out)
Response The response code that returns the request identifier for the first job in OUT java.lang
Code the joblist, which is a Load Interface File for Import Job. .Long
Note: When a file upload to the UCM server fails, the remaining ESS jobs
aren’t executed, and an error is returned.
Job Details
The job details include the job definition and package names, as well as the job parameters of the imported object.
The following options may be used to specify the Job Details parameter associated with the importBulkData
operation:
To get the job package, definition name, and list of parameters, See Appendix 18: How to get job definition &
package name including parameters.
To generate a property file, see Appendix 11: Creating a Job Property File for the importBulkData Operation.
The following example illustrates the Journal Import process with the parameters included in the request payload:
ImportBulkData Request Payload
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:importBulkData
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/types/">
<ns1:document
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/">
<ns2:FileName>JournalsImportTEST_1234.zip</ns2:FileName>
<ns2:ContentType>zip</ns2:ContentType>
<ns2:DocumentTitle>JournalsImportTEST_1234.zip</ns2:DocumentTitle>
<ns2:DocumentAuthor>TestUser1</ns2:DocumentAuthor>
<ns2:DocumentSecurityGroup>FAFusionImportExport</ns2:DocumentSecurityGroup>
<ns2:DocumentAccount>fin$/generalLedger$/import$</ns2:DocumentAccount>
</ns1:document>
<ns1:jobDetails
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/">
20 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
<ns2:JobName>/oracle/apps/ess/financials/generalLedger/programs/common,JournalImportLauncher</n
s2:JobName>
<ns2:ParameterList>GL_BU_ABC,1061,Balance Transfer,1,ALL,Y,Y,N</ns2:ParameterList>
<ns2:JobRequestId/>
</ns1:jobDetails>
<ns1:notificationCode>30</ns1:notificationCode>
<ns1:callbackURL>#NULL</ns1:callbackURL>
<ns1:jobOptions>ImportOption= Y ,PurgeOption = N ,
ExtractFileType=ALL,InterfaceDetails=15</ns1:jobOptions>
</ns1:importBulkData>
</soap:Body>
</soap:Envelope>
The importBulkData operation response contains the Request ID of the job loading data into the respective
product interface table.
ImportBulkData Response Payload
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/importBulkDataResponse</wsa:Action>
<wsa:MessageID>urn:uuid:07a96e2e-09d1-44c5-82fe-08f3a504b260</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:importBulkDataResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/typ
es/">4084033</result>
</ns0:importBulkDataResponse>
</env:Body>
</env:Envelope>
Figure 6: Sample response payload for the importBulkData web service operation
21 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Operation: exportBulkData
The exportBulkData operation submits an ESS job request for the specified job definition and parameters and
returns the ESS RequestID. After completion of the provided ESS job, it also submits the "Upload Interface Error
and Job Output File to Universal Content Management" job, which downloads ESS OUT and LOG files generated
by the given ESS job, compresses together and uploads to UCM.
The following table lists the parameters for the exportBulkData operation:
Parameter Description Parameter Mandatory Type
Name (In/Out)
Job Name Job package name, Job definition name, both commas IN Yes java.lang.String
separated.
Example:
oracle/apps/ess/financials/commonModules/shared/com
mon/outbound/,ReceivablesBillingHistoryExtract
Parameter ESS job parameters of the ESS job, comma separated. IN Yes java.lang.String
List Supported parameters are only submit.argument1 to
submit.argumentN. The order of the parameters is
maintained per the list i.e., submit.argument1,
submit.argument2, submit.argument3 ...
submit.argumentN . Pass #NULL if a parameter is null. If
the job does not have parameters, leave the tag empty.
Notification A two-digit number that determines how and when a IN No java.lang.String
notification is passed for the status of the export job. See
Code
the table below for the notification code values. Pass
#NULL if a bell or email notification is not needed.
2 Bell notification
1 Send on import
success
2 Send on import
failure
Callback URL The web service-based callback URL of the web service you IN No java.lang.String
implemented to receive the ESS job status upon job
completion. Pass #NULL if web service-based callback is
not needed. See Appendix 10: Creating a Callback Web
Service.
Job Options Optional parameters, comma separated. See the list below IN No java.lang.String
for supported Job Options and their significance.
22 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Job Significance Supported
Option Values
Example:
FileEncryption=
PGPUNSIGNED,
FA_ALIAS=ERP_
CLOUD_KEY,
CUSTOMER_ALI
AS=CUSTOMER
_ERP_KEY
EnableEve Determines if Y, N
nt business event
will be sent after
completion of
all ESS Jobs.
Default value N.
Response The response code that returns the request identifier of the OUT java.lang.Long
Code export job.
The following illustration highlights a sample request payload of the exportBulkData operation to run "Receivable
Billing History Extract" job:
ExportBulkData Response Payload
23 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/
types/">
<soapenv:Header/>
<soapenv:Body>
<typ:exportBulkData>
<typ:jobName>oracle/apps/ess/financials/commonModules/shared/common/outbound/,ReceivablesBilling
HistoryExtract</typ:jobName>
<typ:parameterList>204,#NULL,#NULL,#NULL,#NULL,#NULL,#NULL,#NULL,#NULL,#NULL,#NULL,#NULL,
#NULL,1,FULL_EXTRACT,#NULL,#NULL,#NULL,ReceivablesBillingHistoryExtract,#NULL</typ:parameterList>
<typ:jobOptions>EnableEvent=Y</typ:jobOptions>
<typ:callbackURL>#NULL</typ:callbackURL>
<typ:notificationCode>#NULL</typ:notificationCode>
</typ:exportBulkData>
</soapenv:Body>
</soapenv:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/exportBulkDataResponse</wsa:Action>
<wsa:MessageID>urn:uuid:2ba8bf18-9fa5-40c4-8cfd-5b64008a3d2d</wsa:MessageID>
</env:Header>
24 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
<env:Body>
<ns0:exportBulkDataResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/typ
es/">4084081</result>
</ns0:exportBulkDataResponse>
</env:Body>
</env:Envelope>
NOTE: To see advance options for ExportBulkData operation, see Appendix 19: ExportBulkData Operation Precise
ExtractFileType Support.
Operation: getDocumentForDocumentId
The getDocumentForDocumentId operation returns the document that matches the provided document ID. This
operation should be used downloads the job output file generated by the importBulkData operation or data file
extracted by exportBulkData operation based on the documentId provided in the web service-based callback or
business event.
This operation requires application user access and access to the AttachmentsRead role to download data file
extracted by exportBulkData operation.
This operation requires application user access and the relevant role to access the corresponding UCM account to
downloads the job output file generated by the importBulkData operation.
For more information on assigning a user with this access, see Appendix 1: Security Prerequisites to Download the
Job Output File.
Note: Only files uploaded to Attachments or any UCM Account of FAFusionImportExport security groups can be
downloaded through any ERP Integration Service.
25 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Mandatory Type
Name (In/Out)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/
types/">
<soapenv:Header/>
<soapenv:Body>
<typ:getDocumentForDocumentId>
<typ:DocumentId>4013403</typ:DocumentId>
</typ:getDocumentForDocumentId>
</soapenv:Body>
</soapenv:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/getDocumentForDocumentIdResponse</wsa:Action>
<wsa:MessageID>urn:uuid:330595ee-ad49-4591-9c7f-d0ab5346a149</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:getDocumentForDocumentIdResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
26 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<ns0:Content>
<xop:Include href="cid:3b79cc67-26b3-47c8-9631-cd0b3e0bf18c"
xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
</ns0:Content>
<ns0:FileName xsi:nil="true"/>
<ns0:ContentType xsi:nil="true"/>
<ns0:DocumentTitle>ImportBulkData_JournalImportLauncher_4084033</ns0:DocumentTitle>
<ns0:DocumentAuthor>[email protected]</ns0:DocumentAuthor>
<ns0:DocumentSecurityGroup>FAFusionImportExport</ns0:DocumentSecurityGroup>
<ns0:DocumentAccount>fin$/generalLedger$/import$</ns0:DocumentAccount>
<ns0:DocumentName>ImportBulkData_JournalImportLauncher_4084033.zip</ns0:DocumentName>
<ns0:DocumentId>4013403</ns0:DocumentId>
</ns2:result>
</ns0:getDocumentForDocumentIdResponse>
</env:Body>
</env:Envelope>
Operation: uploadFileToUCM
The uploadFileToUCM operation uploads a file to the UCM server based on the document specified. This
operation requires application user access and the relevant role to access the corresponding UCM account under
FAFusionImportExport security group.
27 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Is Type
Mandatory
Name (In/Out)
Note: Files can be uploaded to any UCM Account of the FAFusionImportExport security group only.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:uploadFileToUcm
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<ns1:document
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/">
<ns2:FileName>JournalsImportTEST_1234.zip</ns2:FileName>
<ns2:ContentType>zip</ns2:ContentType>
<ns2:DocumentTitle>JournalsImportTEST_1234.zip</ns2:DocumentTitle>
28 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
<ns2:DocumentAuthor>TestUser</ns2:DocumentAuthor>
<ns2:DocumentSecurityGroup>FAFusionImportExport</ns2:DocumentSecurityGroup>
<ns2:DocumentAccount>fin$/generalLedger$/import$</ns2:DocumentAccount>
</ns1:document>
</ns1:uploadFileToUcm>
</soap:Body>
</soap:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/uploadFileToUcmResponse</wsa:Action>
<wsa:MessageID>urn:uuid:0dbff259-eff6-47a4-9ff0-f012ef7b640d</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:uploadFileToUcmResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/typ
es/">4013427</result>
</ns0:uploadFileToUcmResponse>
</env:Body>
</env:Envelope>
Operation: submitESSJobRequest
The submitESSJobRequest operation submits an ESS job request for the specified job definition. This operation
requires the user to have access on the specified ESS job.
29 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Is Type
Mandatory
Name (In/Out)
jobPackageName The ESS job package name for the IN Yes java.lang.String
ESS job.
jobDefinitionName The ESS job definition name for the IN Yes java.lang.String
ESS job.
Return The response code that returns the OUT Yes java.lang.String
request identifier of the ESS job.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:submitESSJobRequest
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<ns1:jobPackageName>oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader</ns
1:jobPackageName>
<ns1:jobDefinitionName>InterfaceLoaderController</ns1:jobDefinitionName>
<ns1:paramList>15</ns1:paramList>
<ns1:paramList>4013405</ns1:paramList>
<ns1:paramList>N</ns1:paramList>
<ns1:paramList>N</ns1:paramList>
</ns1:submitESSJobRequest>
</soap:Body>
</soap:Envelope>
30 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Figure 13: Sample request payload for the SubmitESSJobRequest operation
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/submitESSJobRequestResponse</wsa:Action>
<wsa:MessageID>urn:uuid:29176c05-d323-4ba7-8695-8c7502930a88</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:submitESSJobRequestResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/typ
es/">4084062</result>
</ns0:submitESSJobRequestResponse>
</env:Body>
</env:Envelope>
Operation: submitJobWithOutput
The submitJobWithOutput operation submits an ESS job request for the specified job definition and sends a web-
service based callback to the specified callback URL when the job completes. This operation requires the user to
have access on the specified ESS job.
jobPackageName The ESS job package name for the IN Yes java.lang.String
ESS job.
jobDefinitionName The ESS job definition name for the IN Yes java.lang.String
ESS job.
31 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Is Type
Mandatory
Name (In/Out)
Return The response code that returns the OUT Yes java.lang.String
request identifier of the ESS job.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:submitJobWithOutput
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<ns1:jobPackageName>/oracle/apps/ess/financials/generalLedger/programs/common</ns1:jobPackageNa
me>
<ns1:jobDefinitionName>JournalImportLauncher</ns1:jobDefinitionName>
<ns1:paramList>GL_BU_ABC</ns1:paramList>
<ns1:paramList>1061</ns1:paramList>
<ns1:paramList>Balance Transfer</ns1:paramList>
<ns1:paramList>1</ns1:paramList>
<ns1:paramList>ALL</ns1:paramList>
<ns1:paramList>Y</ns1:paramList>
<ns1:paramList>Y</ns1:paramList>
<ns1:paramList>N</ns1:paramList>
32 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
</ns1:submitJobWithOutput>
</soap:Body>
</soap:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/submitJobWithOutputResponse</wsa:Action>
<wsa:MessageID>urn:uuid:39acab17-dca9-4208-ad41-2a8add461ace</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:submitJobWithOutputResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/typ
es/">4084067</result>
</ns0:submitJobWithOutputResponse>
</env:Body>
</env:Envelope>
Operation: getESSJobStatus
The getEssJobStatus method obtains the execution status for a specified ESS request ID.
This operation requires the user to have access on the specified ESS job.
33 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Is Type
Mandatory
Name (In/Out)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/
types/">
<soapenv:Header/>
<soapenv:Body>
<typ:getESSJobStatus>
<typ:requestId>4084067</typ:requestId>
</typ:getESSJobStatus>
</soapenv:Body>
</soapenv:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/getESSJobStatusResponse</wsa:Action>
<wsa:MessageID>urn:uuid:e8cf2ae4-abc7-44c6-b01d-3ae57eda8eba</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:getESSJobStatusResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/typ
es/">SUCCEEDED</result>
</ns0:getESSJobStatusResponse>
</env:Body>
34 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
</env:Envelope>
Operation: downloadESSJobExecutionDetails
The downloadESSJobExecutionDetails operation downloads the ESS job output and logs as a ZIP file for a
specified ESS request ID. This operation requires the user to have the “AttachmentsRead” role.
Note: For Outbound Integration to export data from Oracle ERP (typical involving BIP job), it is recommended to
use export bulk data as described in Operation: exportBulkData
Return Returns a ZIP file having the ESS job output and OUT Yes java.lang.String
the logs of the specified ESS Job request.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/
types/">
<soapenv:Header/>
<soapenv:Body>
<typ:downloadESSJobExecutionDetails>
<typ:requestId>4084062</typ:requestId>
<typ:fileType>ALL</typ:fileType>
</typ:downloadESSJobExecutionDetails>
</soapenv:Body>
</soapenv:Envelope>
35 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/downloadESSJobExecutionDetailsResponse</wsa:Action>
<wsa:MessageID>urn:uuid:14455965-15a3-4872-85e3-d401519eac68</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:downloadESSJobExecutionDetailsResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<ns0:Content>
</ns0:Content>
<ns0:FileName xsi:nil="true"/>
<ns0:ContentType>zip</ns0:ContentType>
<ns0:DocumentTitle>ESS_L_4084062</ns0:DocumentTitle>
<ns0:DocumentAuthor>[email protected]</ns0:DocumentAuthor>
<ns0:DocumentSecurityGroup>Attachments</ns0:DocumentSecurityGroup>
<ns0:DocumentAccount xsi:nil="true"/>
<ns0:DocumentName>4084062.zip</ns0:DocumentName>
<ns0:DocumentId xsi:nil="true"/>
</ns2:result>
</ns0:downloadESSJobExecutionDetailsResponse>
</env:Body>
</env:Envelope>
36 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Operation: getESSExecutionDetails
The getESSExecutionDetails method obtains Job Path, Name, Status, and all related child job details for a specified
request ID. This operation requires the user to have access on the specified ESS job.
Return Returns the Job Path, Name, Status and all OUT Yes java.lang.String
related child job details for a specified
request ID.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/
types/">
<soapenv:Header/>
<soapenv:Body>
<typ:getESSExecutionDetails>
<typ:requestId>4084062</typ:requestId>
<typ:jobOptions></typ:jobOptions>
</typ:getESSExecutionDetails>
</soapenv:Body>
</soapenv:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/getESSExecutionDetailsResponse</wsa:Action>
<wsa:MessageID>urn:uuid:2e1dcbdf-991d-45eb-a51e-4bc2de8d225f</wsa:MessageID>
37 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
</env:Header>
<env:Body>
<ns0:getESSExecutionDetailsResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/typ
es/">{"JOBS":{"JOBNAME":"Load Interface File for
Import","JOBPATH":"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader","REQ
UESTID":"4084062","STATUS":"SUCCEEDED","CHILD":[{"JOBNAME":"Load File to
Interface","JOBPATH":"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader","RE
QUESTID":"4084064","STATUS":"SUCCEEDED"},{"JOBNAME":"Transfer
File","JOBPATH":"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader","REQUES
TID":"4084063","STATUS":"SUCCEEDED"}]}}</result>
</ns0:getESSExecutionDetailsResponse>
</env:Body>
</env:Envelope>
Operation: getDocumentIdsForFilePrefix
The getDocumentIdsForFilePrefix operation returns the document identifiers of the files having document title
starting with the specific file prefix from the provided UCM account under FAFusionImportExport security group
not having the given comment. If the UCM account is specified as #NULL then operation gets the document
identifiers of the files having document title starting with the specific file prefix from Attachment security group
not having the given comment.
This operation can be used get documentID of the job output file generated by the importBulkData operation or
data file extracted by exportBulkData operation based on file prefix ImportBulkData_<JobName>_<RequestId> or
ExportBulkData_<JobName>_<RequestId>.
This operation requires application user access and access to the AttachmentsRead role to get the documentID of
data file extracted by exportBulkData operation.
This operation requires application user access and the relevant role to access the corresponding UCM account to
get the documentID of the job output file generated by the importBulkData operation.
For more information on assigning a user with this access, see Appendix 1: Security Prerequisites to Download the
Job Output File.
Note: Only files uploaded to Attachments or any UCM Account of FAFusionImportExport security groups can be
accessed through any ERP Integration Service.
Caution: A blank search should not be performed through this operation as it could lead to performance issues
and out of memory issue. Pass values file prefix, UCM account, and Comment as precise as possible for best
performance.
38 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Parameter Description Parameter Mandatory Type
Name (In/Out)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/
types/">
<soapenv:Header/>
<soapenv:Body>
<typ:getDocumentIdsForFilePrefix>
<typ:prefix>ExportBulkData_ReceivablesBillingHistoryExtract_4084081</typ:prefix>
<typ:account>#NULL</typ:account>
<typ:comments>#NULL</typ:comments>
</typ:getDocumentIdsForFilePrefix>
</soapenv:Body>
</soapenv:Envelope>
39 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
GetDocumentIdsForFilePrefix Response Payload
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/getDocumentIdsForFilePrefixResponse</wsa:Action>
<wsa:MessageID>urn:uuid:8776cf8f-28ae-41b3-8d92-492644a11edf</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:getDocumentIdsForFilePrefixResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/typ
es/">4013456</result>
</ns0:getDocumentIdsForFilePrefixResponse>
</env:Body>
</env:Envelope>
Operation: getDocumentsForFilePrefix
The getDocumentsForFilePrefix operation returns the files having document title starting with the specific file
prefix from the specified UCM account under the FAFusionImportExport security group doesn’t have the value
you provided for comment. If the UCM account is specified as #NULL, then the operation gets the files having
document title starting with the specific file prefix from Attachment security group doesn’t have the value you
provided for comment.
This operation can be used downloads the job output file generated by the importBulkData operation or data file
extracted by exportBulkData operation based on file prefix ImportBulkData_<JobName>_<RequestId> or
ExportBulkData_<JobName>_<RequestId>.
This operation requires application user access and access to the AttachmentsRead role to download data file
extracted by exportBulkData operation.
This operation requires application user access and the relevant role to access the corresponding UCM account to
downloads the job output file generated by the importBulkData operation.
For more information on assigning a user with this access, see Appendix 1: Security Prerequisites to Download the
Job Output File.
Note: Only files uploaded to Attachments or any UCM Account of FAFusionImportExport security groups can be
downloaded through any ERP Integration Service.
40 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Caution: A blank search should not be performed through this operation as it could lead to performance issues
and out of memory issue. Pass values file prefix, UCM account, and comment as precise as possible for best
performance.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/
types/">
<soapenv:Header/>
<soapenv:Body>
<typ:getDocumentsForFilePrefix>
<typ:prefix>ImportBulkData_JournalImportLauncher_4084033</typ:prefix>
<typ:account>fin$/generalLedger$/import$</typ:account>
41 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
<typ:comments>#NULL</typ:comments>
</typ:getDocumentsForFilePrefix>
</soapenv:Body>
</soapenv:Envelope>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationServic
e/ErpIntegrationService/getDocumentsForFilePrefixResponse</wsa:Action>
<wsa:MessageID>urn:uuid:ee988c8a-9e41-417e-b06e-ab2fa8fa0415</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:getDocumentsForFilePrefixResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<ns0:Content>
<xop:Include href="cid:7818efa8-24ee-4e2c-82e4-e4d2ad086601"
xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
</ns0:Content>
<ns0:FileName xsi:nil="true"/>
<ns0:ContentType xsi:nil="true"/>
<ns0:DocumentTitle>ImportBulkData_JournalImportLauncher_4084033</ns0:DocumentTitle>
<ns0:DocumentAuthor>[email protected]</ns0:DocumentAuthor>
<ns0:DocumentSecurityGroup>FAFusionImportExport</ns0:DocumentSecurityGroup>
<ns0:DocumentAccount>fin$/generalLedger$/import$</ns0:DocumentAccount>
<ns0:DocumentName>ImportBulkData_JournalImportLauncher_4084033.zip</ns0:DocumentName>
<ns0:DocumentId>4013403</ns0:DocumentId>
</ns2:result>
42 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
</ns0:getDocumentsForFilePrefixResponse>
</env:Body>
</env:Envelope>
Operation: appendFileComment
Appends the specified comment to a document corresponding to provided numeric document identifier.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:appendFileComment
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService
/types/">
<ns1:documentId>4013427</ns1:documentId>
<ns1:comments>FileEncryption=PGPUNSIGNED;FA_ALIAS=FUSION_AHC_IMPORT1;CUSTOMER_ALIA
S=FUSION_AHC_CUSTOMER1</ns1:comments>
</ns1:appendFileComment>
</soap:Body>
</soap:Envelope>
43 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Security Policies, Roles, Privileges
This section illustrates security policies, roles, privileges details required to use various artifacts involved during
inbound and outbound integration design such as ERP Integration Service(SOAP/REST), ERP ICS Integration
Service, ERP Processes Service, Load Interface File for Import ESS Job, Purge Interface Tables job etc.
erpprocesses
Journals Extract
44 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Category Artifact Security Tree (Privileges >> Role)
Security Policies For ERP Integration SOAP Service and ERP ICS
Integration SOAP Service
The Oracle ERP Integration Service is secured using the following policy:
oracle/wss11_saml_or_username_token_with_message_protection_service_policy .
When a client calls the service, the service must satisfy the message protection policy to ensure that the payload is
transported with encryption or sent over the SSL transport layer.
To use this policy, the message must be encrypted using a public key provided by the server. When the message
reaches the server, it can be decrypted by the server's private key. A keystore is used to import the certificate, and
it is referenced in the subsequent client code.
The public key can be obtained from the certificate provided in the service WSDL file. See the following figure for
an example of a certificate that is Base64 encoded.
Figure 28: Example of a certificate in the Oracle ERP Integration Service WSDL file
45 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
To use the key contained in this certificate, create a local Keystore and import the certificate into it. For more
information, see Appendix 5: Testing Web Service using a Client Proxy.
Note: The ERP ICS Integration SOAP Service follows the same security policy as ERP Integration SOAP Service.
Importing the certificates for any one of the services is enough.
For more information on Callback Service, see Appendix 10: Creating a Callback Web Service.
The response includes the UCM document ID of the ZIP file uploaded by the "Upload Interface Error and Job
Output File to Universal Content Management" job which contains output artifacts, such as the LOGs and OUT
files of each ESS jobs, and data from the interface and error tables. This ZIP file can be retrieved using the
Operation: getDocumentForDocumentId.
The following callback response provides the Request ID and status of each of the jobs outlined above.
Sample Callback Payload
{
"JOBS": [
{
"JOBNAME": "Load Interface File for Import",
"JOBPATH": "/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader",
"DOCUMENTNAME": "APTEST_0310.zip",
"REQUESTID": "455622",
"STATUS": "SUCCEEDED",
"CHILD": [
{
"JOBNAME": "Transfer File",
"JOBPATH": "/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader",
"REQUESTID": "455623",
"STATUS": "SUCCEEDED"
},
{
"JOBNAME": "Load File to Interface",
"JOBPATH": "/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader",
"REQUESTID": "455624",
"STATUS": "SUCCEEDED"
}
]
},
{
"JOBNAME": "Import Payables Invoices",
46 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
"JOBPATH": "/oracle/apps/ess/financials/payables/invoices/transactions",
"REQUESTID": "455625",
"STATUS": "SUCCEEDED"
},
{
"JOBNAME": "Upload Interface Error and Job Output File to Universal Content Management",
"JOBPATH": "/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader",
"REQUESTID": "455629",
"STATUS": "SUCCEEDED"
}
],
"SUMMARYSTATUS": "SUCCEEDED",
"DOCUMENTID": "1691893"
}
Advanced Features
Oracle ERP Cloud supports Pretty Good Privacy (PGP) unsigned encryption with 1024 bits key size. There are two
types of encryption keys:
Note: Customers may use different keys for a different Cloud pod or the same key on multiple Cloud pods.
For more information on managing PGP keys, see Appendix 13: Managing PGP Encryption Keys.
47 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Enabling Encryption
For Import Process
A customer encrypts inbound data file using the cloud public key. Oracle ERP Cloud decrypts this file using a cloud
private key before starting the load and import process. These are the following steps to enable encryption in the
import process:
1. Encrypt the data ZIP file using an Oracle ERP Cloud public key. To encrypt inbound data file, see Appendix
14: How to Encrypt and Decrypt a Data File.
2. In the payload for the importBulkData operation, specify the following job options:
Options Value
Example: <typ:jobOptions>FileEncryption=PGPUNSIGNED,FA_ALIAS=<ERP_CLOUD_KEY>,CUSTOMER_ALIAS=<
CUST OMER_KEY></typ:jobOptions>
Note: Alias names are defined when you generate an Oracle ERP Cloud key or import a customer key.
For Export Process
When enabled, Oracle ERP Cloud encrypts an extracted data file using a customer’s public key and uploads the file
to UCM. These are the following steps to enable encryption in the export process.
1. In the payload for the exportBulkData operation, specify the following job options:
Options Value
Note: Alias names are defined when you generate an Oracle ERP Cloud key or import a customer key.
Decrypt the output file using the customer private key. To decrypt an outbound data file, see Appendix 14: How to
Encrypt and Decrypt a Data File.
• Generate and add the Job Properties file to the data ZIP file
• Generate and upload the Job Properties file to the UCM applicable account for reusability
48 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
See Appendix 11: Creating a Job Property File for the importBulkData Operation for detailed information on how to
generate the Job Property file.
Note
Parameter Precedence:
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrat
ionService/types/">
<ns1:document
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrat
ionService/">
<ns2:Content>
UEsDBBQAAAAIAKSUz0guTciD4QAAAKwDAAAPAAAAR2xJbnRlcmZhY2UuY3N2vZJBS8NAEIXvgv9hf8A0mZmdDbu9tSR60SK2
6jm0owRiIkk
9+O/dqDebSxc6h2UZvsfjPWZTvQABI/qcOLcEOx2P67qtu73Co773RzW7oe7GVx1ge1tGNHIoOQZYARIgIhARTp+fB+Zmcil
cZj0AsZBkRW
RvPtvW/PpFo68PNQtTrbfmTg9vOizNczM2fWf+tg86NP1haUrdL9BDsvz/BCbvAs9mqDbl9dXJ0sxca2V1n9JaxIIjDiGzkS
qYg0jATIrk9 Inyi5S3eko6OWudd
/HoJobFCqFkwsnRE+VnNvcNUEsDBBQAAAAIAIeUz0g8JMczbAAAAH4AAAAdAAAASm91cm5hbHNJbXBvcnRURVNULnBy
b3BlcnRpZXM1yDEKQjEMBuBd8A4eIBC7uDs4KEUE3wV+a6wP2qQkvsHbi4h822eO0oQxRrBE8GNWaJnRgquoOFqWexXn4VYd
PbhY76Z0ssU
V7diH+Stj0fIU/2/8ejpcJ0rbXaIL3rg1CUq0z5nOX5v16gNQSwECFAAUAAAACACklM9ILk3Ig+EAAACsAwAADwAAAAAAAAA
AACAAAAAAAA
AAR2xJbnRlcmZhY2UuY3N2UEsBAhQAFAAAAAgAh5TPSDwkxzNsAAAAfgAAAB0AAAAAAAAAAAAgAAAADgEAAEpvdXJuYWxzSW
1wb3J0VEVTV
C5wcm9wZXJ0aWVzUEsFBgAAAAACAAIAiAAAALUBAAAAAA==</ns2:Content>
<ns2:FileName>JournalsImportTEST_1234.zip</ns2:FileName>
</ns1:document>
<ns1:jobDetails></ns1:jobDetails>
<ns1:notificationCode>30</ns1:notificationCode>
<ns1:callbackURL>http://hostname:port/myCallbackService</ns1:callbackURL>
<ns1:jobOptions></ns1:jobOptions>
</ns1:importBulkData>
</soap:Body>
Figure 30 : Sample request payload for the Journals Import process with the parameter file comprehended along
import data in a ZIP file
49 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
The following sample job property file for Journals Import (JournalsImportTEST.properties) is included with the
import data file in a ZIP file:
oracle/apps/ess/financials/generalLedger/programs/common,JournalImportLauncher,JournalsI
mportTEST,1061,Payables,1,ALL,N,N,N
See Appendix 11: Creating a Job Property File for the importBulkData Operation for detailed information on
creating the job properties file.
The following sample payload illustrates the Journal Import process with the job properties file uploaded to UCM.
The parameter file should be uploaded using the specific UCM account associated with a particular import
process:
Sample Request Payload
<soap:Body>
<ns1:importBulkData
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrat
ionService/types/">
<ns1:document
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrat
ionService/">
<ns2:Content>
UEsDBBQAAAAIAKSUz0guTciD5gAAAKwDAAAPAAAAR2xJbnRlcmZhY2UuY3N2tZLBasMwDIbvg72DHkB1JFkJcW8tyXbZwliz
7hxabwSyZCT
dYW8/Z/SWFgZm/8EY+/sl9KOqfEVGIcoTlsQy1n46bZuu6Q8en/3HcPJQj00/vfkRd/dFQANHmpDDDRIjESEz03z5PfCqQpc
sNTZHZFFWkw
X27qvr4NwP6u9PDysotzt48Md3P65h307t0MP59cmP7XBcQ+EPKwp1Yu1LOeE8dXLxb1ZZFbc31aXQ4FpqRfkYk1rAXMrinL
GBykScqiOjW
fT0kfal/iG8zUvUylmb5mlYupkRtcqkRiV69Ej7Un9K7gdQSwECFAAUAAAACACklM9ILk3Ig+YAAACsAwAADwAAAAAAAAABA
CAAAAAAAAAA
R2xJbnRlcmZhY2UuY3N2UEsFBgAAAAABAAEAPQAAABMBAAAAAA==</ns2:Content>
<ns2:FileName>JournalsImportTEST_1234.zip</ns2:FileName>
</ns1:document>
<ns1:jobDetails></ns1:jobDetails>
<ns1:notificationCode>30</ns1:notificationCode>
JobDetailFileName=JournalsImportTEST.properties
<ns1:callbackURL>http://hostname:port/myCallbackService</ns1:callbackURL>
<ns1:jobOptions></ns1:jobOptions>
</ns1:importBulkData>
</soap:Body>
Figure 32: Sample request payload for the JournalsImport process with the parameter file uploaded to UCM
50 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Specifying Multiple Threads in Bulk Import
To increase the throughput when importing data, users can specify multiple threads in the import process. It
supports a maximum of 10 threads for sequential processing and a maximum of 5 threads for parallel processing.
After the data file is loaded in the interface table, the import process will start batch processing based on number
of job parameters records defined in a property file and job option in the payload. The default option is sequential
and the following property in <jobOptions> attribute could enable parallel processing:
<jobOptions>ExecutionMode=Parallel<jobOptions>
In a job property file, you must enter multiple records with parameter values that can import data in batches either
sequentially or concurrently. In the sequential pattern, an import process stops when a batch fails. The remaining
batch processes will not be executed, and callback will include all the details including the failed process.
The following is the sample property file of journals import where data file contains 3 different ledgers:
oracle/apps/ess/financials/generalLedger/programs/common,JournalImport
Launcher,GL,1061,Payables,1,ALL,N,N,N
oracle/apps/ess/financials/generalLedger/programs/common,JournalImport
Launcher,GL,1061,Payables,2,ALL,N,N,N
oracle/apps/ess/financials/generalLedger/programs/common,JournalImport
Launcher,GL,1061,Payables,3,ALL,N,N,N
ERP will import three ledgers either sequentially or concurrently depending on the “ExecutionMode” type. The job
package and name must be same for all the records.
For more information about the MTOM changes, see Appendix 15: Large File Optimization (MTOM) Proxy Client
Code Changes.
This access can be granted via the security role called AttachmentsUser.
Use the Security Console to grant access to the AttachmentsUser role. The Security Console can be accessed in
the following ways:
• Use the Manage Job Roles or Manage Duties tasks in the Setup and Maintenance work area.
• Select Navigator - Tools - Security Console
51 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Access to the Security Console is provided by the predefined IT Security Manager role.
The AttachmentsUser role is inherited by the predefined Employee and Contingent Worker roles. You can verify
this inheritance by querying the role AttachmentsUser from the Security Console and use the Expand
Toward Users and show the Roles option.
After reviewing the role inheritance of the AttachmentsUser role, review the users that are currently assigned the
AttachmentsUser role.
You can verify role assignments to users by querying the role AttachmentsUser from the Security Console and use
the Expand Toward Users and show Users option.
52 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Figure 35: Screenshot to verify user assignments to Attachments User role
In above figure, the user John.Reese have been assigned the AttachmentsUser role through the predefined
Employee role.
Lastly, verify that the Attachments security group is listed in the UCM Search page.
Figure 36: Search page for UCM to verify user's access to Attachments security group.
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import org.apache.commons.codec.binary.Base64;
System.out.println(encStr);
}
FileInputStream is = null;
is = new FileInputStream(file);
buffer.flush();
} catch (IOException e) {
e.printStackTrace();
}
return buffer.toByteArray();
}
private static byte[] loadFile(File file) throws IOException {
InputStream is = new FileInputStream(file);
int offset = 0;
int numRead = 0;
0) {
54 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
offset += numRead;
}
}
is.close();
return bytes;
}
}
The following example illustrates sample code for preparing a data file for the outbound flow.
Sample FileName: UtilDecodeBase.java
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import org.apache.commons.codec.binary.Base64;
55 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
1. Open the File Based Data Import guide for your cloud service.
2. Locate your respective import process. For example, Journal Import.
3. View the UCM account in the Details section.
SUCCEEDED Request completed and Check the details of the completed process and
was successful. proceed with any post processing.
ERROR Request processed but Download the details of the error and correct the data.
resulted in error.
WARNING Request processed but Download the details of the process. Check the reason
resulted in a warning. for the warnings and take the necessary action to
correct the input data.
1. Export the certificate from the browser to the file, using the following steps:
a. Access the SSL URL for any web service using browser..
b. On Internet Explorer, click Tools > Internet Options.
c. On the Content tab, click Certificates. On the Personal tab, select the Baltimore CyberTrust
Root certificate and click View. The certificate hierarchy appears; export the top two certificates
(Baltimore CyberTrust Root and Verizon Akamai SunServer CA G14-SHA1).
56 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Figure 39: Screenshot to select the certificate
d. On the Certification Path tab, select Baltimore CyberTrust Root and click View Certificate.
e. On the Details tab, select Copy to File. The Certificate Export Wizard appears.
f. Click Next > Next and enter a name and location for the file you want to export.
i. Repeat steps iv to viii for the Verizon Akamai SunServer CA G14-SHA1 certificate.
When using other web browsers, perform similar steps. The navigation path may differ in the web browsers used.
keytool -import -trustcacerts -file <filename> -alias <aliasname> -keystore defaultkeystore.jks - storepass
welcome1
3. Run the following command to verify if the trust store contains the imported certificates:
o jksFPath: File location that has the certificate to add to the keystore. For
example, D:\fintuilwdestapp\Project5\client.jks
o jksPassword: Password to access WSDL. For example, Welcome1.
o trustStore: Path where the certificates are stored, used during java installation by default.
o trustStorePassword: Password for truststore.
o Username: User name to sign in to the service.
o Password: Password for the user to sign in to the service. For example, Welcome1.
o endpointNonSSLURL: URL for the FinUtilService service.
o serviceName: Schema of the service used to add the policies.
o securityFeature: Policy used to add to the service.
To export the certificate associated with the web service from the browser, invoke the end point URL for the web
service
https://<hotaname>.<domainname>/fscmService/ErpIntegrationService?WSDL.
58 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Figure 40: Sample content of the dsig:X509Certificate
2. To use the key contained in this certificate, create a local KeyStore and import the certificate into it:
•
o Create a new file with any name you like. You must change the extension to .cer to indicate that it
is a certificate file.
o Using a text editor, open the file you just created and enter “----BEGIN CERTIFICATE----“on the
first line.
o In the next line, copy the Base64 encoded certificate from the service WSDL file to the newly
created certificate file.
o Add "-----END CERTIFICATE-----" on a new line and save the file. Now you have a certificate
containing the public key from the server.
o Open the command line and change the directory to $JAVA_HOME/bin. Use the following
command to create a KeyStore and import the public key from the certificate:
@WebServiceRef
59 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
// Add the additional variables
QName("http://xmlns.oracle.com/apps/financials/commonModules/shared/ErpIntegrationService/", "ErpIntegra
tionService");
// End add the additional variables public static void main(String [] args) { System.out.println("inside main");
f.invokeServiceWithUsernameTokenMessageProtectionPolicy();
//f.invokeEssJobStatus(submittedJobId);
//f.invokeDownloadESSJobExecDetails(submittedJobId);
Figure 42: Sample proxy code with variables for ERPIntegration SOAP service
System.out.println("inside invokeservice");
60 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
fin.us.oracle.com / fscmService / ErpIntegrationService ? wsdl ");
}catch(MalformedURLException e){
e.printStackTrace();
System.setProperty("javax.net.ssl.trustStore", trustStore);
System.setProperty("javax.net.ssl.trustStorePassword", trustStorePassword);
ErpIntegrationService_Service.getErpIntegrationServiceSoapHttpPort(securityFeature);
requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointNonSSLURL);
requestContext.put(ClientConstants.WSSEC_KEYSTORE_TYPE, "JKS");
requestContext.put(ClientConstants.WSSEC_KEYSTORE_LOCATION, jksFPath);
requestContext.put(ClientConstants.WSSEC_KEYSTORE_PASSWORD, jksPassword);
System.out.println("Finished invokeservice");
Figure 43: Sample method code to add the policy for ErpIntergration SOAP service
<ns1:uploadFileToUcm
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/ErpIntegrationService/types/">
<ns1:document
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/ErpIntegrationService/"> <ns
2:Content>UEsDBBQAAAAIAEhrrkQSDhHq5BLBQYAAAAAAQABAD0AAAATPQEAAAA=</ns2:Content>
<ns2:FileName>TestUploadFileName.zip</ns2:FileName> <ns2:ContentType>zip</ns2:ContentType>
<ns2:DocumentTitle>Sample File1</ns2:DocumentTitle>
<ns2:DocumentAuthor>finuser1</ns2:DocumentAuthor>
<ns2:DocumentSecurityGroup>FAFusionImportExport</ns2:DocumentSecurityGroup>
<ns2:DocumentAccount>fin$/generalLedger$/import$</ns2:DocumentAccount>
</ns1:document>
61 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
</ns1:uploadFileToUcm>
</soap:Body>
</soap:Envelope>
System.out.println("inside invokeupload");
ObjectFactory objectFactory = new ObjectFactory();
documentDet.setContent(objectFactory.createDocumentDetailsContent(getByteArray(fileNameWithPath)));
documentDet.setContentType(objectFactory.createDocumentDetailsContentType(contentType));
documentDet.setDocumentAccount(objectFactory.createDocumentDetailsDocumentAccount(ucmAccountInfo));
documentDet.setDocumentAuthor(objectFactory.createDocumentDetailsDocumentAuthor(username));
documentDet.setDocumentSecurityGroup(objectFactory.createDocumentDetailsDocumentSecurityGroup(ucmSecuri
tyGroup));
documentDet.setDocumentTitle(objectFactory.createDocumentDetailsDocumentTitle(title));
documentDet.setFileName(objectFactory.createDocumentDetailsFileName(fileName));
uploadFileToUcm.setDocument(documentDet);
UploadFileToUcmResponse retStatus = null;
try {
retStatus = ErpIntegrationService.uploadFileToUcm(uploadFileToUcm);
e.printStackTrace();
}
return retStatus.getResult();
62 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
}
FileInputStream is = null;
is = new FileInputStream(file);
buffer.flush();
} catch (IOException e) {
e.printStackTrace();
}
return buffer.toByteArray();
Figure 45: Sample payload for method invokeUpload() to invoke the uploadFileToUCM operation
• Compile the web service client proxy project created in Appendix 5: Testing Web Service using a Client
Proxy.
o Add the following JDeveloper 11g jars to the deployment profile:
▪ weblogic.jar : $MW_HOME/wlserver_10.3/server/lib/weblogic.jar
▪ jrf.jar: $MW_HOME/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar
63 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
• Create the deployment profile for the project:
o Click Project Properties > Click Deployment > Click New > Select Archive Type as JAR File and
specify the name.
o Select the Include Manifest File (META-INF/MANIFEST.MF) option and specify the value for
Main Class.
• Generate the jar file and execute the following command. For example, java –classpath $CLASSPATH –jar
<JAR File Name>
• If an ADFdi correction spreadsheet is available, use the spreadsheet to correct the data in the interface
table and resubmit the import process.
• If no correction spreadsheet is available, use the purge process to delete all the records from the interface
table. Correct the data in the original data file and upload the file again using the correct UCM account.
Fixed Asset Mass PrepareSourceLines.xlsx In the Fixed Assets work area, navigate to
Additions Import Additions.
Fixed Asset Mass UpdateMassFinancialTrans In the Fixed Assets work area, navigate to
Adjustments Import action.xlsm Financial Transactions.
Fixed Asset Mass UpdateMassRetirements.xls m In the Fixed Assets work area, navigate to
Retirements Import Retirements.
64 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Fixed Asset Mass UpdateMassTransfers.xlsm In the Fixed Assets work area, navigate to
Transfers Import Pending Mass Transfers.
The following section describes how to import journals using the individual web service operations. The same
process applies to all the supported FBDI objects.
Perform the following steps to control the orchestration flow using individual operations:
Use the following operations to control the orchestration of the outbound flow:
65 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
1.
a. Submit the Receivable Billing History Extract using the submitESSJobRequest
operation. See SubmitESSJobRequest Request Payload.
b. Monitor the Receivable Billing History Extract job till completion using the getEssJobStatus
operation. See GetESSJobStatus Response Payload and Appendix 4: ESS Job Execution Status
Monitoring
c. Use downloadESSJobExecutionDetails operation to download the LOG and OUT files of requests
submitted in step b and d.
Implementation Consideration
In practice, customers will create and host a callback web service to optimally leverage the callback capabilities
provided by Oracle ERP Integration Service for notification purposes. The customer callback web service must
implement the onJobCompletion() operation. When a job completes, Oracle ERP Integration Service invokes the
customer callback web service as defined in the request payload of supported operations with callback capabilities,
such as the importBulkData, exportBulkData, submitJobWithOutput operations.
Oracle ERP Cloud will invoke this service upon job completion respectively. You can leverage any Oracle PaaS
solution or other Third Party Solutions to host callback service.
Note: The customer callback web service triggers when the last job in the payload is executed, irrespective of
whether the job completes successfully or fails.
66 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
"REQUESTID": "43649",
"STATUS": "SUCCEEDED"
}
]
},
{
"JOBNAME": "Upload Interface Error and Job Output File to Universal Content Management",
"JOBPATH": "/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader",
"REQUESTID": "43651",
"STATUS": "SUCCEEDED"
},
{
"JOBNAME": "Purge Interface Tables",
"JOBPATH": "/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader",
"REQUESTID": "43652",
"STATUS": "SUCCEEDED"
}
],
"SUMMARYSTATUS": "SUCCEEDED",
"DOCUMENTID": "29639"
}
The following example illustrates a sample Java code for retrieving the details from the response payload:
Callback Service Implementation Sample Code
public void onJobCompletion(OnJobCompletion params) {
// Use the xml parser api to retrieve the value of the node
try{
DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
InputSource is = new InputSource();
is.setCharacterStream(new StringReader(xmlStr));
Document doc = dBuilder.parse(is);
67 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
//printing child
if (job.hasChildNodes()) {
NodeList nodeList2 = job.getChildNodes();
for (int count2 = 0; count2 < nodeList2.getLength(); count2++) {
Node tempNode2 = nodeList2.item(count2);
if (tempNode2.getNodeType() == Node.ELEMENT_NODE && tempNode2.hasChildNodes()) {
NodeList nodeList3 = tempNode2.getChildNodes();
for (int count3 = 0; count3 < nodeList3.getLength(); count3++) {
printJobDetails(nodeList3.item(count3));
}
}
}
}
}
}
}
}
}
}catch(Exception e) {
e.printStackTrace(); }
• Oracle ERP cloud implements Oracle Web Service Manager (OWSM) to secure web services.
• The security policy for callback is: oracle/wss_saml_token_bearer_client_policy.
• This mandates that the callback web service in your PaaS or on-premise must be secured through
compatible OWSM server policy: oracle/wss_saml_bearer_or_username_token_service_policy.
• ERP callback implements SAML bearer token policy. In order for Client to receive callback, the issuer name
(username) used in SAML assertion must exist in the Client identity store.
• The issuer name is the username used when invoking Inbound (importBulkData) or Outbound
(exportBulkData) must be present in the IDM of PaaS Service application. The password for the username
need not be the same.
68 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
• Oracle ERP Cloud certificates must be imported on the client side (where Callback is deployed) to
authenticate SAML assertion from Oracle ERP cloud.
Note: Oracle ERP Cloud does not import the self-signed SSL certificate to Keystore.
Option 1:
Oracle ERP cloud certificates can be retrieved from ERP Integration Service WSDL as follows:
Eg. https://eeho.fa.us2.oraclecloud.com/fscmService/ErpIntegrationService?wsdl
-----BEGIN CERTIFICATE-----
certificate string
-----END CERTIFICATE-----
Repeat above for second certificate. You will have two certificate files. For example, erp_cert1.cer and
erp_cert2.cer.
Option 2:
Support need to open Collab SR to get Certificates:
Domain -> Security -> Keystore -> owsm-> keystore manage button
ns1:Action="http://xmlns.oracle.com/scheduler/onJobCompletion"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ErpIntegrationCallbackServiceSoapHttp"
type="tns:ErpIntegrationCallbackService">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="onJobCompletion">
<soap:operation
soapAction="http://xmlns.oracle.com/scheduler/onJobCompletion"/>
<wsdl:input>
<soap:body use="literal" parts="onJobCompletion"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ErpIntegrationCallbackservice">
<wsdl:port name="ErpIntegrationCallbackservicePort"
binding="tns:ErpIntegrationCallbackServiceSoapHttp">
<soap:address
location="http://localhost:7101/finFunSharedErpIntegrationCallback/ErpIntegr
ationCallbackservice"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Sample SAML assertion from Oracle ERP Cloud when invoking callback service.
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-
1.0.xsd"
env:mustUnderstand="1">
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" MajorVersion="1" MinorVersion="1"
AssertionID="SAML-fCdgV0BqwQDU97xq6frjRw22" IssueInstant="2016-05-24T01:06:22Z"
Issuer="www.oracle.com">
<saml:Conditions NotBefore="2016-05-24T01:06:22Z" NotOnOrAfter="2016-05-24T01:11:22Z"/>
<saml:AuthenticationStatement AuthenticationInstant="2016-05-24T01:06:22Z"
AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
<saml:Subject>
<saml:NameIdentifier
Format="urn:oasis:names:tc:SAML:1.1:nameidformat:unspecified">FINUSER1</saml:NameIdentifier>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer</saml:ConfirmationMethod>
</saml:SubjectConfirmation>
</saml:Subject>
</saml:AuthenticationStatement>
<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<dsig:SignedInfo>
<dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<dsig:Reference URI="#SAML-fCdgV0BqwQDU97xq6frjRw22">
<dsig:Transforms>
<dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<dsig:DigestValue>IqAsJkAm490B8xQLk3+ztDPLggw=</dsig:DigestValue>
</dsig:Reference>
71 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
</dsig:SignedInfo>
<dsig:SignatureValue>DqM35PHNh4RKvWiZ/QOBYieWl0a9sKk0eFYSISL2NRqK7gLNdH8mTUT3HlBl28
2b3FsJrEgK25cuV1f2suquyEzOeGUQTd71hueW4xbXg5bjUNAQ+RXjdP3TUr8wy9+Ftv1s2tobZSXyfpxmHDDcsgOE
P2MltkItjLKRyCDlHTrqUxBJDW+g5KvwgNhjadA/1ShlBeyA4uv2X3uxa/IyDGr5h82P6v+jUIXtnDjZW0lDphdjZOXx
+y943tYPx8SYDaIaf20lb19lHI10nwm76nzo7gU/MAxS2d5uf1YsbH15NN2tD7amwpSznRTt8OgTwgru27XcFVQ+0F
G
jA4O26Q==</dsig:SignatureValue>
<dsig:KeyInfo>
<dsig:X509Data>
<dsig:X509Certificate>MIIDbDCCAlSgAwIBAgIGAVL8VT1fMA0GCSqGSIb3DQEBCwUAMHgxCzAJBgNVBAYT
AlVTMRAwDgYDVQQIEwdNeVN0YXRlMQ8wDQYDVQQHEwZNeVRvd24xFzAVBgNVBAoTDk15T3JnYW5pe
mF0aW9uMRkwFwYDVQQLExBGT1IgVEVTVElORyBPTkxZMRIwEAYDVQQDEwlDZXJ0R2VuQ0EwHhcNMTY
wMjIwMDEzOTUwWhcNMjEwMjE4MDEzOTUwWjBTMRMwEQYKCZImiZPyLGQBGRYDY29tMRYwFAYKCZI
miZPyLGQBGRYGb3JhY2xlMRIwEAYKCK8tzPmS9ielPXDmLnIlaF+NvYf2YsQzurFxkzJ37PPeOpImr5bj83gyTKzsn
RLETN6j1cQUtCARa+QPuBYw9c2Y4gkoFSyKBS3nRG5ulJmFafoB3SBBfX93126V7rZBjZ8QrzsZhATTZQijs2a7s/X
2hNTuGheIWqyerlUrek5PErkPY7eYFijmwn5pcSokUV10Py6dxw+A==</dsig:X509Certificate>
<dsig:X509IssuerSerial>
<dsig:X509IssuerName>CN=CertGenCA, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown,
ST=MyState, C=US</dsig:X509IssuerName>
<dsig:X509SerialNumber>1455932390751</dsig:X509SerialNumber>
</dsig:X509IssuerSerial>
<dsig:X509SubjectName>CN=service, DC=us, DC=oracle, DC=com</dsig:X509SubjectName>
<dsig:X509SKI>kFgAwGeiKu8lIiJe62UKOE2V0X8=</dsig:X509SKI>
</dsig:X509Data>
</dsig:KeyInfo>
</dsig:Signature>
</saml:Assertion>
Sample message that ERP Cloud returns to your callback web service.
Call back Response Payload
<?xml version="1.0" encoding="UTF-8"?>
<inputVariable>
<part
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
<ns0:onJobCompletion
xmlns:ns0="http://xmlns.oracle.com/scheduler"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<requestId>17960</requestId>
<state>SUCCEEDED</state>
<resultMessage>{"JOBS":[{"JOBNAME":"Load Interface File for
Import","JOBPATH":"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader","DOCUMEN
TNAME":"CCLFGL.CONCUR.CCLJEES.1031.zip","REQUESTID":"17957","STATUS":"SUCCEEDED","CHILD":[{"JOBNAM
E":"Transfer
File","JOBPATH":"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader","REQUESTID":"
17958","STATUS":"SUCCEEDED"},{"JOBNAME":"Load File to
Interface","JOBPATH":"/oracle/apps/ess/financials/commonModules/shared/common/interfaceLoader","REQUEST
ID":"17959","STATUS":"SUCCEEDED"}]},{"JOBNAME":"Import
Journals","JOBPATH":"/oracle/apps/ess/financials/generalLedger/programs/common","REQUESTID":"17960","ST
ATUS":"SUCCEEDED"}],"SUMMARYSTATUS":"SUCCEEDED"}</resultMessage>
</ns0:onJobCompletion>
</part>
</inputVariable>
72 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Implementation Steps
SOACS
Here, we are leveraging the Oracle Service Oriented Architecture Cloud Service (SOACS) deployed on Oracle’s
cloud Platform as a Service (PaaS) infrastructure.
The following diagram illustrates the OWSM policy applied to your SOA Composite reference:
73 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
You must configure your SOACS instance as follows:
1.The SOACS instance must support issuer www.oracle.com (this is default in SOACS) and LDAP directory must
have saml:NameIdentifier user name. In this sample it is FINUSER1.
2.The SAML assertion also contains digital signature that must be imported in SOACS’s OWSM keystore. This
certificate is in ERP integration WSDL. See this diagram:
In callbackURL, you must provide your callback web service endpoint URL that ERP Cloud will invoke upon job
completion.
74 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Oracle Integration Cloud (OIC)
Callback can be implemented based upon a service.
• Create a user like the Oracle ERP Cloud Adapter connection user in the My Services or Oracle Cloud
Infrastructure Console. This user is linked to the Oracle Integration WebLogic security realm. The
username must exactly match the Oracle ERP Cloud username. The password and email address can be
anything. Ensure that this user has permissions to execute integrations in Oracle Integration. It is
recommended that you have a role such as ServiceAdmin or ServiceDeveloper, which have executable
permissions on integrations. Ensure that you select the Integration role for the Oracle ERP Cloud user in
the Oracle ERP Cloud application.
• Import the certificates. From OIC home page, Click Settings > Certificates
Click Upload to import certificates and select certificate type "SAML (Authentication and Authorization)
and category "Message Protection" is automatically selected. Enter a unique alias name and select the
certificate file.
75 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Repeat the upload process for the second certificate.
Mulesoft
Uploading ERP Cloud Certificate in Mulesoft:
o The cloudCA and orakey_sign certificates need to be added to Mulesoft DLB (Dedicated Load
Balancer) as client certificate. Refer to Mulesoft documentation link for steps to upload
certificates.
o Please load the oracle client certificates in DLB as optional.
o As Mulesoft supports only one client certificate file(.pem) to uploaded on DLB, merge the
cloudCA and orakey_sign into one file. The order is first put cloudca followed by orakey_sign.
The certificate chain can be validated here.
o As Oracle client certificate is added as optional in DLB. Each application will need to check X-
SSL-Client Verify : None header in all the application to determine if the requests need to be
allowed or blocked.
o In Application - no need to include Oracle certs in the trust store.
Run Wget to confirm if Call back service is reachable from Oracle FA Servers:
The property file submitted with importBulkData operation includes the job definition and package names as well
as the job parameters of the object being imported. You must generate and add the Job Properties File as part of
the ZIP file.
The job property file is in the comma separated format with the following content in specified order:
See "Appendix 18: How to get job definition & package name including parameters" to derive the package and
definition name of the import job. The third column (ZIP File Prefix) is the name of the zip file that contains the
data file. The fourth to N columns are lists of parameters that are required to load and import the data into ERP
Cloud.
Example:
Your zip file name is GL_BU_ABC_12345678.zip and contains GlInterface.csv and jobDetails.properties. The value
of the third column in jobDetails.properties could be GL_BU_ABC.
Example: /oracle/apps/ess/financials/generalLedger/programs/common/,JournalImportLauncher,GL_BU_ABC,
1061,Balance Transfer,1,ALL,Y,Y,N
• You can reuse the same job property file for similar imports by uploading the file to the respective UCM
account from the Oracle Fusion Applications UI or using the uploadFileToUcm operation.
• To reuse the parameter file, you must provide the file name in the request payload as follows:
<ns1:jobOptions> JobDetailFileName=<fileName.properties></ns1:jobOptions>
77 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Deciding factors to provide Job details
Below factors will support the decision for choosing between alternative approach for providing job details:
o When job details (Job Package, Job Name and Parameter) are always constant for any specific
integration, provide the job details in Web Service Payload.
o When job details are dynamic and frequency of modifications is significantly low, use the same
property file for similar imports.
o When job details are dynamic most of the time, add property file inside the ZIP file.
• File Import and Export page in Oracle Fusion Applications: Manual flow
• Oracle WebCenter Content Server home page
For more information about the use and administration of content management:
Topic Resource
Content server Oracle WebCenter Content User's Guide for Content Server
Creating WebCenter content accounts Oracle WebCenter Content System Administrator's Guide
for Content Server
Naming accounts used in import and export Files for Import and Export section
processes
78 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Programmatic upload and download to content Oracle WebCenter Content System Administrator's Guide
management for Content Server
The File Import and Export page enables you to upload or download content from the document repository of
Oracle WebCenter Content Management. The search criteria section is limited to the minimum metadata of
content management records needed for file import and export.
The maximum file size using the File Import and Export page is 2 GB.
Interaction between the File Import and Export page and Oracle WebCenter Content server requires securing
content in an account. Oracle provides predefined accounts in the Oracle WebCenter Content server.
• Security
• Searching records
• Accessing content in a new account
• Account names
• Deleting files
• Uploading for import
• Downloading for export
• File size
Security
Use the File Import and Export Management duty role to access the File Import and Export page. This duty role is
included in the predefined role hierarchy for integration specialist roles and product family administrator roles.
The files in Oracle WebCenter Content Management server are associated with an account. The users who have
the access privileges to a specific account can work with content items that belong to that account.
Note
79 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
You can only upload and download files to and from the content management server that is associated with the
accounts that you are entitled to access.
The Oracle WebCenter Content Management server does not support trailing slashes (/) as part of the account
name. Account names are appended with a dollar sign ($) to ensure each account is unique. Account names are
dynamic so that if they overlap (one name is completely contained in another, longer name, such as the US and
US Sales), each account is considered as discrete by access grants. Security such as virus scanning is handled by
the underlying integrated content management.
Searching Records
A record in the Oracle WebCenter Content Management server contains metadata used to access the file. When
you run the ‘Load Interface File for Import’ process for a file the file meta-deta is updated with comment
‘ProcessedBy=<LOAD_REQUEST_ID> ’
When you create a new account in the Oracle WebCenter Content Management server and the content server is
not restarted, the access to the content in the new account from the File Import and Export page is delayed until
the policy store is updated.
Account Names
If you create custom accounts for importing or exporting data, use the following naming conventions for the
account:
• To avoid partial string matching, do not include a slash (/) at the beginning or use a dollar sign ($) at the
end.
• Use a dollar sign and slash ($/) as a separator in the hierarchical structure.
The File Import and Export page transforms account names by removing the dollar signs ($). For example,
fin$/journal$/import$ displays as fin/journal/import.
The Remote Intradoc Client (RIDC) HTTP Command-Line Interface (CLI) transforms the account name you specify
without the dollar signs ($) to one that includes them. For example, fin/journal/import becomes
fin$/journal$/import$ in the Oracle WebCenter Content Management server.
You must transfer files to these predefined accounts in content management that correspond to the interface
table or assets of interest. For a list of the target accounts in each interface table, see Appendix 3: Predefined
Target UCM Accounts.
Deleting Files
You can delete one file at a time in the File Import and Export page. To delete multiple files simultaneously from
the content repository, use the standard service page in the Oracle WebCenter Content Management server.
You can upload any file formats that can be parsed by the content repository, such as any MIME or content types.
However, the format uploaded must conform to the requirements of the import process, such as a CSV file for the
Load Interface File for Import process.
80 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Downloading for Export
The export data processes create files in the content management server. Records in the search results table of
the File Import and Export page provide links to the files for download.
Parameter Description
Data File Choose the data file from the choice list.
Importing Data
The destination for your external data is the product application data table(s) of your Oracle ERP Cloud
application.
To load your data into interface tables, submit the Load Interface File for Import scheduled process using the
following steps:
If the process is successful, the status is SUCCEEDED and the process populates the interface tables. If the process
isn’t successful, the status is ERROR. For more information on correcting load errors, see the Correcting Load
Process Errors.
81 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
The Load Interface File for Import process ends in error when the load of the data file fails for any individual row.
The Load File to Interface child process ends as an error or warning. All rows that were loaded by the process are
deleted and the entire batch of records is rejected.
Repeat these steps until the process successfully loads all the data.
For a list of import processes and their corresponding ADFdi correction spreadsheets, see Appendix 7: Error
Handling for Import Jobs.
If auto purge is enabled in your import process, then you cannot use ADFdi. Use these steps:
1. Download the purge erroneous ZIP file from the File Import and Export page.
2. Select the erroneous data records from the interface file and correct them.
A PGP certificate consists of a public key and a private key. The Certificates page displays one record for each
certificate. Each record reports these values:
82 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
o Deleting certificates
Generating Certificates
For a PGP certificate, one operation creates both the public and private keys. From the Certificates page, select
the Generate option. On the Generate page, select the certificate format PGP, and enter values appropriate for the
format.
For a PGP certificate, you export the public and private keys in separate operations. You can import only public
keys. The assumption is that you will import keys from external sources, which will not provide their private keys
to you.
1. From the Certificates page, select the menu in the row of the certificate that you want to export.
Alternatively, open the details page for that certificate and select its Actions.
2. In either menu, select Export, then Public Key or Private Key.
3. If you select Private Key, provide its passphrase. (The public key does not require one.)
4. Select a location for the export file. By default, this file is called [alias]_pub.asc or [alias]_priv.asc
83 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
To import a Customer’s PGP public key:
The Certificates page displays a record for the imported certificate, with the Private Key cell unchecked.
Deleting Certificates
In the Certificates page, select the menu in the row of the certificate that you want to delete. Alternatively, select
the Actions menu on the Details page for that certificate. In either menu, select Delete, then review and accept
the resulting warning message as appropriate.
84 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
gpg --import <MY_ERP_KEY_pub.asc>
Once the public key is imported, use the following command to encrypt your inbound data file:
Once a customer’s private key is imported, use the following command to decrypt your outbound data file:
/* Extend your code for MTOM and the <content> will be generated as follows:
85 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
<Content
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/"
xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmime:contentType="application/octet-
stream"<xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:6098af03-52ff-4a40-9665-
c89085ac2f3a"></Content>
*/
Map < String, List < String >> xpaths = new HashMap < String, List < String >> ();
List < String > paths = new ArrayList < String > ();
paths.add("//typ:uploadFileToUcm/typ:Document/erp:Content");
paths.add("//typ:uploadFileToUcm/typ:Document/erp:Content/xop:Include");
xpaths.put("GenericRequest", paths);
Map < String, String > prefixes = new HashMap < String, String > ();
prefixes.put("typ", TYP_NAMESPACE);
prefixes.put("erp", ERP_NAMESPACE);
prefixes.put("xop", XOP_NAMESPACE);
) throws SOAPException {
if (requestMessage == null)
return;
return;
return;
86 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
final OracleSOAPElement theSOAPElem;
else {
return is;
}));
87 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
} //for every binary element requestMessage.setProperty(MessageImpl.PACKAGING_STYLE,
MessageImpl.MTOM); requestMessage.setProperty(MessageImpl.ATTACHMENT_STYLE_PACKAGING,"true"); requ
estMessage.setProperty(OracleSOAPMessage.MTOM_THRESHOLD, 1024);
1. From the Oracle ERP Cloud home page, select Navigator →Tools → Scheduled Processes .
2. Click Schedule New Process.
3. Search for and select the Purge Interface Tables process name.
4. Enter the data as defined in the table below.
ID
Extract Data Yes/No. The default value is No. If the value is Yes, the process will extract all No
the data being selected for purge and upload the data to UCM for future audit
reference.
88 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Purge FBDI Object Data using a Single Load Request ID
Caution: Load Request ID range should be chosen wisely, keep that as narrow as possible so that there are no
performance issues. For purging multiple load Request ID data at once, use 'Maintenance' intent.
89 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Purging Non-FBDI Data
Non-FBDI data can be purged by selecting the Purge Process Intent as Other and providing the Import Request ID.
Caution: Request ID range should be chosen wisely, keep that as narrow as possible so that there are no
performance issues. For purging multiple load Request ID data at once, utilise 'Maintenance' intent.
Caution: The number of days value should always be less than ESS request history retention period (typically 60
days) and greater than 30 days.
90 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Appendix 17: Steps to Get list of all Supported Import
Processes for Load Interface File for Import Job
To get the details of all import processes supported by the Load Interface File for Import job, use
the getInboundProcesses operation of ERPIcsIntegrationService. The details include InterfaceId, Import Process
Display Name, UCM account, Import Job Path, Import Job Name, Job Description.
URL: https://<host:port>/fscmService/ErpIcsIntegrationService?WSDL
Example SOAP Request Payload
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types
/">
<soapenv:Header/>
<soapenv:Body>
<typ:getInboundProcesses/>
</soapenv:Body>
</soapenv:Envelope>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService//Erp
IcsIntegrationService/getInboundProcessesResponse</wsa:Action>
<wsa:MessageID>urn:uuid:ece2e950-8516-4be1-98bc-049879852284</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:caabe942-ccd2-4790-96f8-2d1317b05f9b</wsa:RelatesTo>
</env:Header>
<env:Body>
<ns0:getInboundProcessesResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types
/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/">[
{"InterfaceId":"1","JobDisplayName":"Import Payables
Invoices","UcmAccount":"fin/payables/import","ImportJobName":"/oracle/apps/ess/financials/payables/invoices/tr
ansactions;APXIIMPT","JobDescription":"Creates Oracle Fusion Payables invoices from invoice data in the open
interface tables."},{"InterfaceId":"120","JobDisplayName":"Import Payables Payment
Requests","UcmAccount":"fin/payables/import","ImportJobName":"/oracle/apps/ess/financials/payables/invoices/t
ransactions;APXPRIMPT","JobDescription":"Imports the payment request for One Time Payments. The process
creates the party, party site, payee, payee bank account, and invoices from data in the Payment Request Interface
table."}....]</result>
</ns0:getInboundProcessesResponse>
</env:Body>
</env:Envelope>
Alternatively, refer to Doc ID 2863486.1 to get a list that includes Financials Import Processes supported by
the Load Interface File for Import job along with frequently used Import Processes from Projects and
Procurement family.
91 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Appendix 18: How to Get Job Definition & Package Name
Including Parameters
1. Open Fusion Applications main page.
2. Click the Navigator, and then click Setup and Maintenance.
3. On the Setup page, select your setup offering such as Financials.
4. Click on the Tasks icon as shown above and search for "Manage Enterprise Scheduler Job Definitions
and Job Sets for Financial, Supply Chain Management, and Related Applications".
5. Select and Click "Manage Enterprise Scheduler Job Definitions and Job Sets for Financial, Supply
Chain Management, and Related Applications" and search for Job name like "%Import Journal%".
92 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
6. Select the "Import Journals" row and click the Edit icon (please do not change anything as our goal is to
only get job package and name).
7. From the above image, the job package is PATH and job name is NAME. These will be the first two
columns in your property file for "Import Journals" with third column the sample prefix name of the zip
file as suggested earlier:
oracle/apps/ess/financials/generalLedger/programs/common/,JournalImportLauncher,GL_BU_ABC,
<list of parameter separated by comma>
8. In the above image, the parameters details can be seen at the bottom half. Alternatively, parameters
details can be obtained by following these steps:
a. Open the Fusion Apps main page.
b. Click the Navigator, and then click Scheduled Processes in Tools.
c. Click on "Schedule New Process" button and search (and select) for "Import Journals". It will
display the list of parameters as shown below:
93 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Appendix 19: ExportBulkData Operation Precise
ExtractFileType Support
Introduction
ERP Integration Service can extract data from Oracle ERP Cloud through Business Intelligence Publisher (BIP) tool
using the ExportBulkData operation.
ExportBulkData supports extraction of .CSV, .XML & .TEXT type OUT files and .LOG files as a single ZIP named as
ExportBulkData_<JobName>_<RequestIdReceivedInExportBulkDataResponse>.zip.
Until Update 22A, users had no choice over the type of files that ExportBulkData extracts i.e. the ZIP file contained
all supported files (.CSV, .XML, .TEXT, & .LOG), if present. This inability to extract precise output file was leading
unnecessary extraction of unwanted OUT/LOG files, consuming additional runtime and download time. For
example, even if user needs only CSV OUT file, TEXT and XML OUT files, and LOG file are extracted (If present).
Starting update 22B, users will be able to specify a precise ExtractFileType from the list of supported file types and
extract only those files.
This will provide more flexibility to the user and reduce significant runtime of integration by skipping download of
files that are not needed.
94 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Steps to Enable ExtractFileType Support
Configure Opt In
To enable the ExtractFileType support, configure the following Lookups using the Manage Standard
Lookup page.
Once the Dev Opt In FUN_OPTIN_WS_CONTROL/ADVANCE_FILE_TYPES is configured, user can pass the
required ExtractFileType in the JobOption tag in the request payload as ExtractFileType=<RequiredFileTypes>
• Providing the ExtractFileType in JobOption tag is not mandatory. If ExtractFileType is not provided,
both OUT(.CSV, .XML, .TEXT) and LOG files will be extracted.
• If the Dev Opt In FUN_OPTIN_WS_CONTROL/ADVANCE_FILE_TYPES is not configured, both OUT(.CSV,
.XML, .TEXT) and LOG files will be extracted even if ExtractFileType is passed in JobOption tag. The
provided ExtractFileType is ignored.
• A combination of more than one valid ExtractFileType is also supported. Pass ExtractFileType as semi-
colon separated valid file type value provided in table below:
Providing an optimum and precise ExtractFileType combination is recommended for best performance.
ExportBulkData Operation Payload with Precise ExtractFileType
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types
/">
<soapenv:Header/>
<soapenv:Body>
<typ:exportBulkData>
<typ:jobName>JOB_PATH,JOB_NAME</typ:jobName>
<typ:jobOptions>ExtractFileType=PASS_SUPPORTED_FILE_TYPES_HERE</typ:jobOptions>
<typ:callbackURL>#NULL</typ:callbackURL>
<typ:notificationCode>#NULL</typ:notificationCode>
</typ:exportBulkData>
</soapenv:Body>
</soapenv:Envelope>
95 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Oracle Recommendation
Oracle recommends using the CSV format for the downstream processing and extracted output must be a
compressed ZIP file.
1 CSV
2 XML
3 TEXT
4 LOG
5 OUT
6 ALL
7 CSV;XML
8 CSV;TEXT
9 CSV;LOG
10 CSV;ZIP_ONLY (Recommended)
11 XML;TEXT
12 XML;LOG
13 XML;ZIP_ONLY
14 TEXT;LOG
15 TEXT;ZIP_ONLY
16 OUT;ZIP_ONLY
96 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Sl. No. Valid ExtractFileType Combinations
17 ALL;ZIP_ONLY
18 CSV;XML;TEXT
19 CSV;XML;LOG
20 CSV;XML;ZIP_ONLY
21 CSV;TEXT;LOG
22 CSV;TEXT;ZIP_ONLY
23 CSV;LOG;ZIP_ONLY
24 XML;TEXT;LOG
25 XML;TEXT;ZIP_ONLY
26 XML;LOG;ZIP_ONLY
27 TEXT;LOG;ZIP_ONLY
28 CSV;XML;TEXT;LOG
29 CSV;XML;TEXT;ZIP_ONLY
30 CSV;XML;LOG;ZIP_ONLY
31 CSV;TEXT;LOG;ZIP_ONLY
32 XML;TEXT;LOG;ZIP_ONLY
33 CSV;XML;TEXT;LOG;ZIP_ONLY
Notes:
• ExtractFileTypes CSV, XML, TEXT and LOG refers to .CSV, .XML, .TEXT and .LOG files respectively .
• ExtractFileTypes ALL refers to a combination of all OUT files and LOG file (.CSV + .XML + .TEXT + .LOG).
• ExtractFileTypes OUT refers to a combination of all OUT files (.CSV + .XML + .TEXT ).
• ExtractFileTypes ZIP_ONLY optimises the performance by skipping the raw file upload to UCM.
97 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Appendix 20: ImportBulkData Operation with Zip
Operation
Introduction
For various inbound integrations, multiple data files required to run a 'Load Interface File for Import' job are
already uploaded to UCM as individual uncompressed files from various sources (reporting Integrations, output of
other jobs/Integration etc.). For example, a purchase order integration will generate import payables invoice
headers and import payables invoice lines data into multiple CSV files and upload to UCM.
Until Update 23A, users had to download these files and compress them at the client site, then run the "Load
Interface File for Import" job to load the data in Interface table(s). Hence, the same limitation also applies to
importBulkData, it supports only a single documentID.
Starting Update 23B, 'importBulkData' introduces a new feature that allow users to provide multiple documentIDs
for uploading data into Interface table(s).
Details:
The new feature can be enabled by passing 'ZipOptions=ZipAndSubmit' in <JobOption> tag along with comma
separated DocumentIds, InterfaceDetails:
• ImportBulkData downloads the files corresponding to the provided documentIDs from UCM , compresses
them into a ZIP file and uploads to the UCM DocumentAccount corresponding to the provided
InterfaceDetails(InterfaceOptionId).
• Post this, ImportBulkData retains the existing behaviour:
o Submits the 'Load Interface File for Import' job and returns the "RequestID".
o ImportBulkData also submits the Import Job(s), 'Upload Interface Error and Job Output File to
Universal Content Management' job, and 'Purge Interface Tables' job as specified in the request
payload.
Critical Considerations:
1. DocumentIds, Document Title and InterfaceDetails (In Job Option) are mandatory when a valid
ZipOptions as 'ZipAndSubmit' is provided.
2. Provided documentIDs must not be duplicated for a single request.
3. Document title of the files corresponding to the provided documentIDs must not be duplicated.
4. Provided documentIDs must be of a 'Load Interface File for Import supported file of format document'
such as '.csv', '.txt', '.xml', '.dat' and '.ack'.
5. Number of files in ZIP should match number of documentIds provided.
98 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
</ns1:importBulkData>
</soap:Body>
Figure 60: Sample request payload for importBulkData with ZipOptions as ZipAndSubmit
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/ErpI
ntegrationService/importBulkDataResponse</wsa:Action>
<wsa:MessageID>urn:uuid:b9159e2a-dc9b-4f1f-aaf0-55669e57eb63</wsa:MessageID>
</env:Header>
<env:Body>
<ns0:importBulkDataResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types
/">
<!--RequestID of the Load Interface File for Import job-->
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/">3
6954</result>
</ns0:importBulkDataResponse>
</env:Body>
</env:Envelope>
99 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Example SOAP Request Payload
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
<wsa:Action>http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService//Erp
IcsIntegrationService/getInboundProcessesResponse</wsa:Action>
<wsa:MessageID>urn:uuid:ece2e950-8516-4be1-98bc-049879852284</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:caabe942-ccd2-4790-96f8-2d1317b05f9b</wsa:RelatesTo>
</env:Header>
<env:Body>
<ns0:getInboundProcessesResponse
xmlns:ns0="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types
/">
<result
xmlns="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/">[
"InterfaceId":"15","JobDisplayName":"Import
Journals","UcmAccount":"fin/generalLedger/import","ImportJobName":"/oracle/apps/ess/financials/generalLedger
/programs/common;JournalImportLauncher","JobDescription":"Creates journal entries from imported information
from subledgers and other source systems."},{"InterfaceId":"1","JobDisplayName":"Import Payables
Invoices","UcmAccount":"fin/payables/import","ImportJobName":"/oracle/apps/ess/financials/payables/invoices/tr
ansactions;APXIIMPT","JobDescription":"Creates Oracle Fusion Payables invoices from invoice data in the open
interface tables."}....Similar info for all registered import processes]</result>
</ns0:getInboundProcessesResponse>
</env:Body>
</env:Envelope>
Alternatively, use the inboundProcesses operation of ERPProcesses Service(REST) . The ERPProcesses service
can also provide the job parameter details.
100 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public
Acronym
Abbreviation Full Form/ Meaning
References
BI Publisher https://<host:port>/xmlpserver
http://<host:port>/xmlpserver/<ReportDirectory>/<ReportName>.xdo
Path to access from ATK : Navigator > Tools > Reports and Analytics >
Create
Copyright © 2023, Oracle and/or its affiliates. This document is provided for information purposes only, and the contents hereof are subject to change without notice. This document
is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of
merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or
indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written
permission.
Oracle, Java, MySQL, and NetSuite are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
101 USING EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE ERP CLOUD / Ver [1.0]
Copyright © 2023, Oracle and/or its affiliates / Public