Oracle® Cloud: Using The Oracle E-Business Suite Adapter Release 17.1
Oracle® Cloud: Using The Oracle E-Business Suite Adapter Release 17.1
Oracle® Cloud: Using The Oracle E-Business Suite Adapter Release 17.1
February 2017
Oracle Cloud Using the Oracle E-Business Suite Adapter, Release 17.1
Copyright © 2015, 2017, Oracle and/or its affiliates. All rights reserved.
Contributing Author: Deepika Annavarapu, Rekha Ayothi, Parul Goel, Ravindra Nadakuditi
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
agency-specific 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.
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.
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.
Contents
Preface
4 Creating an Integration
Creating an Integration with the Oracle E-Business Suite Adapter........................................ 4-1
iii
5 Adding the Oracle E-Business Suite Adapter Connection to an Integration
Overview................................................................................................................................... 5-1
Adding the Oracle E-Business Suite Adapter as a Trigger (Source) Connection.................... 5-1
Configuring an Oracle E-Business Suite Business Event in an Integration.......................... 5-4
Configuring an Oracle E-Business Suite XML Gateway Message in an Integration............ 5-6
Post Activation Manual Steps for XML Gateway Messages as a Trigger.................... 5-10
Adding the Oracle E-Business Suite Adapter as an Invoke (Target) Connection................. 5-13
7 Administering Integrations
Activating and Managing Integrations..................................................................................... 7-1
iv
Activating the Integration....................................................................................................... 9-12
Configuring Trading Partner Information for Post Integration............................................ 9-13
Testing and Validating the Integration.................................................................................. 9-15
A Sample Payloads
Sample XSD for the Create_Invoice Activity Used in the Business Event Example.............. A-1
Sample JSON Payloads for the Oracle E-Business Suite Adapter as an Invoke Example......A-3
B Error Messages
Overview................................................................................................................................... B-1
Error Messages While Testing an Oracle E-Business Suite Connection................................. B-1
Error Messages While Creating an Integration with Oracle E-Business Suite Adapter as a
Trigger (Source) Connection..................................................................................................... B-5
Error Messages While Creating an Integration with the Oracle E-Business Suite Adapter as
an Invoke (Target) Connection................................................................................................. B-5
Index
v
Send Us Your Comments
Oracle Cloud Using the Oracle E-Business Suite Adapter, Release 17.1
Part No. E66534-07
Oracle welcomes customers' comments and suggestions on the quality and usefulness of this document.
Your feedback is important, and helps us to best meet your needs as a user of our products. For example:
• Are the implementation steps correct and complete?
• Did you understand the context of the procedures?
• Did you find any errors in the information?
• Does the structure of the information help you with your tasks?
• Do you need different information or graphics? If so, where, and in what format?
• Are the examples correct? Do you need more examples?
If you find any errors or have any other suggestions for improvement, then please tell us your name, the
name of the company who has licensed our products, the title and part number of the documentation and
the chapter, section, and page number (if available).
Note: Before sending us your comments, you might like to check that you have the latest version of the
document and if any concerns are already addressed. To do this, access the new Oracle E-Business Suite
Release Online Documentation CD available on My Oracle Support and www.oracle.com. It contains the
most current Documentation Library plus all documents revised or released recently.
Send your comments to us using the electronic mail address: [email protected]
Please give your name, address, electronic mail address, and telephone number (optional).
If you need assistance with Oracle software, then please contact your support representative or Oracle
Support Services.
If you require training or instruction in using Oracle software, then please contact your Oracle local office
and inquire about our Oracle University offerings. A list of Oracle offices is available on our Web site at
www.oracle.com.
vii
Preface
Intended Audience
Welcome to Release 17.1 of the Oracle Cloud Using the Oracle E-Business Suite Adapter.
Using the Oracle E-Business Suite Adapter describes how to securely connect and use
Oracle E-Business Suite services through Oracle E-Business Suite Adapter from Oracle
Integration Cloud Service.
Using the Oracle E-Business Suite Adapter is intended for users who want to create,
activate, and monitor application integrations for Oracle E-Business Suite.
See Related Information Sources on page x for more Oracle E-Business Suite product
information.
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.
Structure
1 Getting Started with the Oracle E-Business Suite Adapter
2 Setting Up and Creating an Oracle E-Business Suite Adapter Connection
3 Creating an Oracle E-Business Suite Connection with Oracle E-Business Suite Adapter
4 Creating an Integration
ix
5 Adding the Oracle E-Business Suite Adapter Connection to an Integration
6 Creating Mappings and Lookups in Integrations
7 Administering Integrations
8 An Example of Using a Business Event as a Trigger (Source) in an Integration
9 An Example of Using an XML Gateway Message as a Trigger (Source) in an Integration
10 An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an
Integration
A Sample Payloads
B Error Messages
• You may want to refer to other Oracle Cloud guides when you set up and use
Oracle E-Business Suite Adapter from Oracle Integration Cloud Service.
Using Oracle Integration Cloud Service
This book describes how to use Oracle Integration Cloud Service to integrate your
applications.
Using the Oracle Mapper
This book describes how to use the mapper to map source data structures to target
data structures.
Getting Started with Oracle Cloud
This book introduces you to cloud concepts and describes how you can request a
trial subscription or purchase a subscription for an Oracle Cloud service. In
addition, this book describes how to add users, change passwords, and access
service consoles.
Managing and Monitoring Oracle Cloud
This book describes how to manage and monitor your Oracle Cloud services,
manage your subscriptions, user accounts, contacts and notifications.
x
Oracle E-Business Suite Integrated SOA Gateway User's Guide
This guide describes the high level service enablement process, explaining how users
can browse and view the integration interface definitions and services residing in
Oracle Integration Repository.
Oracle E-Business Suite Integrated SOA Gateway Implementation Guide
This guide explains how integration administrators can manage and administer the
Web service activities for integration interfaces including native packaged integration
interfaces, composite services (BPEL type), and custom integration interfaces. It also
describes how to invoke Web services from Oracle E-Business Suite by employing the
Oracle Workflow Business Event System, and how to manage Web service security,
configure logs, and monitor SOAP messages.
Oracle E-Business Suite Integrated SOA Gateway Developer's Guide
This guide describes how integration developers can perform end-to-end service
integration activities. These include orchestrating discrete Web services into meaningful
end-to-end business processes using business process execution language (BPEL), and
deploying BPEL processes at run time.
This guide also explains how to invoke Web services using the Service Invocation
Framework. This includes defining Web service invocation metadata, invoking Web
services, and testing the Web service invocation.
Oracle E-Business Suite Concepts
This book is intended for all those planning to deploy Oracle E-Business Suite Release
12.2, or contemplating significant changes to a configuration. After describing the
Oracle E-Business Suite architecture and technology stack, it focuses on strategic topics,
giving a broad outline of the actions needed to achieve a particular goal, plus the
installation and configuration choices that may be available.
Oracle E-Business Suite Security Guide
This guide contains information on a comprehensive range of security-related topics,
including access control, user management, function security, data security, and
auditing. It also describes how Oracle E-Business Suite can be integrated into a single
sign-on environment.
Oracle E-Business Suite Maintenance Guide
This guide explains how to patch an Oracle E-Business Suite system, describing the
adop patching utility and providing guidelines and tips for performing typical patching
operations. It also describes maintenance strategies and tools that can help keep a
system running smoothly.
Oracle E-Business Suite User's Guide
This guide explains how to navigate, enter and query data, and run concurrent requests
using the user interface (UI) of Oracle E-Business Suite. This guide also includes
information on setting user profiles and customizing the UI.
xi
Integration Repository
The Oracle Integration Repository is a compilation of information about the service
endpoints exposed by the Oracle E-Business Suite of applications. It provides a
complete catalog of Oracle E-Business Suite's business service interfaces. The tool lets
users easily discover and deploy the appropriate business service interface for
integration with any system, application, or business partner.
The Oracle Integration Repository is shipped as part of the Oracle E-Business Suite. As
your instance is patched, the repository is automatically updated with content
appropriate for the precise revisions of interfaces in your environment.
xii
1
Getting Started with the Oracle E-Business
Suite Adapter
In this diagram, Business Events and XML Gateway messages are available for inbound
integrations in Oracle Integration Cloud Service when adding the Oracle E-Business
Suite Adapter as a trigger (source) connection in an integration. If the Oracle E-Business
Suite Adapter is added as an invoke (target) connection, PL/SQL APIs and Concurrent
Programs are available as REST services for invocation from Oracle Integration Cloud
Service.
To access these REST services or interfaces in Oracle E-Business Suite on-premise which
is behind the firewall, Oracle Integration Cloud Service agents can be used if your
Oracle E-Business Suite is not set up in a DMZ configuration.
Please note that an outbound integration from Oracle E-Business Suite into Oracle
Integration Cloud Service is also referred as an inbound (trigger or source) integration
in Oracle Integration Cloud Service.
Common Terminologies
To better understand the Oracle E-Business Suite Adapter, the following common
terminologies are explained in this section.
Oracle E-Business Suite Integrated SOA Gateway (ISG)
Oracle E-Business Suite Integrated SOA Gateway provides the functionality to expose
integration interfaces published in the Integration Repository as SOAP and REST based
web services.
Oracle E-Business Suite users with appropriate privileges can deploy these integration
interfaces as REST services and manage the service lifecycle activities through the
Integration Repository. The Oracle E-Business Suite Adapter in turn provides the access
to these REST services that you can use for creating integrations in Oracle Integration
Cloud Service.
Integration Repository
• Concurrent Program
A concurrent program runs as a concurrent process that executes multiple
programs running in the background. Functions performed by concurrent
programs are normally data-intensive and long-running, such as posting a journal.
The Oracle E-Business Suite Adapter supports outbound integrations with
concurrent programs from Oracle Integration Cloud Service when adding the
Oracle E-Business Suite Adapter as invoke (target) connections.
• Business Event
A business event is an occurrence in Oracle E-Business Suite that might be
significant to other objects in a system or to external agents. An example of a
business event can be the creation of a new sales order or changes to an existing
order.
When you add the Oracle E-Business Suite Adapter as trigger (source) connections,
business events are available for inbound integrations in Oracle Integration Cloud
Service.
• It supports business events and XML Gateway messages for inbound integrations
in Oracle Integration Cloud Service when using the Oracle E-Business Suite
Adapter as trigger (source) connections.
• It allows you to access and use Oracle E-Business Suite deployed REST-based
services.
• It allows you to monitor and manage integration activities with Oracle E-Business
Suite services.
Typical Task Flow for Using the Oracle E-Business Suite Adapter
The following table describes the typical task flow of using the Oracle E-Business Suite
Adapter in Oracle Integration Cloud Service:
• Managing Business
Identifiers for Tracking
Fields in Messages,
Administering
Integration Cloud Service
chapter, Oracle Cloud
Using Oracle Integration
Cloud Service
To better understand how to use the Oracle E-Business Suite Adapter in an integration,
see:
• An Example of Using a Business Event as a Trigger (Source) in an Integration, page
8-1
Additionally, refer to the following documents for more information about the Oracle
E-Business Suite Adapter:
• Oracle E-Business Suite Adapter in Oracle Integrated Cloud Service Frequently Asked
Questions (FAQ), My Oracle Support Knowledge Document 110687.1
Setup Overview
Before creating an Oracle E-Business Suite connection with the Oracle E-Business Suite
Adapter, you must perform the setup tasks to ensure it works properly.
This chapter includes the following topics:
• Setup Tasks for Enabling the Oracle E-Business Suite Adapter, page 2-1
• Setup Tasks for Using the Oracle E-Business Suite Adapter as a Trigger (Source)
Connection, page 2-5
• Deploy business function related APIs as Oracle E-Business Suite REST services
If you want to integrate or use Oracle E-Business Suite integration interfaces in
Oracle Integration Cloud Service, you must first deploy these interface
definitions as Oracle E-Business Suite REST services.
For example, to process a sales order in Oracle E-Business Suite, you must
deploy the Sales Order Service (OE_INBOUND_INT) API as a REST service
first before you can use this deployed Sales Order Service REST service from
Oracle Integration Cloud Service through the Oracle E-Business Suite Adapter.
For information on deploying REST services, see Deploying REST Web Services,
Administering Native Integration Interfaces and Services chapter, Oracle E-Business
Suite Integrated SOA Gateway Implementation Guide.
The Oracle E-Business Suite user credentials should be used to create an Oracle
E-Business Suite connection in Oracle Integration Cloud Service. For example, if
you plan to use an Oracle E-Business Suite user hrmanager from Oracle
Integration Cloud Service to "create employee" in Oracle E-Business Suite, you need
to:
• Create a security grant on all the methods contained in the Metadata Provider
API to the hrmanager Oracle E-Business Suite user.
• Create a security grant on all the methods contained in the Event Manager API
to the hrmanager Oracle E-Business Suite user.
• Create a security grant on the "Create Employee" method in the Employee API
to the hrmanager Oracle E-Business Suite user.
• Use the hrmanager user credentials while creating an Oracle E-Business Suite
connection in Oracle Integration Cloud Service.
At runtime, the username and password information provided through the Oracle
E-Business Suite Adapter connection will be passed to Oracle E-Business Suite for
user authentication for the service being invoked in an integration.
For information on creating security grants for REST services, see Managing Grants
for Interfaces with Support for SOAP and REST Web Services, Administering
Native Integration Interfaces and Services chapter, Oracle E-Business Suite Integrated
SOA Gateway Implementation Guide.
For information on creating a connection with Oracle E-Business Suite Adapter, see:
Setup Tasks for Using the Oracle E-Business Suite Adapter as a Trigger
(Source) Connection
To successfully use business events and XML Gateway messages as inbound
integrations in Oracle Integration Cloud Service through the Oracle E-Business Suite
Adapter, you must perform the following one-time setup tasks in Oracle E-Business
Suite to enable the feature:
1. Store the ICS user credentials in Oracle E-Business Suite FND vault.
Execute the PL/SQL script $FND_TOP/sql/afvltput.sql from Oracle
E-Business Suite backend to upload and store the user credentials in Oracle
E-Business Suite FND vault.
1. Connect to an Oracle E-Business Suite database:
sqlplus apps/<apps password>
At runtime, the user credentials are retrieved from Oracle E-Business Suite FND
vault and are embedded in the HTTP request along with business event data to
Oracle Integration Cloud Service. It is included based on the HTTP Basic
Authentication scheme. Oracle Integration Cloud Service then authenticates the
user credentials based on the HTTP Basic Authentication method and accepts the
2. Click AutoConfig.
3. In the Context Files page, click the Edit Parameters icon for the Applications
tier context file.
2. Click AutoConfig.
3. In the Context Files page, click the Edit Parameters icon for the Applications
tier context file.
4. In the Context File Parameters page, select the Environments tab. Expand the
oa_environments:adovars node to locate the APPSJREOPTS (AutoConfig
variable or OA_VAR "s_appsjreopts").
2. After the Oracle Integration Cloud Service UI page has been successfully
loaded in a browser, double click the Lock icon in the bottom right corner of the
browser and export the certificates. For example,
• In Internet Explorer, double click the Lock icon, then select Details, and
then Copy to File.
• In Mozilla Firefox, double click the Lock icon, then select Security, then
View Certificate, then Details, and then Export.
Alternatively, you can use the browser menu to export the certificates using the
following steps:
1. In Internet Explorer, select Internet Options from the Tools drop-down
menu to open the Internet Options pop-up window.
3. In the Personal (or Other People) tab, select your certificates and click
Export.
3. You can export or save the certificates either in DER encoded binary X.509 (
.crt) or in Base64 encoded. For example, the exported certificate is named as
rootCA.crt.
3. Copy the Oracle Integration Cloud Service server's root certificate rootCA.crt
imported earlier to the security directory.
4. Execute the following command to ensure that cacerts has the write
permissions:
$ chmod u+w cacerts
7. Restart Oracle E-Business Suite application tier services. Use the adstpall.sh
and adstrtal.sh scripts in the $ADMIN_SCRIPTS_HOME directory to stop
and restart all services.
Overview
This chapter includes the following topics:
• Creating an Oracle E-Business Suite Connection with Oracle E-Business Suite
Adapter, page 3-1
Please note that you can modify, delete, or clone the connection if needed after creating
or testing a connection. See Creating Connections, Developing Integration Cloud
Services chapter, Oracle Cloud Using Oracle Integration Cloud Service.
Creating an Oracle E-Business Suite Connection with Oracle E-Business Suite Adapter 3-1
page appears.
1. Click Connections.
• Use the search feature to enter a full or partial name to locate "Oracle
E-Business Suite" from the dialog.
Click the Select button for "Oracle E-Business Suite" to use the Oracle E-Business
Suite Adapter. The New Connection - Information dialog appears.
Creating an Oracle E-Business Suite Connection with Oracle E-Business Suite Adapter 3-3
Entering Connection Information in the New Connection - Information Dialog
• Connection Role: Specify either one of the following roles for your connection:
• Trigger: This indicates this connection can only be added as a trigger
(source) in an integration.
Creating an Oracle E-Business Suite Connection with Oracle E-Business Suite Adapter 3-5
Entering User Credentials in the Credentials Dialog
• Agent Group: Click Configure Agents to display the Select an Agent group
dialog. A list of available agent groups is automatically populated for your
selection.
Select a desired agent group, such as "EBS", and click Use to enable the
selection.
The selected agent group serves as a channel for communication between
Oracle E-Business Suite and Oracle Integration Cloud Service.
For information on setting up agent groups, refer to Creating an Agent Group,
Managing Agent Groups and the On-Premises Agent section in the Developing
Integration Cloud Services chapter, Oracle Cloud Using Oracle Integration Cloud
Service.
Creating an Oracle E-Business Suite Connection with Oracle E-Business Suite Adapter 3-7
4
Creating an Integration
This pattern allows you to publish business events from Oracle E-Business Suite
(trigger) to Oracle Integration Cloud Service through a predefined Integration
Cloud Service Messaging target.
See: Adding the Oracle E-Business Suite Adapter as a Trigger (Source)
Connection, page 5-1.
Note: You can also use the Oracle E-Business Suite Adapter as
a trigger (source) connection in this "Map My Data" integration
pattern to trigger an integration.
This pattern allows you to add desired adapters as a trigger (source) and an
invoke (target) connections in an integration. For example, add the Oracle
E-Business Suite Adapter as an invoke (target) connection to receive inbound
request from a trigger (source) connection and invoke an Oracle E-Business
Suite REST service.
See: Adding the Oracle E-Business Suite Adapter as an Invoke (Target)
Connection, page 5-13.
4. The New Integration - Information dialog appears. Enter the following information:
• What do you want to call your integration? Enter a meaningful name for your
integration, such as Create_Order.
• What does this integration do? Enter description information for your
integration.
• Which package does this integration belong to? Enter a new or an existing
package name in which to place your integration.
For more information about package, see Managing Packages, Oracle Cloud
5. Click Create.
The integration designer is displayed with the type of integration pattern you
selected earlier.
7. Create mappings to map data between the source connection and the target
connection in the integration.
See: Creating Mappings and Lookups, page 6-1.
8. Once you complete the required tasks for the integration, click Save and then click
Exit Integration.
Overview
When you drag the Oracle E-Business Suite Adapter into the trigger or invoke area of
an integration, the Adapter Endpoint Configuration Wizard appears. This wizard
guides you through configuration of Oracle E-Business Suite Adapter endpoint
properties.
The following sections describe the wizard pages that guide you through configuration
of the Oracle E-Business Suite Adapter as a trigger or an invoke in an integration.
• Adding the Oracle E-Business Suite Adapter as a Trigger (Source) Connection, page
5-1
• Configuring an Oracle E-Business Suite Business Event in an Integration, page
5-4
For information about error messages if occur while adding the Oracle E-Business Suite
Adapter as a trigger (source) connection in an integration, see Error Messages While
Creating an Integration with Oracle E-Business Suite Adapter as a Trigger (Source)
Connection, page B-5.
Perform the following steps to add the Oracle E-Business Suite Adapter as a trigger
(source) connection in your integration:
1. In the Integration Designer, drag Oracle E-Business Suite from the Connections
panel on the left to the Trigger (Source) area on the canvas.
The Configure Oracle E-Business Suite Adapter Endpoint wizard appears.
2. In the Basic Info page, enter the following information for the Oracle E-Business
Suite Adapter Endpoint that you are creating:
• What do you want to call your endpoint? - Provide a meaningful name so that
others can understand the responsibilities of this connection, such as
"EBS_Source_event" or "EBS_Source_XML".
• What does this endpoint do? - Enter an optional description of the connection's
responsibilities, such as "Raise a business event" or "Use XML Gateway
message".
• What do you want to configure the endpoint for? - Select either one of the
interface types that you want to configure in your integration:
• Business Event
To configure the endpoint for business events, see: Configuring an Oracle
E-Business Suite Business Event in an Integration, page 5-4.
Click Next to proceed with the rest of the configuration for your integration.
• Product: Select a desired product name available from the selected product
family, for example, XML Gateway.
Once you select a desired product, a list of business events including Oracle
seeded events and custom ones contained in the selected product is populated
for further selection.
• Use the Filter by name field to find your desired event. For example, enter
"CLN" in this field to find the event names starting with "CLN".
Click Next.
3. The Summary page appears with the selected business event information.
The Oracle E-Business Suite Adapter Source Endpoint configuration is successfully
created with the selected event.
Click Done.
The connection for Oracle E-Businses Suite now appears in the Trigger (Source)
area on the canvas.
2. In the XML Gateway Message page, specify the following information for your
source connection:
• Product Family: Select a desired Oracle E-Business Suite application family that
you want to use for your integration, for example, Service Suite.
The available Oracle E-Business Suite application families from the drop-down
list are based on the Oracle E-Business Suite instance you are connecting.
• Product: Select a desired product name available from the selected product
family, for example, Telecommunications Billing Integrator.
Once you select a desired product, a list of XML Gateway message maps
including Oracle seeded message maps and custom ones contained in the
selected product is populated for further selection.
• XML Gateway Message: Locate a desired message map through either of the
following ways:
• Select a desired message map name from the drop-down list. For example,
select "Add Salesorder".
• Use the Filter by name field to find your desired map. For example, enter
"add" in this field to find the message map names starting with "add".
Click Next.
3. The Summary page appears with the selected XML Gateway message information
that you specified earlier. This includes the XML Gateway message name
XNB_OM_SALESORDER_OAG72_OUTfrom the selected "Service Suite" product
family and "Telecommunications Billing Integrator" product, as well as the "Request
Only" interaction pattern.
4. Click Done.
The connection for Oracle E-Businses Suite now appears in the Trigger (Source)
area on the canvas.
2. Select the XML Gateway responsibility and then select Define Trading Partners
from the navigator. The Define Trading Partner Setup form appears.
4. In the Trading Partner Details region, add the following information for the
trading partner:
• Connection/Hub: DIRECT
• Protocol: HTTPS
For more information on setting up trading partners, see Trading Partner Setup,
Oracle XML Gateway User's Guide.
2. In the Basic Info page, enter the following information for the Oracle E-Business
Suite Adapter target endpoint:
• What do you want to call your endpoint? - Provide a meaningful name so that
others can understand the responsibilities of this connection, such as
"EBS_CreateOrder".
• What does this endpoint do? - Enter an optional description of the connection's
Click Next.
3. In the Web Services page, specify the following information for your target
connection:
• Product Family: Select a desired Oracle E-Business Suite application family that
you want to use for your integration, for example, Order Management Suite.
The available Oracle E-Business Suite application families from the drop-down
list are based on the Oracle E-Business Suite instance you are connecting.
• Product: Select a desired product name available from the selected product
family, for example, Order Management.
Once you select a desired product family and a product, a list of the supported
interfaces including Oracle seeded and custom interfaces contained in the
selected product is populated for further selection.
• Use the Filter by name field to find your desired interface. For example,
enter "sales" in this field to find the interface names starting with "sales".
Click Next.
Once the desired method is selected, its corresponding REST service status is
displayed in the Service Status field.
• Ready to Use
This indicates that the selected method is deployed as a REST service operation
and it is ready to use in your integration.
• Not Deployed
If the selected method is not deployed as a REST service operation, then "Not
Deployed" is shown as the service status instead. A warning message also
appears, indicating that you must deploy the method as a REST service
operation first before using it in your integration.
To deploy the selected method as a REST service operation, you need to log in
to Oracle E-Business Suite as a user who has the Integration Administrator role.
Select the Integrated SOA Gateway responsibility and the Integration
Repository link from the navigation menu. Search and locate the selected
interface from the Integration Repository, and then deploy it as a REST service.
Only when the REST service is available in Oracle E-Business Suite, you can
proceed and complete the process of adding Oracle E-Business Suite as an
invoke (target) connection.
For information on deploying REST services, see Deploying REST Web
Services, Administering Native Integration Interfaces and Services chapter,
Oracle E-Business Suite Integrated SOA Gateway Implementation Guide.
Click Next.
5. The Summary page appears with the selected interface information. The Oracle
E-Business Suite Adapter Target Endpoint configuration is successfully created.
Click Done.
The connection for Oracle E-Businses Suite now appears in the Invoke (Target) area
on the canvas.
Once the Oracle E-Businses Suite invoke (target) connection is created, you can add an
application adapter as a trigger (source) connection to complete your integration
Overview
Sample Business Scenario
A business event "Event for OIP status update notification" (
oracle.apps.ont.oip.statuschange.update) is used in this example to explain
using the Oracle E-Business Suite Adapter to trigger an integration in Oracle Integration
Cloud Service.
In this example, when a sales order is booked as part of the business flow, Oracle Order
Management raises the event oracle.apps.ont.oip.statuschange.update, and
a draft invoice is created in Oracle Accounts Receivables.
At the design time, you need to create an integration called "Order to Invoice" with
Oracle E-Business Suite Order Management as a trigger (source) connected through the
Oracle E-Business Suite Adapter and Oracle E-Business Suite Accounts Receivables as
an invoke (target) connected through a generic REST Adapter. The "Order to Invoice"
integration will subscribe to this business event.
During the runtime, when the status of the sales order is changed in the order header,
the business event oracle.apps.ont.oip.statuschange.update is raised in
Oracle E-Business Suite Order Management which triggers the integration. If the status
of the sales order is "Booked", the order details information is fetched from Oracle
E-Business Suite Order Management. The Oracle E-Business Suite Adapter prepares
and propagates the order details as event payload from Order Management to invoke
the integration endpoint in Oracle Integration Cloud Service. As a result, the draft
invoice is created in Oracle Accounts Receivables.
Assumption
• Assume that REST services are directly accessible from Oracle Integration Cloud
Service; therefore, ICS Connectivity Agent is not used in this example.
4. Adding the Oracle E-Business Suite Adapter (Trigger) and the REST Adapter
(Invoke) to the Integration, page 8-12
• Deploy the Metadata Provider API with GET HTTP method for all the
methods contained in the API
• Grant the access privileges for all the methods contained in the API to the
operations user
• Deploy the Event Manager API with POST HTTP method for all the
methods contained in the API
• Grant the access privileges for all the methods contained in the API to the
operations user
For detailed instructions on these tasks, see: Setup Tasks for Enabling the Oracle
E-Business Suite Adapter, page 2-1.
2. Ensure that you perform the required setup tasks to enable the inbound (trigger or
source) integrations.
These tasks include storing the ICS user credentials in Oracle E-Business Suite FND
vault, setting up proxy URLs in Oracle E-Business Suite, and importing SSL
certificates to Oracle E-Business Suite. For detailed instructions, see: Setup Tasks for
Using the Oracle E-Business Suite Adapter as a Trigger (Source) Connection, page
2-5.
4. Ensure that the profile option "OM: Raise Status Change Business Event" is set to
Yes.
2. Deploy the Invoice Creation API as a REST service with the following requirements
and grant the desired method access privilege to the operations user:
• Deploy the Invoice Creation API with "invoice" as the service alias name
• Deploy the Invoice Creation API with POST HTTP method only for the "
Create Single Invoice" method contained in the API
• Grant the access privilege only for the Create Single Invoice method
contained in the API to the operations user
For information on deploying REST services, see Deploying REST Web Services,
Administering Native Integration Interfaces and Services chapter, Oracle E-Business
Suite Integrated SOA Gateway Implementation Guide.
For information on creating security grants for REST services, see Managing Grants
for Interfaces with Support for SOAP and REST Web Services, Administering
Native Integration Interfaces and Services chapter, Oracle E-Business Suite Integrated
SOA Gateway Implementation Guide.
• Creating the Connection for Oracle E-Business Suite Accounts Receivables, page 8-
6
5. Enter the following information for the Oracle E-Business Suite Order Management
connection:
• Connection Role: Select "Trigger and Invoke" role for this connection.
After you specify the required connection information, the "Order Management"
connection detail page appears.
7. Click Test to test the "Order Management" connection you just specified.
Click the Select button for "REST" to use the REST Adapter. The New Connection -
Information dialog appears.
5. Enter the following information for the Oracle E-Business Suite Accounts
Receivables connection:
• Connection Role: Select "Trigger and Invoke" role for this connection.
6. The Connection Details page is displayed for the "Receivables" connection you just
created. Enter additional connection details by specifying the following
information:
• Email Address: Enter an administrator's email address to receive notifications if
problems or changes occur in this connection.
7. Click Test to test the connection you just specified for Oracle E-Business Suite
Accounts Receivables.
Oracle E-Business Suite connection "Receivables" now appears in the Connections page.
4. The New Integration - Information dialog appears. Enter the following information:
• What do you want to call your integration? Enter a meaningful name for your
integration, such as "Order to Invoice".
• What does this integration do? Enter "Create an integration for order to
invoice" as the description for this integration.
To complete the integration, you need to add the following tasks that are described in
the next few sections:
• Add the desired connections to the integration you just created.
See: Adding the Oracle E-Business Suite Adapter (Trigger) and the REST Adapter
(Invoke) to the Integration, page 8-12.
• Add a switch with two branches. The defined branch is called "Booked Order"
which contains the major orchestration flow for the integration, the other branch is
the otherwise branch which is not used in this example.
• Add the Oracle E-Business Suite Adapter as an invoke activity called "Get_Order"
for the Oracle E-Business Suite Order Management instance.
This invoke activity uses the GET_ORDER operation of the Process Order
(OE_ORDER_PUB) REST service when adding the Oracle E-Business Suite Adapter
as an invoke. This service retrieves the sales order information.
• Add the REST Adapter as an invoke activity called "Create_Invoice" for the Oracle
E-Business Suite Accounts Receivables instance.
This activity configures a request payload using the XML schema file type and then
creates an invoice in Oracle Accounts Receivables through the invocation of the
CREATE_SINGLE_INVOICE REST service.
Adding the Oracle E-Business Suite Adapter as a Trigger with a Business Event
Perform the following steps to add the first activity called "Order_Status_Update" for
the Oracle E-Business Suite Order Management connection:
Dragging the Order Management Connection to the Center to Start the Integration
• What does this endpoint do? - Enter the description of this integration
endpoint.
• What do you want to configure the endpoint for? - Select Business Event.
3. In the Business Events page, specify the following information for your connection:
• Product Family: Select "Order Management Suite" from the drop-down list.
• Business Event: Select "Event for OIP status update notification" from the
populated list.
After you select an event name, the corresponding event information, including
internal name (oracle.apps.ont.oip.statuschange.update) and
description, is automatically populated in this page.
Click Next.
This action adds two rules allowing you to define routing expression branches for
your integration.
2. Click edit on the first rule. The Condition Builder page appears.
3. In the Condition Builder, enter the following information to create the condition:
All of Name = 'STATUS_CODE' and Value = 'BOOKED':
• Enter "Booked Order" as the Expression Name.
2. Drag and drop the Value element to the right top under the New Condition
section.
• Select = from the drop-down list.
Save your work. Click Exit Condition Builder to return to the integration.
Adding the Oracle E-Business Suite Adapter as an Invoke for the "Get_Order"
Activity
Perform the following steps to add the Oracle E-Business Suite Adapter as an invoke
connection:
1. Drag and drop the Oracle E-Business Suite connection "Order Management" from
the INVOKES toolbar on the left to the integration right after the Booked Order
rule.
The Configure Oracle E-Business Suite Adapter Endpoint wizard appears.
• What does this endpoint do? - Enter the description of this integration
Click Next.
3. In the Web Services page, specify the following information for your target
connection:
• Product Family: Select "Order Management Suite" from the drop-down list.
• API: Select "Process Order API" from the populated list for this example.
The corresponding API internal name (OE_ORDER_PUB) and description are
automatically populated.
Click Next.
4. The selected API internal name OE_ORDER_PUB appears in the Operations page.
In the Methods field, select a desired method name contained in the API. For
example, select "GET_ORDER". The corresponding service status value is displayed
in the Operations page, along with the description information.
Click Next.
5. The Summary page displays the selected API information. This includes the
selected product family name (Order Management Suite), product name (Order
Management), web service name (OE_ORDER_PUB), integration pattern
(Synchronous), operation name (GET_ORDER), and the operation status (Ready to
Use).
Click Done.
The "Get_Order" activity for Order Management now appears as part of the
integration flow, along with the "Get_Order" map icon where you can define the
mapping later. See: Creating Mappings, page 8-24.
• What does this endpoint do? - Enter the usage of this endpoint, such as
"Provide REST endpoint with input payload for invoice creation".
• What action does the endpoint perform? - Select "POST" from the drop-down
list.
• Configure a request payload for this endpoint - Select this check box
indicating that a request payload is required in this activity.
Click Next.
• Browse and select the sample XSD for the Create Invoice REST service.
For the sample XSD information, see Sample XSD for the Create_Invoice
Activity Used in the Business Event Example, page A-1.
• In the "Select the type of payload with which you want the endpoint to receive"
section, select the XML button as the payload type.
3. Click Next. This displays the Summary page with the following REST service
information that you specified earlier:
• REST Service URL: http://<host
name>:<port>/webservices/rest/invoice/create_single_invoic
e/.
• Method: POST
Click Done.
The Create_Invoice activity appears in the integration flow, listed as the last
activity in the Booked Order rule.
Similar to the "Get_Order" activity, the "Create_Invoice" map icon also appears
(along with the Create_Invoice activity) where you can define the mapping
later. See: Creating Mappings, page 8-24
Save the integration.
At the end of this step, the integration flow contains the activities added in this section.
Creating Mappings
Oracle E-Business Suite Business Event is defined by the WF_EVENT_T data structure.
After adding the required connections to the integration, you need to create the
following mappings to pass the required parameter values to the subsequent REST
services:
• Define mapping for Get_Order
2. In the Mapper page, the business event related elements are displayed in the Source
section, whereas the Get_Order related parameters are listed in the Target area. To
obtain the value of the sales order Header Id (P_HEADER_ID) included as part of
the event parameters and pass it to the subsequent Get_Order REST service, you
need to define the XSL expression for the P_HEADER_ID parameter.
3. Define the XSL expression for the P_HEADER_ID parameter by performing the
following tasks:
1. In the Target section, expand the GET_ORDER_Input node, and then the
InputParameters node. Click the P_HEADER_ID element to open the Build
Mappings page.
2. In the Mapping area of the Build Mappings page, notice that the
P_HEADER_ID element is displayed as the Target element.
4. Drag and drop the Value element from the Source section to the Mapping
section as the value for the P_HEADER_ID element.
5. Similarly, drag and drop the XSL element "if" and the Name element from the
Source section to the Mapping section to define the XSL expression <xsl:if
test="nssrcmpr:Name='HEADER_ID'">.
4. Perform the following tasks to assign constant values to the target elements:
1. In the Target section, expand the GET_ORDER_Input node, and then the
RESTHeader node.
Click the Responsibility element to open the Build Mappings page.
Similarly, use the same approach to assign appropriate values to the target elements
listed in the following table:
GET_ORDER_Input/InputP P_INIT_MSG_LIST F
arameters
After you complete the mappings for Get_Order, the mapped source values
should appear in the Mapping column of the Target section.
Similarly, use the same approach to assign appropriate values to the target elements
listed in the following table:
CREATE_SINGLE_INVOIC RespApplication AR
E_Input/RESTHeader
CREATE_SINGLE_INVOIC P_INIT_MSG_LIST T
E_Input/InputParameters
CREATE_SINGLE_INVOIC P_COMMIT T
E_Input/InputParameters
After you complete this step, the mapped source values should appear in the
Mapping column of the Target section.
Drag the HEADER_ID element from the Source section to the TRX_NUMBER
element in the Target section to map the data.
After the mapping, the source element HEADER_ID should appear in the Mapping
column next to the TRX_NUMBER element in the Target section.
4. Use the same approach, as described in the previous step, to add the following sets
of mappings for the line items:
Once you complete this step, the mapped source values should appear next to the
corresponding target elements with the green check mark icons:
The newly assigned mapping values should appear next to the corresponding
elements in the Target section.
2. From the Available Source Fields section, expand the BusinessEvent_Input node,
then the InputParameters node, and then the BusinessEvent node.
Drag and drop the Event Key element to the Tracking Field column in the table as
the primary Tracking field.
3. Click Done.
2. Select Order, Returns and then Sales Order from the navigation menu to open the
Sales Orders form.
4. Create a new Sales Order for customer "A.C. Networks" with the following
information:
• Customer: A.C. Networks
• Ship To Location: Provo (OPS) 3405 East Bay Blvd. Provo, UT 84606, US
• Bill To Location: Provo (OPS) 3405 East Bay Blvd. Provo, UT 84606, US
• Currency: USD
5. Select the Line Items tab to add the following line item:
• Ordered Item: AS54888
• Quantity: 1
• UOM: Each
In the design time, the "Order to Invoice" integration created earlier in Oracle
Integration Cloud Service will subscribe to this business event. At runtime, since the
order status is changed to "Booked", Oracle Order Management will raise the business
event which triggers the integration in Oracle Integration Cloud Service. The order
details information is fetched from Oracle E-Business Suite Order Management and
passed as event payload to create the invoice in Oracle Accounts Receivables.
Monitoring the Result in Oracle Integration Cloud Service
1. Log in to Oracle Integration Cloud Service.
On the Integration Cloud Service toolbar, click Monitoring.
4. Click "Event Key" to display the flow diagram of the integration instance.
This page provides the instance tracking information. Notice that the status of this
instance is "Completed" indicating that the integration is executed successfully. You
can verify if there is any error occurred if desired.
Overview
Sample Business Scenario
When a purchase order is approved in the Oracle E-Business Suite Purchasing
application, a process purchase order XML message should be sent from Oracle
E-Business Suite to Oracle Integration Cloud Service.
In this example, an XML Gateway message "Purchase Order XML message" from
Oracle Purchasing is used as a trigger (source) to explain using the Oracle E-Business
Suite Adapter to trigger an integration in Oracle Integration Cloud Service. The Oracle
E-Business Suite Adapter is used to connect to the Oracle Purchasing instance.
Additionally, you need to configure the trading partner in Oracle XML Gateway to send
the outbound XML message from Oracle E-Business Suite to the integration endpoint in
Oracle Integration Cloud Service.
At runtime, when an order is approved, if the supplier or trading partner is configured
to receive the outbound XML message for Process Purchase Order, Oracle E-Business
Suite Purchasing will trigger the integration and initiate XML Gateway outbound
processing to send the process order XML message from Oracle E-Business Suite to
Oracle Integration Cloud Service.
Using XML Gateway Messages for Integrations in Oracle Integration Cloud Service
Based on the business scenario, the following tasks are included in this section:
1. Preparing the Oracle E-Business Suite Instances Purchasing Instance, page 9-2
4. Adding the Oracle E-Business Suite Adapter as a Trigger (Source) Connection, page
9-7
4. Deploy the Metadata Provider API as a REST service with the following
requirements and grant the method access privileges to the operations user:
• Deploy the API with "provider" as the service alias name
• Deploy the API with GET HTTP verb for all the methods contained in the API
For information on deploying REST services, see Deploying REST Web Services,
Administering Native Integration Interfaces and Services chapter, Oracle E-Business
Suite Integrated SOA Gateway Implementation Guide.
For information on creating security grants for REST services, see Managing Grants
for Interfaces with Support for SOAP and REST Web Services, Administering
Native Integration Interfaces and Services chapter, Oracle E-Business Suite Integrated
SOA Gateway Implementation Guide.
• Identifier: Accept the default identifier for your Oracle E-Business Suite
connection, such as "PURCHASING".
• Connection Role: Select "Trigger and Invoke" role for this connection.
Click Create to create the connection. The Connection Details page is displayed for
the "Purchasing" connection.
Creating an Integration
This section provides the instructions on creating an integration called "PROCESS PO"
with the "Publish To ICS" integration pattern. This pattern allows you to add the Oracle
E-Business Suite Purchasing connection specified earlier as a trigger in the integration.
Perform the following steps to create an integration:
1. In the Integration Cloud Service toolbar, click Designer.
4. The New Integration - Information dialog appears. Enter the following information:
• What do you want to call your integration? Enter "PROCESS PO" as the
integration name.
• What does this integration do? Enter description information for your
integration, such as "Create an integration for processing a purchase order in
Oracle Purchasing".
To complete the integration, you need to add the following tasks that are described in
the next few sections:
• Add the desired connections to the integration you just created.
See: Adding the Oracle E-Business Suite Adapter as a Trigger (Source) Connection,
page 9-7.
• What does this endpoint do? - Enter "Process a purchase order in Oracle
E-Business Suite".
• What do you want to configure the endpoint for? - Select XML Gateway Map.
Entering the Basic Information for the Adapter Endpoint with XML Gateway Message
Click Next to proceed with the rest of the configuration for your integration.
4. In the XML Gateway Message page, specify the following information for your
trigger (source) connection:
• Product Family: Select "Procurement" from the product family.
Click Next.
5. The Summary page appears with the selected XML Gateway message information
that you specified. This includes the XML Gateway message name
itg_process_po_007_out from the selected "Procurement" product family and
the "Internet Procurement Enterprise Connector" product, as well as the "Request
Only" interaction pattern.
2. From the Available Source Fields section, expand the XmlGateway_Input node,
then the PROCESS_PO_007 node, then the DATAAREA node, then the
PROCESS_PO node, and then the POORDERHDR node.
Drag the POID element to the Tracking Field column in the table.
The POID is displayed in the Tracking Field with a green check mark next to it in
the table.
3. Click Done.
This recorded integration endpoint URL will be used as the protocol address value
when defining a trading partner in the post integration configuration, as described in
Configuring Trading Partner Information for Post Integration, page 9-13.
2. Select the XML Gateway responsibility and then select Define Trading Partners
from the navigation menu. The Define Trading Partner Setup form appears.
3. In the Trading Partner Setup form, search and locate the desired trading partner
called "Advanced Network Devices".
4. In the Trading Partner Details region, add the following information for the trading
partner:
• Direction: OUT
• Map: itg_process_po_007_out
• Connection/Hub : DIRECT
• Protocol: HTTPS
• Protocol address:https://<ICS
Host>:<Port>/integration/flowapi/rest/PROCESS_PO/v01/
Enter the integration endpoint URL you recorded earlier.
2. In the Purchase Orders form, create a new purchase order for the configured
trading partner or supplier called "Advanced Network Devices" with the following
information:
• Supplier: Advanced Network Devices
• Item: AS10000
• UOM: Each
• Quantity: 1
• Price: 1
4. Click Save.
Purchase order is created with "Incomplete" status.
5. Click Approve.
The Approve Document form appears.
6. In the Approval Details tab, select the "Submit for Approval" check box and ensure
that the XML button is selected in the Transmission Method region.
Click OK. The order status is now updated from "Incomplete" to "Approved".
This status change will internally trigger the XML Gateway engine for outbound
transactions. Additionally, it will trigger the "PROCESS PO" integration you created
in Oracle Integration Cloud Service.
Overview
To better understand how to use Oracle E-Business Suite services in Oracle Integration
Cloud Service, this chapter describes an integration example through the use of Oracle
E-Business Suite Adapter as an invoke (target) connection.
Sample Business Scenario
Take a PL/SQL API called Sales Order Services (OE_INBOUND_INT) as an example to
explain the integration between the Oracle E-Business Suite Adapter and a trigger
(source) connection in Oracle Integration Cloud Service.
In this example, the Oracle E-Business Suite Adapter is used as an invoke (target)
connection for service invocation, and the REST Adapter is used as a trigger (source)
connection to provide a REST request. When the Oracle E-Business Suite Adapter
receives the request message with input payload for order creation from the trigger
(source) connection, the OE_INBOUND_INT REST service in Oracle E-Business Suite is
invoked to create the order.
Once the integration is successfully executed at runtime, a sales order will be created in
Oracle E-Business Suite.
Using Oracle E-Business Suite REST Services for Integrations in Oracle Integration
Cloud Service
Based on the integration scenario, the following tasks are included in this section:
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-1
1. Establishing the Connections for Oracle E-Business Suite and REST Services, page
10-2
Creating an Oracle E-Businss Suite Connection with Oracle E-Business Suite Adapter
Perform the following steps to establish the connection for Oracle E-Businss Suite in
Oracle Integration Cloud Service:
1. Log in to Oracle Integration Cloud Service.
In the Integration Cloud Service toolbar, click Connections.
• Connection Role: Select "Trigger and Invoke" role for this connection.
4. Click Configure Connectivity to open the Connection Properties dialog where you
enter a URL (http://<ebs host name>:<port>) to connect to an Oracle
E-Busiess Suite instance.
Click OK to save your work.
6. Click Configure Agents to display the Select an Agent group dialog. A list of
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-3
available agent groups is automatically populated for your selection.
Select a desired agent group, such as "EBS", and click Use to enable the selection.
7. After you specify the connection information for "EBS1225", the connection details
page is displayed.
8. Click Test to test the connection you just specified for Oracle E-Business Suite.
The Oracle E-Business Suite connection "EBS1225" now appears in the Connections
page.
Creating an Connection for REST Services
Perform the following steps to create an connection for REST APIs:
2. Scroll down and select "REST" from the dialog. You can optionally use the search
feature to enter a full or partial name to locate the REST Adapter from the dialog.
Click the Select button for "REST" to create an connection through the REST
Adapter.
5. Click Configure Connectivity to open the Connection Properties dialog where you
select "REST API Base URL" as the Connection Type and enter a connection URL (
http://<ebs host name>:<port>/webservices/rest/orderMgmt) to
connect to an instance for REST services.
7. Click Test to test the connection you just specified for REST services.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-5
Click Exit Connection.
The "GenericREST" connection for REST services appears in the Connections page,
along with the Oracle E-Business Suite connection "EBS1225" that you created earlier.
Creating an Integration
Perform the following steps to create an integration between REST services and Oracle
E-Business Suite:
1. In the Integration Cloud Service toolbar, click Designer.
4. Click Select for the "Map My Data" integration pattern to create an integration with
a blank source and target.
5. The New Integration - Information dialog appears. Enter the following information:
• What do you want to call your integration? Enter "Create Order" as the name.
• What does this integration do? Enter description information for your
integration, such as "Create a sales order in Oracle E-Business Suite".
To complete the integration, you need to add the following tasks that are described in
the next few sections:
• Add the desired connections to the integration you just created.
See:
• Adding the Oracle E-Business Suite Adapter as an Invoke (Target) Connection,
page 10-8
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-7
See: Assigning Business Identifier for Tracking, page 10-25.
2. In the Integration Designer, drag EBS1225 from the Connections panel on the right
to the Target area on the canvas.
The Configure Oracle E-Business Suite Adapter Endpoint wizard appears.
3. In the Basic Info page, enter the following information for your endpoint:
• What do you want to call your endpoint? - Enter "EBS_Reference".
• What does this endpoint do? - Enter "Create a Sales Order in Oracle E-Business
Suite".
Click Next.
4. In the Web Services page, specify the following information for your target
connection:
• Product Family: Select "Order Management Suite" from the drop-down list.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-9
Selecting a Product Family and Product for a Web Service
After you select a desired product family and a product, a list of PL/SQL APIs
including Oracle seeded APIs and custom ones contained in the selected product
"Order Management" is populated for further selection.
Select a desired API name, such as "Sales Order Services". The corresponding API
internal name (OE_INBOUND_INT) and description are automatically populated.
Click Next.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-11
Selecting the "PROCESS_ORDER" Method in the Operations Page
Click Next.
6. The Summary page displays all the selected interface details. This information
includes the selected "PROCESS_ORDER" operation (with "Ready to Use" status)
contained in the "OE_INBOUND_INT" web service from the Order Management
Suite product family and Order Management product. This page also displays the
default interaction pattern "Synchronize" and security policy "Username Token" for
the selected service.
The connection for Oracle E-Businses Suite now appears in the Invoke (Target) area on
the canvas.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-13
Showing the Oracle E-Businses Suite Connection in the Invoke Area
2. Drag GenericREST from the Connections panel on the right to the Trigger (Source)
area on the canvas.
The Configure Oracle REST Endpoint wizard appears.
• What does this endpoint do? - Enter the usage of this endpoint, such as
"Provide REST endpoint with input payload for sales order creation".
• What action does the endpoint perform? - Select "POST" from the drop-down
list.
Ensure that you select the following two check boxes for this trigger (source)
connection:
• Configure a request payload for this endpoint
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-15
Entering the REST Adapter Endpoint Details in the Basic Info Page
Click Next.
• In the "Select the type of payload with which you want the endpoint to receive"
section, select the JSON button as the payload type.
Click Next.
5. In the Response page, select the JSON Sample button for this example.
Similar to the request, the response payload type can be either XML schema or
JSON format.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-17
Specifying the Response Payload Details in the Response Page
Click Browse to select a desired request payload file, such as "response.json". Click
Open to attach the selected file.
For the sample response payload, see Sample JSON Payloads for the Oracle
E-Business Suite Adapter as an Invoke Example, page A-3.
In the "Select the type of payload with which you want the endpoint to reply"
section, select the JSON button as the payload type.
6. Click Next.
This displays the Summary page with the following REST service information that
you specified earlier:
• REST Service URI: /process_order/
• Method: POST
Click Done.
Click Save to save your work. The GenericREST connection now appears in the
Trigger (Source) area on the canvas, along with the "EBS1225" displayed in the
Invoke (Target) area.
Creating Mappings
This step is to create mappings between the source and target data structures in the
integration. It includes the following three mappings:
• Map the data for the request message
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-19
Creating the Mapping for the Request Message
2. In the Mapper page, create the mappings between the source and target elements:
• In the Source section, expand the execute node, then the request-wrapper node,
then the PROCESS_ORDER_Input node, and then the InputParameters node.
Select the P_API_VERSION_NUMBER element.
• In the Target section, expand the PROCESS_ORDER_Input node, and then the
InputParameters node.
Select the P_API_VERSION_NUMBER element.
Similarly, use the same approach to complete the mappings for the elements listed
in the following table.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-21
Source Path Source Element Target Path Target Element
Notice that a green check mark icon appears for the element that has a mapping
created. Additionally, the mapped data appears in the Mapping column of the
Target section.
2. In the Mapper page, create mappings to map the source and target elements.
• In the Source section, expand the PROCESS_ORDERResponse node, and then
the OutputParameters node.
Select the X_RETURN_STATUS element.
3. Use the same approach to complete the mappings for the elements listed in the
following table.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-23
Displaying Mapped Fields in the Mapping Column
Drag the errorCode element from the Source section to the errorCode element in
the Target section to map the data.
5. Use the same approach to complete the mappings for the elements listed in the
following table.
6. Click Save to save your work, and then click Exit Mapper.
The mappings for the request, response, and fault are all created successfully.
Click Save to save your work.
2. From the Available Source Fields section, drag the payload field that you want to
track to the Tracking Field column.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-25
For example, drag the INVENTORY_ITEM_ID element from the Available Source
Fields section to the Tracking Field column in the table.
Enter "item" as the Tracking Name for the INVENTORY_ITEM_ID element.
3. Click Done.
Save your work and then click Exit Integration.
Notice that the status of the "Create Order" integration changes to ACTIVE
indicating that the integration is ready to use at runtime.
An Example of Using the Oracle E-Business Suite Adapter as an Invoke (Target) in an Integration 10-27
Oracle E-Business Suite.
Sample XSD for the Create_Invoice Activity Used in the Business Event
Example
The following information shows the sample xsd used for the Create Invoice REST
service. This service is added through the REST Adapter for the business event example
described earlier. For information on how to use this sample xsd in an integration, see:
Adding the Oracle E-Business Suite Adapter (Trigger) and the REST Adapter (Invoke)
to the Integration, page 8-12.
Overview
This appendix describes the error messages if occur at the design time while testing an
Oracle E-Business Suite connection and while creating an integration with an Oracle
E-Business Suite Adapter connection in Oracle Integration Cloud Service. The possible
resolutions are also included in this appendix.
• Error Messages While Testing an Oracle E-Business Suite Connection, page B-1
• Error Messages While Creating an Integration with Oracle E-Business Suite Adapter
as a Trigger (Source) Connection, page B-5
• Error Messages While Creating an Integration with Oracle E-Business Suite Adapter
as an Invoke (Target) Connection, page B-5
Please select a Business Event to proceed. If no If no Business Event is selected in the Business
events are listed, select another Product / Events page, after you click Next, this error
Product family. occurs.
Please select a XML Gateway Map to proceed. If no XML Gateway map is selected in the
If no maps are listed, select another Product / XML Gateway Message page, after you click
Product family. Next, this error occurs.
Empty set of values appear in the drop down This error occurs when the Metadata Provider
during the Product Family selection. API in Oracle E-Business Suite only has the
"isActive" method deployed, but the rest of all
methods in the API are not deployed.
Service is not deployed as a REST service in This error occurs when the selected interface is
Oracle E-Business Suite. To use this service, not deployed as a REST service.
deploy it from Integration Repository of
Oracle E-Business Suite. Contact Oracle Ensure that you deploy the selected interface
E-Business Suite Integration Administrator. as a REST service. For information on
deploying an interface as a REST service, see
step 3 as described in Setup Tasks for
Enabling the Oracle E-Business Suite Adapter,
page 2-1.
The application has encountered an This error occurs when any of the Metadata
unexpected error. Please check the application Provider API methods (such as getInterfaces,
connection details and credentials, and retry getMethods, getProducts) except the
your request. "isActive" method are deployed but do not
have grants created.
Index-1
Order Management Instance, 8-2 Testing and Validating the Integration, 9-15
S
Sample Payloads
Sample JSON Payload , A-3
Sample XSD for Create_Invoice, A-1
Setting Up Oracle E-Business Suite Adapter
Enabling Oracle E-Business Suite Adapter, 2-1
Setup Tasks for SSL, 2-5
Tasks for Outbound Integrations from Oracle
E-Business Suite, 2-5
Setting Up Oracle E-Business Suite Adapter
overview, 2-1
Setup Tasks for Using Oracle E-Business Suite as
a Trigger
Setup Tasks for XML Gateway Messages as a
Trigger, 5-10
U
Use Example for Oracle E-Business Suite
Adapter as Trigger
Creating an Integration, 8-10
Use Example for Oracle E-Business Suite
Adapter as Trigger
Activating and Testing the Integration, 8-33
Adding Trigger and Invoke, 8-12
Creating Mappings, 8-24
Establishing the Connections for Publishing
Business Events, 8-4
Overview, 8-1
Preparing the Oracle E-Business Suite
Instances, 8-2
Tracking, 8-33
X
XML Gateway Message Use example
Activating the Integration, 9-12
Adding the Oracle E-Business Suite Adapter
as a Trigger, 9-7
Configuring Trading Partner Information, 9-13
Creating an Integration, 9-5
Establishing the Connection, 9-3
Overview, 9-1
Preparing Purchasing Instance, 9-2
racking, 9-11
Index-2