- 3,740,600 Users
- 2,248,280 Discussions
- 7,861,338 Comments
- 17.8K All Categories
- 3.3K Industry Applications
- 3.2K Intelligent Advisor
- 59 Insurance
- 533.5K On-Premises Infrastructure
- 137.4K Analytics Software
- 38.5K Application Development Software
- 5.1K Cloud Platform
- 109K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 70.7K Infrastructure Software
- 105K Integration
- 41.5K Security Software
Oracle PCS and ICS in Concert
This is the final part of the blog post - "Business Process Orchestration and Integration in Cloud using Oracle PaaS" emphasizing on the high level steps to invoke the ICS integration from the business process via SOAP connector, deploying, executing and tracking the business process instances. While the Part-1 discussed about business processes in PCS, REST connector and Human task configurations, the Part-2 detailed about developing integration flow in Oracle Integration Cloud service (ICS) and creating/configuring connectors for on-premise web services.
Create and configure SOAP connector
As depicted in Figure: 3, the activity “Call ICS” is a service call to an ICS integration exposed as a SOAP endpoint. PCS provides a “SOAP connector” that can be configured to call a SOAP service. The following diagrams show how to create and configure a SOAP connector.
Click on the “Connectors” link on the left panel and select “New Web Service Connector” as shown below:
Figure 41: Add Service Connector
In the “Add service connector” wizard that opens up, select “Upload from File” option, choose the WSDL file of ICS integration (downloaded as specified in Figure: 40 of Part-2). Specify the name for the connector and also configure the security attributes as shown below:
Note: For the process in PCS to be able to invoke the ICS integration, it should be authenticated. This example uses App Id- Basic Auth security policy. This username/password pair is stored in a Credential store configured under Administration page in PCS console as shown in Figure: 43
Figure 42: Configure SOAP connector
Navigate to the PCS home page and select “Configure” icon to create a new credential store. Click on “Add new Credential” as shown in the following diagram, specify the key name and provide the username and password. These credentials can be used when configuring the connection’s security by mentioning the key name.
Figure 43: Manage Credentials
Implement “Call ICS” activity of Funds Transfer process
Now that the SOAP connector has been successfully configured to connect to the ICS integration, use this SOAP connection for implementing the “Call ICS” activity in the Funds Transfer business process as shown below:
Figure 44: Configure ICS service call in business process
Define the input and output data mapping of the “Call ICS” activity as shown in the below two diagrams:
Figure 45: Request data mapping Figure 46: Response data mapping
Note: For simplicity, the on premise web service has been implemented such that it returns a “Success” response if all the request attributes have non null values.
This step completes the implementation of the funds transfer business process which should like below:
Figure 47: Final state funds transfer business process
Deploy the business process
The application can be validated for any anomalies by clicking on the button as depicted on the right top of the above diagram. Once the process is validated it can be deployed. Click on the “Management” link on the top as depicted in the previous diagram, in the next page, click on “Deploy” link appearing on the left top, “Deploy Application to My Server” wizard opens up. Deploy the application following the below diagrams:
Figure 48: Deploy business process
Once the business process is successfully deployed, you can retrieve the WSDL of the deployed business process as below:
Figure 49: Funds Transfer business process exposed as web service
When “Web services” menu option is selected as shown above, the “Manage Web Services” page opens up showing all the business processes contained in the deployed application as shown below. This WSDL can be used to trigger the Funds Transfer business process as a web service by passing the data as specified in the “Start” activity. The created process instances can be tracked by clicking on the “Track Instances” icon as shown below:
Figure 50: PCS Home page
The following diagram shows a successfully executed Funds Transfer business process going through the manual approval.
Figure 51: Track business process instances
Conclusion: This completes the blog post - "Business Process Orchestration and Integration in Cloud with Oracle PaaS". In this post, we have seen how Oracle PCS and ICS offerings put together eases the development of effective and standard driven business process orchestrations and integrations in Cloud.
The views expressed in this post are my own and do not necessarily reflect the views of Oracle.