Oracle Cloud Using the Oracle Database Cloud Service Adapter with Oracle Autonomous Integration Cloud

Similar documents
Oracle Cloud Using the Microsoft SQL Server Adapter. Release 17.3

Oracle Cloud Using the Trello Adapter. Release 17.3

Oracle Cloud Using the Eventbrite Adapter with Oracle Integration

Oracle Cloud Using the Evernote Adapter. Release 17.3

Oracle Cloud Using the Oracle Advanced Queuing (AQ) Adapter. Release 17.3

Oracle Cloud Using the Microsoft SQL Server Adapter with Oracle Autonomous Integration Cloud

Oracle Cloud Using the DB2 Adapter. Release 17.4

Oracle Cloud Using the Microsoft Adapter. Release 17.3

Oracle Cloud Using the Oracle Database Adapter. Release 17.4

Oracle Cloud Using the Eventbrite Adapter. Release 17.3

Oracle Cloud Using the MailChimp Adapter. Release 17.3

Oracle Cloud Using the File Adapter. Release 17.4

Oracle Cloud Using the Twilio Adapter. Release 17.3

Oracle Cloud Using the Microsoft SQL Server Adapter with Oracle Integration Cloud

Oracle Cloud Using the Oracle Responsys Adapter. Release 17.3

Oracle Cloud Using the Google Calendar Adapter with Oracle Integration

Oracle Cloud Using the Adobe esign Adapter. Release 17.3

Oracle Cloud Using the DB2 Adapter with Oracle Integration

Oracle Cloud Using the Google Calendar Adapter. Release 17.3

Oracle Cloud Using the DocuSign Adapter. Release 17.3

Oracle Cloud Using the SAP Ariba Adapter. Release 17.3

Oracle Cloud Using the Oracle Messaging Cloud Service Adapter. Release 17.3

Oracle Cloud Using the Oracle Database Adapter with Oracle Integration

Oracle Cloud Using the UiPath Robotic Process Automation Adapter with Oracle Integration F

Oracle Cloud. Using the Google Calendar Adapter Release 16.3 E

Oracle Cloud E

Oracle Cloud Using the Gmail Adapter. Release 17.3

Oracle Cloud Using the Workday Adapter

Oracle Cloud Using the Oracle Utilities Adapter. Release 17.3

Oracle Cloud Using the ServiceNow Adapter. Release 18.3

Oracle Cloud Using the SuccessFactors Adapter with Oracle Integration

Oracle Cloud Using Oracle E-Business Suite Adapter Endpoint Configuration Wizard. Release 17.3

Oracle Cloud. Using Oracle Eloqua Adapter Release E

Oracle Fusion Middleware

Oracle Fusion Middleware

Oracle Cloud Using the Oracle HCM Cloud Adapter. Release 18.3

Oracle Cloud Using the SAP Adapter with Oracle Autonomous Integration Cloud

Microsoft Active Directory Plug-in User s Guide Release

Oracle Cloud Using the SAP Adapter. Release 17.3

Microsoft Internet Information Services (IIS) Plug-in User s Guide Release

Oracle Cloud Using the SOAP Adapter. Release 17.4

Oracle Cloud. Oracle Cloud Adapters Postinstallation Configuration Guide E

Oracle NoSQL Database Integration with SQL Developer. Release 18.1

Oracle Identity Manager Connector Guide for Dropbox. Release

Oracle Fusion Middleware Oracle Cloud Adapters Postinstallation Configuration Guide. 12c Release ( )

Oracle Cloud Known Issues for Trial and Paid Subscriptions. Release 18.1

Oracle Fusion Middleware Known Issues in Oracle Stream Analytics

Oracle Cloud E

Microsoft.NET Framework Plug-in User s Guide Release

Oracle Fusion Middleware Creating Domain Templates Using the Domain Template Builder. 12c ( )

Release for Microsoft Windows

Oracle SQL Developer Web Accessibility Guide. Release 18.1

Oracle Cloud Getting Started with Oracle WebCenter Portal Cloud Service

Oracle Enterprise Manager

Oracle Cloud. Using the Oracle Mapper Release 16.4 E

Oracle Cloud E

Oracle Fusion Middleware Oracle Technology Adapters Release Notes. 12c ( )

What s New for Oracle Cloud Stack Manager. Topics: July Oracle Cloud. What's New for Oracle Cloud Stack Release

Creating Domain Templates Using the Domain Template Builder 11g Release 1 (10.3.6)

