Monday, 4 January 2016

Deploying a Composite to SOA Cloud Service

Deploying a SOA composite to Oracle SOA Suite Cloud Service

You will have no doubt deployed to local or on-premise SOA Suite servers countless times (unless you are brand new to SOA) but deploying to the cloud is slightly more complex. The current version of SOA Cloud Service (CS) only allows us to deploy composites using a SAR file through the Fusion Middeware (FMW) Control console and not directly from JDeveloper 12c.  This blog entry describes how to deploy composites to the Oracle SOA Cloud Service.

Firstly, identify the SOA composite to be deployed in JDeveloper and then right click and deploy this into a SAR file (see below):

 

Follow the wizard  and ensure that the deployment process has completed successfully. Copy the URL provided in JDeveloper to the clipboard as we will require this later in the process. 



Once deployment has completed, we need to open our Cloud Service Fusion Middleware Control console. To do this, access the My Services Oracle Portal and select the SOA Cloud Service Console. From here select the SOA instance that you would like to deploy to. Click the four little lines on the right hand side of that instance and once the menu opens, select the Fusion Middleware control console as illustrated below: 


Log into the console using the required credentials. The first thing that you will notice is that the layout looks very similar to the Enterprise Manager (EM) console used in previous versions of SOA Suite (11g and 12c ). Once into the EM console, we can deploy our composite in the same way that we have done previously using on premise installations. So, open the required SOA infrastructure instance using the tree on the left hand pane and then select the partition to which you wish to deploy. 



Then open the Deployed Composites tab on the right hand pane, and click deploy to this partition. 





From here, select "Deploy from Archive" option and paste in the file location that we copied earlier on in the process. 



Click Next and then select Deploy which will initiate the deployment process. Should the composite deploy successfully, you will get a success pop up window as follows:



The composite should now appear in the navigation tree and the left hand pane as illustrated below.


And there you have it! Now all that's left is for us to do is to test the composite, which can be done either from the EM console itself or using an external program such as SOAP UI. 

NOTE: This deployment technique is the same for OSB services as well. 




No comments:

Post a Comment