Forum Stats

  • 3,740,600 Users
  • 2,248,280 Discussions
  • 7,861,338 Comments

Discussions

Oracle PCS and ICS in Concert

Venkatesh Yadavalli-Oracle
Venkatesh Yadavalli-Oracle Member Posts: 18
edited Jul 19, 2016 8:47AM in Developer Solutions

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:

SOAP_Connector_Config_2.png

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

add_service_connector.pngadd_service_connector_1.pngadd_service_connector_2.png

   Figure 42: Configure SOAP connector


Manage Credentials

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.

configure_settings.pngmanage_credentials.png

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:

SOAP_Connector_Config_1.png

    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:

SOAP_Connector_data_mapping_1.pngSOAP_Connector_data_mapping_2.png 

    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:

final_fts_business_process.png

   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:

deploy_pcs.pngdeploy_pcs_1.pngdeploy_pcs_2.pngdeploy_pcs_3.png

Figure 48: Deploy business process


Once the business process is successfully deployed, you can retrieve the WSDL of the deployed business process as below:

pcs_deployment_webservices.pngpcs_deployment_webservices_1.png

   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:

develop_processes.png

Figure 50: PCS Home page


The following diagram shows a successfully executed Funds Transfer business process going through the manual approval.

FT_Flow_with_Human_Task_success.png

    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.

Tagged:
Sign In or Register to comment.