What s New for Cloud at Customer What's New for the Cloud Services on Oracle Cloud at Customer New Documentation for Oracle Cloud at Customer

Oracle Hospitality OPERA Exchange Interface Cloud Authentication. October 2017

Export generates an empty file

Oracle Database Appliance Accessibility Guide. Release

Oracle Fusion Middleware

Oracle Banking Channels Bank User Base

Oracle Fusion Middleware

Oracle SQL Developer Accessibility Guide. Release 18.1

Oracle SQL Developer. Oracle TimesTen In-Memory Database Support User's Guide Release 4.0 E

Oracle Communications Configuration Management

Modeling Network Integrity Release 7.3.1

Oracle SQL Developer Data Modeler Accessibility Guide. Release 18.1

Oracle Enterprise Manager

Oracle Cloud Using Oracle IoT Connected Worker Cloud Service

Oracle Hospitality Query and Analysis Languages and Translation Configuration Guide. March 2016

Oracle Hospitality Suite8 Export to Outlook User Manual Release 8.9. July 2015

Oracle Java CAPS Database Binding Component User's Guide

Oracle Linux. UEFI Secure Boot Signing Key Update Notice

Creating Resources on the ZFS Storage Appliance

Documentation Accessibility. Access to Oracle Support

IBM WebSphere Portal Reference Guide Release 9.2.x

Solution Explorer Guide Release 9.2

Oracle Fusion Middleware Oracle Stream Analytics Install Guide for Hadoop 2.7 and Higher

Oracle Cloud What's New for Oracle WebCenter Portal Cloud Service

Oracle Application Express

Oracle Utilities Advanced Spatial and Operational Analytics

Oracle. Sales Cloud Using Sales for Outlook. Release 13 (update 18A)

Oracle Cloud Oracle Integration Cloud Service Error Messages. Release 17.3

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Creating vservers 12c Release 1 ( )

Database Change Reference Release 6.3

Oracle Cloud Using the FTP Adapter. Release 17.4

JD Edwards World. Service Enablement Guide Release A9.3 E

Oracle Hospitality Simphony Venue Management Installation Guide Release 3.10 E March 2018

Oracle. Field Service Cloud Using Android and ios Mobile Applications 18B

Security Guide Release 4.0

Quick Start for Coders and Approvers

Siebel CTI Administration Guide. Siebel Innovation Pack 2015, Rev. A October 2015

Upgrading Oracle GoldenGate Veridata 12c (12.2.1)

Web Object Management Workbench Guide Release 9.2

Oracle Utilities Work and Asset Management Integration to Primavera P6 Enterprise Project Portfolio Management

End User s Guide Release 5.0

Transcription:

Oracle Cloud Using the Oracle Database Cloud Service Adapter with Oracle Autonomous Integration Cloud E95854-03 June 2018

Oracle Cloud Using the Oracle Database Cloud Service Adapter with Oracle Autonomous Integration Cloud, E95854-03 Copyright 2018, Oracle and/or its affiliates. All rights reserved. Primary Author: Oracle Corporation This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agencyspecific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

Contents Preface Audience Documentation Accessibility Related Resources Conventions v v v vi 1 Understanding the Oracle Database Cloud Service Adapter Oracle Database Cloud Service Adapter Capabilities 1-1 What Application Version Is Supported? 1-2 About Oracle Database Cloud Service Adapter Use Cases 1-2 Defining Fault Mapping in Orchestrated Integrations with the Oracle Database Cloud Service Adapter 1-2 Workflow to Create and Add an Oracle Database Cloud Service Adapter Connection to an Integration 1-5 2 Creating an Oracle Database Cloud Service Adapter Connection Prerequisites for Creating a Connection 2-1 Creating Connections 2-1 Adding a Contact Email 2-3 Configuring Connection Properties 2-3 Configuring Connection Security 2-3 Configuring an Agent Group 2-4 Testing the Connection 2-4 Uploading an SSL Certificate 2-4 3 Adding the Oracle Database Cloud Service Adapter Connection to an Integration Configuring Basic Information Properties 3-1 Configuring Oracle Database Cloud Service Adapter Trigger Polling Properties 3-2 Configuring Polling Properties 3-2 iii

