Deploying SOA Composite Applications to Oracle SOA Cloud Service


Options




Before You Begin

Purpose

This tutorial shows you how to deploy a composite application as a SOA archive (SAR) file to Oracle SOA Cloud Service by using the Oracle Fusion Middleware Control Console.

Time to Complete

45 minutes

Background

Oracle SOA Cloud Service provides a complete set of service infrastructure components for designing, managing, and deploying composite and service bus applications to the cloud.

You can save time, money, and work more efficiently by using the wide variety of features in Oracle SOA Cloud Service to:

  • Design SOA composite applications.
  • Create test environments for all your applications.
  • Monitor and manage your application environment.

Using this tutorial, you can learn how to deploy a SOA application to Oracle SOA Cloud Service. Because this cloud service uses the same Oracle SOA software that you use for your on-premises applications, you can use the same tools in the cloud.

What Do You Need?

  • A subscription or trial subscription to Oracle SOA Cloud Service
  • Oracle SOA Quick Start for Developers
  • Valid credentials for Oracle Enterprise Manager Fusion Middleware Control Console
  • Basic knowledge of Oracle SOA Suite

Downloading a SOA Sample Application

  1. Open a terminal window. Create the mywork directory by executing the following command: mkdir mywork

  2. Download the helloWorld.zip file, which contains the SOA sample application, and unzip the file.

Deploying and Testing a Composite Application in Oracle SOA Cloud Service

Deploying a SAR File to Oracle SOA Cloud Service

  1. Sign in to your Oracle Cloud Account.
    SayHello
    Description of this image
  2. From your My Services Dashboard, expand the Action Menu for the SOA instance and click Open Service Console.
    SayHello
    Description of this image
  3. Expand the Menu Menu Icon of the SOA Cloud Service instance that you want to use and click Open Fusion Middleware Control Console.

    SayHello
    Description of this image
  4. Enter the user name and password that you set when you created your instance.

  5. In the Target Navigation pane, expand SOA, right-click soa-infra, and click SOA Deployment > Deploy.

    Target Navidation
    Description of this image

    The Deploy SOA Composite page appears.

  6. In the Deploy SOA Composite page, click Browse.

    Select Archive
    Description of this image
  7. In the File Upload dialog, go to mywork/SOACSdemo/SayHello/deploy, click the sca_SayHello_rev1.0.jar file, and click Open.

    Workspace
    Description of this image
  8. In the Select Archive page, click Next.

    Select Archive
    Description of this image
  9. In the Select Target page, select the default SOA partition, and click Next.

    Select Target
    Description of this image
  10. In the Confirmation page, click Deploy.

    Deploy SOA Composite
    Description of this image

    The summary page appears. Click Close.

    Summary
    Description of this image

Testing an Application in Oracle SOA Cloud Service

  1. Open the Fusion Middleware Control. In the Target Navigation pane, expand SOA, right-click soa-infra, and click Home, SOA Folders.

    Test Cloud Service
    Description of this image
  2. Click the Deployed Composites tab, and click sca_SayHello_rev1.0.jar.
    Test Cloud Service
    Description of this image
  3. Click Test.
    Test Cloud Service
    Description of this image
  4. On the Test Web Service page, click the Request tab, expand payload, enter Cloud World in the text field, and then click Test Web Service.

    Test Web Service
    Description of this image
  5. Click the Response tab, and verify that the response displays the words you entered.

    Response
    Description of this image

Monitoring a Composite Application in Oracle SOA Cloud Service

  1. In the Target Navigation pane from your Oracle SOA Cloud Service, expand SOA > soa-infra. Right-click soa-infra and select Home > Flow Instances.

    Test Cloud Service
    Description of this image
  2. On the Flow Instances tab, click Recent Instances.

    Test Web Service
    Description of this image
  3. On the Search Results table, click the number under the Flow ID column.

    Flow ID
    Description of this image

    The Flow Trace page appears.

  4. On the Flow Trace page, click MakeGreeting.

    MakeGreeting
    Description of this image
  5. On the Instance of MakeGreeting page, under replyOutput, click View Payload.

    Audit Trail
    Description of this image

    The Payload for Activity: replyOutput dialog appears.

    XML content
    Description of this image

    Confirm that the payload message contains the same result displayed in this dialog when you test your application.

Want to Learn More?

Credits

  • Lead Curriculum Developer: Armando Hernandez

  • Other Contributors: Ron Pinkerton, Mary Peek