Oracle Integration Cloud Service: Lab Guide - ICS Hello World
Oracle Integration Cloud Service: Lab Guide - ICS Hello World
Page 1 of 35
Contents
Prerequisites............................................................................................................................................................................ 3
Create Hello World Integration Flow ....................................................................................................................................... 3
Enrich Hello World Integration Flow..................................................................................................................................... 26
Test Cloned Integration......................................................................................................................................................... 34
Monitoring ............................................................................................................................................................................ 34
Page 2 of 35
Prerequisites
SOAP UI tool should be installed to test end to end integration flows.
Install SOAP UI
Install SOAPUI client from below location.
http://www.soapui.org/Downloads/soapui-nightly-builds.html
Objective
This lab explains the process of creating a basic integration. The lab introduces to the ICS user interface and shows how
to:
The flow that is created follows a request-response pattern. A source application issues a request to retrieve data from a
target application via Integration Cloud Service (ICS) and receives an immediate response.
Note: Since there are multiple attendees sharing a single ICS environment, please use the
<ClassID> <StudentID> information (will be provided to you by the instructor) as a suffix to uniquely identify following
integration artifacts:
Connections
E.g. If your <ClassID> is 06 and your <StudentID> is 29, then you will name your connection as
RightNow Conn 06 29
Integration flows
E.g. If your <ClassID> is 06 and your <StudentID> is 29, then you will name your integration flows as
Account Sync 06 29
Page 3 of 35
2. Click the Connections link
3. Click “Create” button and select “SOAP” Adapter(If you are not able to find, search for SOAP as per the screen given
below)
Page 4 of 35
4. Enter the following information into the New Connection - Information dialog box:
Field Enter
Page 5 of 35
Click on Create button.
7. In the “Security” section click on “Configure Security” button. Select the Security Policy as “No Security Policy” and
Click OK.
Page 6 of 35
8. Click on “Test” at the top right corner. And then click on Test on Confirmation window. If the connection is tested
successfully you will observe the connection completion shows up as 100%. Also you will observe a message “The
connection test was successful”.
10. Click the Integrations link at the top left corner of the ICS console UI:
11. Click on New Integration button and select “Map Data” option on the following window.
Page 7 of 35
12. Enter the following information into the New Integration Information dialog box:
Field Enter
Page 8 of 35
13. Click on the Create button.
14. Drag the “Greetings <ClassID> <StudentID>” (e.g. Greetings 06 29) SOAP connection icon over the trigger area.
15. Fill in the Configure a SOAP Endpoint wizard page with the following information:
Field Enter
Page 9 of 35
16. Click “Next”. Since there is only one “Port Type” and “Operation” they are shown selected automatically in this step.
Page 10 of 35
17. Click “Next”. Keep the default values and click “Next”. The Summary page shows the information configured till now
in the wizard.
Page 11 of 35
18. After reviewing the information click “Done”. Save your work by clicking on save icon. Exit canvas, to do next
steps.
What you have modeled serves as the web service interface for the integration flow so that external applications
can invoke this integration flow. Save and exit the integration flow.
19. Go back to the home page by click on Integration Cloud Home icon
20. Click the Designer link at the top left corner of the ICS console UI:
Page 12 of 35
22. Click “Create” button and select “SOAP” Adapter
23. Enter the following information into the New Integration Information dialog box:
Field Entry
e.g. SayHello 06 29
26. In the “Security” section click on “Configure Security” button. Select the Security Policy as “No Security Policy” and
Click OK.
Page 13 of 35
27. Click on “Test” at the top right corner and click on Test button again on Confirmation window. If the connection is
tested successfully you will observe the connection completion shows up as 100%. Also you will observe a message
“The connection test was successful”.
28. Now click on Integrations, click on “Hello World <ClassID> <StudentID>” (e.g. Hello World 96 06)Integration flow.
Page 14 of 35
29. Now search for “Say Hello <ClassID> <StudentID>” (e.g. Say Hello 06 29) connection in the Connections palette.
Drag and drop the “Say Hello 06 29” connection on to the invoke/target side of the integration flow.
30. Provide value for “What do you want to call your endpoint?” as “SayHello”.
31. Click on Next. Select the “Say Hello” operation as shown below.
Page 15 of 35
32. Click on Next and click Next. The summary page shown as below.
Page 16 of 35
33. Click on Done. After Configuring SOAP connections on trigger/source and Invoke/Target side your Integration Flow
should look something like this
This invoke/target SOAP Service is a web service endpoint – typically you will be using to connect to SaaS or on-
premises applications with which you want to integrate.
34. Next, map the message received from the trigger/source to a form that the invoke/target web service understands.
This is achieved through data mapping. To model this click on the Request Mapping button to invoke the mapper.
35. Map the following trigger/source field to the corresponding invoke/target field.
GreetRequest/FirstName sayHello/name
36. Drag the trigger/source field over the invoke/target field, aligning the text of the trigger/source field with the text of
the invoke/target field. When the mapping is successful, the UI looks like this:
Page 17 of 35
38. Map the response message. Click on the Response Mapping button to invoke the mapper.
sayHelloResponse/sayHelloReturn GreetResponse/Greeting
40. Drag the trigger/source field over the invoke/target field, aligning the text of the trigger/source field with the text of
the invoke/target field. When the mapping is successful, the UI looks like this:
Page 18 of 35
42. After configuring the mapping of objects, it should appear as below.
44. Configure the Business Identifier to track your message. Click on Actions menu(below Save option) and click on
Tracking menu item.
45. Drag and Drop the FirstName to the Tracking Field column, as shown below.
46. Change the name for the tracking field, if required. Click Done.
47. Note that Flow Progress Indicator shows that the integration is 100% complete.
Page 19 of 35
48. Click Save and click on Close.
49. Observe that integration status is shown as “Pending Activation”. That means the flow is ready for the activation.
Page 20 of 35
53. Click on the Info icon to verify that the Generic Web Service inbound SOAP endpoint is up and running. Note that
The endpoint URL you see may be different from what you see below. Please copy this URL to use in testing the ICS
endpoint using SOAP UI.
b. Provide the project name and the endpoint URL you have copied in the previous step. Click on OK, this
should create a client project that will trigger ICS flow.
Page 21 of 35
c. Expand HelloWorldGreeting-bindingGreeting>Request1
d. Now you should add basic authentication using credentials. Select Auth tab in the Request1 window. Select
Add New Authorization option.
Page 22 of 35
e. Select Basic from the pop-up dialog box. Click OK.
g. Right click on the request pay load area and select “Add WSS UserName Token” option. Select “Specify
Password Type” to Password Text.
Page 23 of 35
This should add WSS security header to the soap request, it should appear as below.
h. Right click on the request payload area and select “Add WS-Timestamp”. Provide a value for e.g. 10000.
Page 24 of 35
i. Test the service. Click on button and execute the request. You should see a response as below.
Summary
This lab guided you through the process of creating your first integration flow using Integration Cloud Service. The lab
introduced you to the ICS user interface and guided you how to:
Page 25 of 35
Enrich Hello World Integration Flow
Objective
In this lab, you will customize the HelloWorld integration flow to enrich the response message. You will be adding
timestamp details to the response message.
Clone an Integration
You are ready to clone the Hello World integration you have created. Cloning an integration flow creates a new copy
with identical connections and data mappings. You give the cloned integration a new name and version number, but the
remaining configuration is same. You can customize the cloned integration after you create it.
Field Enter
Package Name
Page 26 of 35
The cloned integration is displayed at the top. Note that it is not activated.
Page 27 of 35
3. Click the integration to begin customizations. For this example, we will add response enrichment to the
integration flow.
2. From the Technologies palette, drag the “Say Hello <ClassId> <StudentId>” (e.g. Say Hello 06 29 SOAP
Page 28 of 35
The dialog is displayed for creating the enrichment response SOAP web service.
3. Provide the following information and click Next.
Field Enter
Page 29 of 35
You will get a message “This will invalidate any impacted mapping(s). Are you sure you want to continue?”
Select Yes and proceed further.
5. Click Save.
Drag the trigger/source field over the invoke/target field, aligning the text of the trigger/source field with the
text of the invoke/target field. If the mapping is successful, the UI looks like this:
Page 30 of 35
3. Click Validate, then click Close. The Response Enrichment Mapping icon is displayed in green, indicating that it
has been configured.
4. Click the Response Mapping icon and delete the old mapping.(If the mapping was not deleted in previous step)
5. Click the Response Mapping icon to invoke the mapper again. This mapper requires updates because of the
enrichment response mapping you performed.
Page 31 of 35
visitTimestampResp > respMsg
Drag the trigger/source field over the invoke/target field, aligning the text of the trigger/source field with the
text of the invoke/target field. If the mapping is successful, the UI looks like this:
7. Click Validate , then click Close. The Response Mapping icon is displayed in green, indicating that it has been
configured.
10. Select the Enable tracing checkbox, select Include Payload checkbox and click Activate to confirm. As shown in
the following dialog.
Page 32 of 35
The status of the integration is changed to Active TRACE ENABLED. This will allow you to have visibility to the
message logs in the Monitoring screens as the messages are processed through ICS.
11. Click the information icon to display details about the integration. The endpoint URL listed here is required for
testing the integration.
Page 33 of 35
Test Cloned Integration
Please follow the steps that are provided in detail in Lab1. High level steps are given here…
1. Create a SOAPUI project using the above end point URL of the ICS service.
2. Create a SOAPUI project using the WSDL endpoint.
a. Edit the payload by adding value to the FirstName.
b. Add basic authentication using credentials provided to you.
c. Add Timestamp Details
d. Test the service.
Monitoring
1. Return to the Oracle Integration Cloud Service user interface.
Page 34 of 35
2. Click Monitoring in the upper left corner. Details about the Hello World Enrichment integration are displayed
along with any other integrations you have activated:
Summary
In this lab, you have learnt how to:
Clone an integration
Enrich a message with a SOAP web services
Map data between the data structures of each web service
Page 35 of 35