Importing Table Properties 3-3 Configuring Primary Key Properties 3-4 Managing Table Relationship Properties 3-4 Configuring Attribute Filtering Properties 3-4 Configuring Polling Strategy and Option Properties 3-5 Configuring Oracle Database Cloud Service Adapter Invoke Store Procedure Properties 3-5 Configuring Oracle Database Cloud Service Adapter Invoke SQL Statement Properties 3-6 Reviewing Configuration Values on the Summary Page 3-6 4 Troubleshooting the Oracle Database Cloud Service Adapter Recovering from a CLOUD-0005: Unable to Establish Connection Error 4-1 Special Characters are Not Supported in Schema Names 4-1 Resolving Message Time Out Errors 4-1 iv

Preface Using the Oracle Database Cloud Service Adapter describes how to configure the Oracle Database Cloud Service Adapter as a connection in an integration in Oracle Autonomous Integration Cloud. Topics Audience Audience Documentation Accessibility Related Resources Conventions This guide is intended for developers who want to use the Oracle Database Cloud Service Adapter in integrations in Oracle Autonomous Integration Cloud. Documentation Accessibility For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup? ctx=acc&id=docacc. Access to Oracle Support Related Resources Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/ lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired. See these Oracle resources: Oracle Cloud http://cloud.oracle.com Using Integrations in Oracle Autonomous Integration Cloud Using the Oracle Mapper with Oracle Autonomous Integration Cloud v

Preface Conventions The following text conventions are used in this document: Convention boldface italic monospace Meaning Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. vi

1 Understanding the Oracle Database Cloud Service Adapter Review the following conceptual topics to learn about the Oracle Database Cloud Service Adapter and how to use it as a connection in integrations in Oracle Autonomous Integration Cloud. A typical workflow of adapter and integration tasks is also provided. Topics Oracle Database Cloud Service Adapter Capabilities What Application Version Is Supported? About Oracle Database Cloud Service Adapter Use Cases Workflow to Create and Add an Oracle Database Cloud Service Adapter Connection to an Integration Oracle Database Cloud Service Adapter Capabilities The Oracle Database Cloud Service Adapter enables you to integrate Oracle Database Cloud Service with Oracle Autonomous Integration Cloud through use of the on-premises connectivity agent. Use the Oracle Database Cloud Service Adapter to poll for new and updated records for processing in Oracle Autonomous Integration Cloud. For example, any new record added to the Employee table in your Oracle Database Cloud Service can be synchronized with Oracle HCM Cloud using Oracle Autonomous Integration Cloud. In addition, use the Oracle Database Cloud Service Adapter to execute SQL queries or stored procedures in Oracle Database Cloud Service. For example, quotes in Oracle CPQ Cloud can be created as Orders in Oracle Database Cloud Service by sending SQL statements or stored procedures using the Oracle Database Cloud Service Adapter. The Oracle Database Cloud Service Adapter provides the following capabilities: Support for invocation of stored procedures in the Oracle database. Support for non-jdbc (PL/SQL) datatypes in outbound invocations of stored procedures. Support for execution of DML statements and SQL queries: Select, Insert, Update, and Delete. Select the Run a SQL Statement option on the Basic Info page of the Adapter Endpoint Configuration Wizard to execute simple SQL queries. For complex SQL queries, use stored procedures by selecting the Invoke a Stored Procedure option on the Basic Info page of the Adapter Endpoint Configuration Wizard. Stored procedures can reduce the complexity of a SQL query. Support for generating XSD from PureSQL. This feature generates an XSD from a PureSQL statement provided by dynamically querying the table. 1-1

