Summary:
In this blog i'm going to explain the procedure to create SOAP web service using Oracle Integration Cloud - Integrations (ICS). In practical scenario such SOAP based web services are useful if the underlying interfaces need to be exposed as a service to consumers over http, i.e. for example if the database table or stored procedure or function need to be exposed as a service then this could be achieved using Integrations.
We are going to create a SOAP web service in this blog which will accept first name and second name of user and output will be greeting as described below
INPUT : <first name>
<second name>
OUTPUT : Hello <first name second name>
Assumption:
1. OIC instance already configured in Oracle Cloud and the environment should be up and running
2. Login user has at- least developer privilege for OIC.
3. SOAP trigger connection is already created and available. (Refer here for connection creation)
Steps:
1. Goto 'Integrations' page in Oracle Integration Cloud with the help of below navigation.
a. Login to OIC instance (e.g: <host:port>/ic/home/)
b. Click on Integrations from the home menu (i.e. if landed on to OIC homepage post login)
c. Click on 'Designer' from the menu
d. Click on 'Integrations' from the menu
2. Click on Create button on the right top corner of the screen as shown below
3. Select 'App Driven Orchestration' from the popup screen as shown below and then click on 'select' button
4. Give meaningful 'Name' for integration, 'Identifier' (auto populated by OIC), 'Version' (as per versioning need of project), 'Description' (In short summary of what integration does) and 'Package' (it is like to bundle all the integrations related to one module under one tree or package i.e. similar to creating partition in Oracle SOA) as shown below
5. Click on the '+' icon at the top of screen and select the trigger connection which will be used to expose the integration as SOAP web service as shown below
6. In the pop up screen give some meaningful name for the connection and then click on next -> next -> Done
7. The flow will look similar to as shown in below screenshot
8. Click on 'Map' activity in the flow and map output as concatenation of Hello, First name and Second Name
9. Click on the hamburger menu on the right top corner of the screen and select 'Tracking' as shown below
10. Map first name to tracking 1 and second name to tracking 2 variables as shown below (Those variable are used as sensors for monitoring any transactions)
11. Click on save and close the Integration page.
12. Drag the toggle switch towards right in order to 'Activate' the integration
13. Click on 'Activate' button as shown below
14. Wait for 10 seconds and refresh the integration layout. The WSDL URL for the web service is obtained by clicking on the icon as shown below
15. Copy the WSDL URL and test the service from SOAP UI or any of your preferred tool and validate the service built as shown below
Hope this blog helped you in building SOAP Web Service using Oracle Integration Cloud.
Let me know in comments section for any queries.
Know Yourself Blogs...
In this blog i'm going to explain the procedure to create SOAP web service using Oracle Integration Cloud - Integrations (ICS). In practical scenario such SOAP based web services are useful if the underlying interfaces need to be exposed as a service to consumers over http, i.e. for example if the database table or stored procedure or function need to be exposed as a service then this could be achieved using Integrations.
We are going to create a SOAP web service in this blog which will accept first name and second name of user and output will be greeting as described below
INPUT : <first name>
<second name>
OUTPUT : Hello <first name second name>
Assumption:
1. OIC instance already configured in Oracle Cloud and the environment should be up and running
2. Login user has at- least developer privilege for OIC.
3. SOAP trigger connection is already created and available. (Refer here for connection creation)
Steps:
1. Goto 'Integrations' page in Oracle Integration Cloud with the help of below navigation.
a. Login to OIC instance (e.g: <host:port>/ic/home/)
b. Click on Integrations from the home menu (i.e. if landed on to OIC homepage post login)
c. Click on 'Designer' from the menu
d. Click on 'Integrations' from the menu
2. Click on Create button on the right top corner of the screen as shown below
3. Select 'App Driven Orchestration' from the popup screen as shown below and then click on 'select' button
4. Give meaningful 'Name' for integration, 'Identifier' (auto populated by OIC), 'Version' (as per versioning need of project), 'Description' (In short summary of what integration does) and 'Package' (it is like to bundle all the integrations related to one module under one tree or package i.e. similar to creating partition in Oracle SOA) as shown below
5. Click on the '+' icon at the top of screen and select the trigger connection which will be used to expose the integration as SOAP web service as shown below
6. In the pop up screen give some meaningful name for the connection and then click on next -> next -> Done
7. The flow will look similar to as shown in below screenshot
8. Click on 'Map' activity in the flow and map output as concatenation of Hello, First name and Second Name
9. Click on the hamburger menu on the right top corner of the screen and select 'Tracking' as shown below
10. Map first name to tracking 1 and second name to tracking 2 variables as shown below (Those variable are used as sensors for monitoring any transactions)
11. Click on save and close the Integration page.
12. Drag the toggle switch towards right in order to 'Activate' the integration
13. Click on 'Activate' button as shown below
14. Wait for 10 seconds and refresh the integration layout. The WSDL URL for the web service is obtained by clicking on the icon as shown below
15. Copy the WSDL URL and test the service from SOAP UI or any of your preferred tool and validate the service built as shown below
Hope this blog helped you in building SOAP Web Service using Oracle Integration Cloud.
Let me know in comments section for any queries.
Know Yourself Blogs...
No comments:
Post a Comment