Chapter 1 What Application Version Is Supported? Support for polling new and updated records for processing in the Oracle database. The Oracle Database Cloud Service Adapter supports distributed polling and multithreading. Distributed polling helps eliminate duplicate polling of the same records while multithreading provides optimum performance. Support for a logical delete polling strategy. This strategy involves updating a special field on each row once it is processed. Support for database fault mapping. The Oracle Database Cloud Service Adapter is one of many predefined adapters included with Oracle Autonomous Integration Cloud. You can configure the Oracle Database Cloud Service Adapter as a target or invoke connection in an integration in Oracle Autonomous Integration Cloud. What Application Version Is Supported? For information about which application version is supported by this adapter, see the Oracle Integration Adapters Certification Matrix under section Oracle Integration Adapters Certification at the top of the page: Oracle Integration Adapters Certification Matrix About Oracle Database Cloud Service Adapter Use Cases The Oracle Database Cloud Service Adapter can be used in scenarios such as the following. Defining Fault Mapping in Orchestrated Integrations with the Oracle Database Cloud Service Adapter You can define fault mappings in integrations that include the Oracle Database Cloud Service Adapter. This mapping transforms an Oracle Database Cloud Service Adapter fault when used as a target into the source format defined in its WSDL. You add the Oracle Database Cloud Service Adapter to a scope action in an orchestrated integration and select this fault in the Fault Handler part of the scope action. Assume an exception (for example, NumberFormatException) occurs in an invoke (outbound) Oracle Database Cloud Service Adapter. Exceptions are mapped in fault mappings and returned to the source format as defined in its WSDL contract. In this use case, a stored procedure is used that accepts only an integer type. If you invoke the Oracle Database Cloud Service Adapter by passing a noninteger value, Oracle Autonomous Integration Cloud reports the fault back to you. To define fault mapping: 1. Create connections for the SOAP Adapter and Oracle Database Cloud Service Adapter. 2. Create an orchestrated integration. 3. Drag the SOAP Adapter into the integration canvas as a trigger. The Adapter Endpoint Configuration wizard is displayed. 4. Configure the SOAP Adapter (for this example, named s1). 1-2

Chapter 1 About Oracle Database Cloud Service Adapter Use Cases 5. From the Actions palette, drag a Scope action below the SOAP Adapter. 6. From the Invokes palette, drag the Oracle Database Cloud Service Adapter inside the scope. The Adapter Endpoint Configuration wizard is displayed. 7. Select an operation to invoke any stored procedure that accepts only an integer as the input parameter (for this example, the adapter is named db1). 8. Define mappings for the Oracle Database Cloud Service Adapter. 9. In the integration canvas, click Reposition and move the s1 map inside the scope. 10. Define mappings for s1. 1-3

Chapter 1 About Oracle Database Cloud Service Adapter Use Cases 11. Click the Fault Handler part and select Oracle Database : serviceinvocationerror db1. 12. From the Actions palette, drag a Fault Return action inside the Fault Handler part. 13. Define fault mappings. 1-4

Chapter 1 Workflow to Create and Add an Oracle Database Cloud Service Adapter Connection to an Integration The root element for the fault is serviceinvocationerror. The fault includes other elements that carry the fault details: type, title, detail, errorcode, and remedialaction. The detail element carries information about the fault cause. The remedialaction element suggests the action to fix the fault. 14. From the menu, select Tracking and define the tracking field. 15. Activate and invoke the integration by passing a string value (that is, a noninteger value) from the SOAP UI. <typ:getorganization> <typ:partyid>test</typ:partyid> </typ:getorganization> The fault response returns information similar to the following: <nstrgmpr:code>xsd object conversion error</nstrgmpr:code> <nstrgmpr:message>an error occurred while parsing XML representing a Java object.</nstrgmpr:message> <nstrgmpr:severity>unable to convert the XSD element DATA_IN whose SQL type is INTEGER and JDBC type is INTEGER. Cause: java.lang.numberformatexception: For input string: "test"</nstrgmpr:severity> <nstrgmpr:detail> <nstrgmpr:code>serviceinvocationerror</nstrgmpr:code> <nstrgmpr:message>check to ensure that the XML data describing the object matches the definition of the element in the XSD.</nstrgmpr:message> <nstrgmpr:detail> <nstrgmpr:code/> <nstrgmpr:message/> <nstrgmpr:severity/> <nstrgmpr:detail/> </nstrgmpr:detail> <nstrgmpr:detail xsi:type="nstrgmpr:serviceerrormessage" xmlns:xsi="http:// www.w3.org/2001/xmlschema-instance"/> </nstrgmpr:detail> </nstrgmpr:serviceerrormessage> </detail> Workflow to Create and Add an Oracle Database Cloud Service Adapter Connection to an Integration You follow a very simple workflow to create a connection with an adapter and include the connection in an integration in Oracle Autonomous Integration Cloud. This table lists the workflow steps for both adapter tasks and overall integration tasks, and provides links to instructions for each step. Step More Information 1 Access Oracle Autonomous Integration Cloud. 2 Perform prerequisites for creating an adapter connection. Go to https://hostname:port_number/ic. Prerequisites for Creating a Connection 1-5

Chapter 1 Workflow to Create and Add an Oracle Database Cloud Service Adapter Connection to an Integration Step More Information 3 Create the adapter connections for the applications you want to integrate. The connections can be reused in multiple integrations and are typically created by the administrator. 4 Create the integration. When you do this, you add trigger (source) and invoke (target) connections to the integration. 5 Map data between the trigger connection data structure and the invoke connection data structure. 6 (Optional) Create lookups that map the different values used by those applications to identify the same type of object (such as gender codes or country codes). Creating an Oracle Database Cloud Service Adapter Connection Note: The adapter name to select in the Create Connection -Select Adapter dialog is Oracle DBaaS. Creating Integrations of Using Integrations in Oracle Autonomous Integration Cloud and Adding the Oracle Database Cloud Service Adapter Connection to an Integration Mapping Data of Using Integrations in Oracle Autonomous Integration Cloud Creating Lookups of Using Integrations in Oracle Autonomous Integration Cloud 7 Activate the integration. Activating Integrations of Using Integrations in Oracle Autonomous Integration Cloud 8 Monitor the integration on the dashboard. 9 Track payload fields in messages during runtime. 10 Manage errors at the integration level, connection level, or specific integration instance level. Monitoring Integrations of Using Integrations in Oracle Autonomous Integration Cloud Assigning Business Identifiers for Tracking Fields in Messages and Managing Business Identifiers for Tracking Fields in Messages of Using Integrations in Oracle Autonomous Integration Cloud Managing Errors of Using Integrations in Oracle Autonomous Integration Cloud 1-6

2 Creating an Oracle Database Cloud Service Adapter Connection A connection is based on an adapter. You define connections to the specific cloud applications that you want to integrate. The following topics describe how to define connections. Topics Prerequisites for Creating a Connection Creating Connections Uploading an SSL Certificate Prerequisites for Creating a Connection You must satisfy the following prerequisites to create a connection with the Oracle Database Cloud Service Adapter. Note details such as Public IP, SID, SQL*Net Port, PDB Name, and Connect String from the instance details page for the Oracle Database Cloud Service instance in the My Services Console. This information is required when configuring an Oracle Database Cloud Service Adapter connection on the Connections page. Create an agent group. See Creating an Agent Group of Using Integrations in Oracle Autonomous Integration Cloud. Note the agent group name and agent group identifier that you specify. The agent group name is required when creating an Oracle Database Cloud Service Adapter connection. The agent group identifier is required when installing the on-premises connectivity agent. Download and install the on-premises connectivity agent on the same host as the Oracle Database Cloud Service or a compute node from which the database is accessible. See Downloading and Running the On-Premises Agent Installer of Using Integrations in Oracle Autonomous Integration Cloud. Creating Connections The first step in creating an integration is to create the connections to the applications with which you want to share data. 1. Click Create. 2-1

Chapter 2 Creating Connections Note: You can also create a connection in the integration canvas of: An orchestrated integration (See Defining Inbound Triggers and Outbound Invokes.) A basic routing integration (See Adding a Trigger (Source) Connection.) The Create Connection Select Adapter dialog is displayed. 2. Select an adapter from the dialog. You can also search for the type of adapter to use by entering a partial or full name in the Search field, and clicking Search. The Create New Connection dialog is displayed. 3. Enter the information to describe the connection. Enter a meaningful name to help others find your connection when they begin to create their own integrations. The name you enter is automatically added in capital letters to the Identifier field. If you modify the identifier name, do not include a blank space (for example, Sales Opportunity). Select the role (direction) in which to use this connection (trigger, invoke, or both). Only the roles supported by this adapter are displayed for selection. When you select a role, only the connection properties and security policies appropriate to that role are displayed on the Connections page. If you select an adapter that supports both invoke and trigger, but select only one of those roles, then try to drag the adapter into the section you did not select, you receive an error (for example, configure an Oracle RightNow Cloud Adapter as only an invoke, but drag the adapter to the trigger section). Enter an optional description of the connection. 2-2

Chapter 2 Creating Connections 4. Click Create. Adding a Contact Email Your connection is created and you are now ready to configure connection details, such as email contact, connection properties, security policies, connection login credentials, and (for certain connections) agent group. From the Connection Administrator section of the connection, you can add a contact email address for notifications. 1. In the Email Address field, enter an email address to receive email notifications when problems occur. 2. In the upper right corner, click Save. Configuring Connection Properties Enter connection information so your application can process requests. 1. Click Configure Connectivity. 2. The Connection Properties dialog is displayed. Specify the following Oracle Database Cloud Service instance details that you obtained in Prerequisites for Creating a Connection. 3. In the Host field, specify the host. 4. In the Port field, specify the SQL*Net port. 5. In the SID field, specify the database SID. 6. In the Service Name field, specify the database service name. 7. Click OK. 8. Configure connection security. Configuring Connection Security Configure security for your Oracle Database Cloud Service Adapter connection by selecting the security policy and security token. 1. Click Configure Credentials. 2. Enter your login credentials: a. Select the security policy. Only the Username Password Token policy is supported. It cannot be deselected. b. Enter the database username and password to connect to Oracle Database Cloud Service. c. Reenter the password a second time. 3. Click OK. 2-3

Chapter 2 Uploading an SSL Certificate Configuring an Agent Group Configure an agent group for accessing the service hosted on your premises behind the fire wall. 1. Click Configure Agents. The Select an Agent Group page appears. 2. Click the name of the agent group. 3. Click Use. Testing the Connection To configure an agent group, you must download and install the on-premises connectivity agent. See Downloading and Running the On-Premises Agent Installer and About Agents and Integrations Between On-Premises Applications and Oracle Integration Cloud of Using Integrations in Oracle Autonomous Integration Cloud. Test your connection to ensure that it is successfully configured. 1. In the upper right corner of the page, click Test. 2. Select the type of connection testing to perform: Validate and Test: Performs a full validation of the WSDL, including processing of the imported schemas and WSDLs. Complete validation can take several minutes depending on the number of imported schemas and WSDLs. No requests are sent to the operations exposed in the WSDL. Test: Connects to the WSDL URL and performs a syntax check on the WSDL. No requests are sent to the operations exposed in the WSDL. If successful, the following message is displayed and the progress indicator shows 100%. Connection connection_name was tested successfully. 3. If your connection was unsuccessful, an error message is displayed with details. Verify that the configuration details you entered are correct. 4. When complete, click Save, then click Close. Uploading an SSL Certificate Certificates are used to validate outbound SSL connections. If you make an SSL connection in which the root certificate does not exist in Oracle Autonomous Integration Cloud, an exception is thrown. In that case, you must upload the appropriate certificate. A certificate enables Oracle Autonomous Integration Cloud to connect with external services. If the external endpoint requires a specific certificate, request the certificate and then upload it into Oracle Autonomous Integration Cloud. To upload an SSL certificate: 1. Click Settings > Certificates. All certificates currently uploaded to the trust store are displayed in the Certificates dialog. The Filter By > Type list displays the following details: 2-4

Chapter 2 Uploading an SSL Certificate Preinstalled: Displays the certificates automatically installed in Oracle Autonomous Integration Cloud. These certificates cannot be deleted. Uploaded: Displays the certificates uploaded by individual users. These certificates can be deleted and updated. You can also search for certificates in the Search field. The search results are limited to a maximum of ten records sorted by name for performance and usability reasons. To ensure that your search results are more granular, enter as much of the certificate name as possible. 2. Click Upload at the top of the page. 3. In the Upload Certificate dialog box, select the certificate type. Each certificate type enables Oracle Autonomous Integration Cloud to connect with external services. Trust Certificate: Use this option to upload a trust certificate. a. Enter a unique alias for the certificate. b. Click Browse, then select the trust file (for example,.cer or.crt) to upload. Message Protection Certificate: Use this option to upload a keystore certificate with SAML token support. Create, read, update, and delete (CRUD) operations are supported on this type of certificate. a. Enter a unique alias for the certificate. b. Click Browse, then select the certificate file (.cer or.crt) to upload. Identity Certificate: Use this option to upload a certificate for two-way SSL communication. a. Click Browse, then select the keystore file (.jks) to upload. b. Enter the password of the keystore being imported. c. Enter the comma-separated list of aliases from the keystore being imported. d. Enter the comma-separated list of passwords corresponding to key aliases. e. If you want to display the passwords in clear text, select Show Key Password(s). This enables you to ensure that you are correctly entering a list of keystore passwords. 4. Click Upload. 5. Click the certificate name to view details such as the subject of the certificate, the issuer of the certificate, the date the certificate was issued, and the date the certificate expires. 2-5

3 Adding the Oracle Database Cloud Service Adapter Connection to an Integration When you drag the Oracle Database Cloud Service Adapter into the trigger and invoke areas of an integration, the Adapter Endpoint Configuration Wizard is invoked. This wizard guides you through configuration of the Oracle Database Cloud Service Adapter endpoint properties. The following sections describe the wizard pages that guide you through configuration of the Oracle Database Cloud Service Adapter as a trigger or invoke in an integration. Topics Configuring Basic Information Properties Configuring Oracle Database Cloud Service Adapter Trigger Polling Properties Configuring Oracle Database Cloud Service Adapter Invoke Store Procedure Properties Configuring Oracle Database Cloud Service Adapter Invoke SQL Statement Properties Reviewing Configuration Values on the Summary Page Configuring Basic Information Properties The following table describes the key information on the Basic Info page. What do you want to call your endpoint? What does this endpoint do? Identifies the connection with a meaningful name that defines the purpose of connection. For example, CreateEmployeeInDB for a database connection that adds new employee data. The name can include English alphabetic characters, numbers, underscores, and dashes. The name cannot include: Blank spaces (for example, My DB Connection) Special characters (for example, #;83& or righ(t)now4) Multibyte characters Provide a description of what this connection does. 3-1

Chapter 3 Configuring Oracle Database Cloud Service Adapter Trigger Polling Properties What operation do you want to perform? If configuring the connection in the invoke direction, select the operation to perform. Invoke a Stored Procedure Select to run a stored procedure on the database. Run a SQL Statement Select to run a SQL query on the database. Notes When operations in a SQL statement such as Update, Concat, and Merge accept values for the inbound invocation of an integration, they do not work. For example, the following query does not work: select concat(empname, 'ss') from DB_AQ where empno=#empno select empno from DB_AQ where empname=concat(#empname, 'YY') As a workaround, handle these scenarios during payload mapping. For example, perform a concatenation during mapping of the payload. The final output can then be passed as input to the SQL query. IN/BETWEEN operators are not supported with bind parameters. Use greater than (>) and less than (<) operators instead. Configuring Oracle Database Cloud Service Adapter Trigger Polling Properties You can poll for new or changed records. Configuring Polling Properties Importing Table Properties Configuring Primary Key Properties Managing Table Relationship Properties Configuring Attribute Filtering Properties Configuring Polling Strategy and Option Properties Configuring Polling Properties The following table describes the key information on the Polling page. Import Tables Import the tables and select the root database table for the service query. 3-2

Chapter 3 Configuring Oracle Database Cloud Service Adapter Trigger Polling Properties Remove Tables Review and manage root database table relationships Review and verify table and relationship attributes Review the polling strategy and specify polling options Remove the selected table from the service query tables list. Appears after importing tables. Select Edit to open the Manage Table Relationships page where you can view, create, and remove relationships between tables. Appears after importing tables. Select Edit to open the Attributes Filtering page where you can review, verify, select or deselect the attributes in the object model created from the imported tables and the defined relationships. Appears after importing tables. Select Edit to open the Polling Strategy and Options page where you can define the polling strategy and specify polling options. Importing Table Properties The following table describes the key information on the Search and Import Tables page. The Search and Import Tables page appears when you select Import Tables on the Polling page. Schema Table Name Search Available Selected Select the schema for the tables and views you are importing. Special characters (for example, #) are not supported in schema names. The name of the table to which the schema or view is applied. The Table Type list next to the Table Name field allows these selections: All Select all available tables and views. Materialized View Select materialized views. Materialized View Log Select materialized view logs. Synonym Select the alias for the schema object. Table Select tables. View Select views. Click to search for the specified table type. Lists the elements of the table type available for selection. Lists the selected table type. 3-3

Chapter 3 Configuring Oracle Database Cloud Service Adapter Trigger Polling Properties Configuring Primary Key Properties The following table describes the key information on the Define Primary Keys page. Primary Keys This page appears when you select tables without a primary key defined. Select the virtual primary keys for the table type. Note: Having the primary key at the database level is the best practice. Managing Table Relationship Properties The following table describes the key information on the Manage Table Relationships page. The Manage Table Relationships page appears when you select Edit for the Review and manage root database table relationships option on the Polling page. Create New Detach Opens the Create Relation page with these options: Parent Table Select the parent table for the relationship between tables. Child Table Select the child table for the relationship between tables. Relationship Defines the relationship between the parent and child tables. Attribute Name Apply attributes to the table relationship. Mapping Provide the mapping for the table relationship. Opens the Relationships list in a new window. Configuring Attribute Filtering Properties The following table describes the key information on the Attribute Filtering page. This page appears when you click Edit for the Review and verify table and relationship attributes option on the Polling page. Attributes View Review the attributes in the object model created from the imported tables and the defined relationships and uncheck any attributes to exclude from the database queries. Primary key attributes cannot be excluded. 3-4

Chapter 3 Configuring Oracle Database Cloud Service Adapter Invoke Store Procedure Properties Configuring Polling Strategy and Option Properties The following table describes the key information on the Polling Strategy and Options page. The Polling Strategy and Options page appears when you select Edit for Review the polling strategy and specify polling options on the Polling page. Logical Delete Field Read Value Unread Value Rejected Value Polling Frequency (Sec) Selects a field in the root database table. To allow the selection, polling must be enabled in the Status column. Identifies the value that is used to indicate a row has been read. For example, PROCESSED. Surrounding quotes are not required. Indicates the rows to process. Only rows with Logical Delete Field and column values that match the Unread Value are read. Set to REJECTED. If the incoming message is greater than the 10 MB threshold size, that particular record is updated to REJECTED instead of READ. If the outbound operation returns a response greater than the 10 MB threshold size, the response message is ignored and a fault response is sent to the calling client. Specifies the polling frequency (in seconds) for new records or events. Configuring Oracle Database Cloud Service Adapter Invoke Store Procedure Properties Select Schema Select Package Select Procedure Select a database schema from the list. This action refreshes the page to display fields for selecting a package or procedure to invoke. Special characters (for example, #) are not supported in schema names. Select the database package. This action refreshes the page to display the procedures available for the package. When importing a predefined integration package containing PLS or SQL stored procedures, the wrapper package is not recreated in the target database. To add the wrapper package, confirm JPublisher is installed on the target database and define the original stored procedure. After confirming JPublisher is installed and the stored procedure is defined, open the PL/SQL Wrapper utility and execute the add scripts command to add the scripts included in the exported inventory archives (IAR) file. Displays the in (inbound), out (outbound), and in/out (inbound/outbound) parameters for the selected package. 3-5

Chapter 3 Configuring Oracle Database Cloud Service Adapter Invoke SQL Statement Properties Arguments Display the in, out, and in/out parameters that are passed with this procedure. Configuring Oracle Database Cloud Service Adapter Invoke SQL Statement Properties SQL Query Status Enter a SQL query. After you click Validate SQL Query, ensure the Status field shows a Success message. Reviewing Configuration Values on the Summary Page You can review the specified adapter configuration values on the Summary page. Summary Displays a summary of the configuration values you defined on previous pages of the wizard. The information that is displayed can vary by adapter. For some adapters, the selected business objects and operation name are displayed. For adapters for which a generated XSD file is provided, click the XSD link to view a read-only version of the file. To return to a previous page to update any values, click the appropriate tab in the left panel or click Back. Click Cancel to cancel your configuration details. 3-6

4 Troubleshooting the Oracle Database Cloud Service Adapter Review the following topics to learn about troubleshooting issues with the Oracle Database Cloud Service Adapter. Topics Recovering from a CLOUD-0005: Unable to Establish Connection Error Special Characters are Not Supported in Schema Names Resolving Message Time Out Errors Recovering from a CLOUD-0005: Unable to Establish Connection Error If you receive the following error: CLOUD-0005: Unable to establish connection. Please check connection parameters IO Error: Invalid connection string format, a valid format is: "host:port:sid" and the Service Name contains HYPHEN "-" Perform the following steps: 1. Check if the service name can be modified to remove the hyphen (-). 2. If you cannot remove the hyphen, prefix the host name in the database connection with // (for example, //host.test.com). Special Characters are Not Supported in Schema Names If you use schema names with special characters such as #, integration activation fails. For stored procedures, the schema derives the names of the types in the XSD. If the type name contains #, the XSD has problems with the name. Use a schema name that does not contain any special characters. Resolving Message Time Out Errors The following error can occur during both design time (in both the inbound and outbound directions) and runtime. Message not received within X seconds of wait interval 4-1

Chapter 4 Resolving Message Time Out Errors Note: When using the adapter to connect to an Oracle E-Business Suite database instance and this error continuously occurs, review the SQL query plans and other SQL tuning aspects. The adapter relies on JDBC driver APIs to fetch metadata such as table details, stored procedure details, and so on. This involves execution of certain SQL queries by the JDBC driver involving SYS tables such as the ALL_TYPES table. Since Oracle E-Business Suite has a large data dictionary, these metadata queries requires tuning consideration to improve overall performance of the adapter. 4-2