SOA Suite 12c: Getting started in 30 minutes image911

SOA Suite 12c: Getting started in 30 minutes

This blog will get you started with the Oracle SOA Suite 12C. We will install the SOA Suite, create a Hello World BPEL project, deploy it on the integrated weblogic server and test it with the http analyzer.

The first step is downloading the SOA Suite from OTN. Enter your Oracle Technology Network account, if you don’t have one you’ll need to create an account. Download the zip file to a temporary folder, in my case C:/TEMP.

image

While the file is being downloaded it is time to check upon your Java Development Kit version, a fairly recent JDK is needed before you can actually install the SOA Suite (for example I’m using 1.7.0_15). Check if you meet this prerequisite, if not install one. After this check if you have JAVA_HOME environment variable pointing to the JDK, if not create one.

image

When the SOA Suite has finished downloading unzip it. Open a command prompt as an administrator.

image

In the command prompt navigate to your temporary folder where you unzipped the download. Run the following command: %JAVA_HOME%\bin\java -jar fmw_12.1.3.0.0_soa_quickstart.jar

Follow the installation wizard. During the installation you’ll need to enter a Oracle Home, this is the location where JDeveloper will be installed. In the end of the wizard click install. The installation will take a while. After the installation is finished click on finish. JDeveloper will be started automatically.

image

The next step is configuring and starting the integrated weblogic server, this prevents having to wait for it later. After JDeveloper has started click on Window and then Application Servers. This will open the application servers view.

image

The first time you start the integrated server you need to create a domain, by right clicking on the IntegratedWebLogicServer and then Create Default Domain.

image

Enter a password for the weblogic user in the prompt, accept all other defaults.

image

Creating this domain will take a while. So for now let’s start creating the first process. Go back to Applications and click on New Application…

clip_image002

We want to create a SOA Applicaton. In the creation wizard enter a name for the application and project. Accept the defaults Standard Composite and Empty Composite, but do note the interesting Template and Subprocess options. The result should be something like the screenshot on the right.

clip_image002[4]clip_image004

Create a bpel process by dragging it from the components view on the right to the middle of the composite in the components column. Enter a name for the process and for the template select the Synchronous BPEL Process. Accept all the defaults, yes finally a default bpel 2.0 process.

clip_image006

After finishing this wizard you should see something like the below image.

image

Double click on the BPEL process so you can start editing it. Drag an assign, from the components view on the right, between the receiveInput and replyOutput.

imageimage

Double click on the assign. Select and drag the input (inputVariable) to the result (outputVariable).

image

Start editing the from expression, by right clicking on the from expression and choosing the Edit ‘from’ expression.

image

If you’ve accepted the defaults so far, it would be enough to replace the expression with something like this: concat(“Hello “, $inputVariable.payload/client:input)

image

Click on OK on both prompts. Now we are going to deploy the HelloWorld service to the integrated server. Right click on the project (in my case HelloWorld). Hover over Deploy and click on HelloWorld… During the deployment make sure Deploy to Application Server is selected and click on next. In the next screen check the box for Overwrite any existing composites with the same revision ID. This is not needed at the moment, but if you want to redeploy this project you can use the same deployment profile.

image

In the next screen make sure the IntegratedWebLogicServer is selected.

image

Click next and accept all the defaults on the next screen by clicking finish. After the deployment has finished go the Application Servers window. Go to HelloWorld process by following the path IntegratedWebLogicServer >> SOA >> DefaultServer >> default >>HelloWorld [Default 1.0]. Right click on helloworld_client_ep and on the prompt click on Test Web Service.

image

The http analyzer starts. Enter your name in the input and click on Send Request.

image

This concludes this blog about getting started with the SOA Suite 12c. Finding out what actually happened on the SOA Suite server when you ran the above test will be part of another blog named SOA Enterprise Manager which will follow shortly.

18 Comments

  1. Kumaran Raviprakash August 12, 2016
  2. Badrane DERBAZI November 2, 2015
  3. Gabriel Basilio Brito August 25, 2015
  4. António Amado April 25, 2015
    • Robert van Molken April 28, 2015
    • carlos June 30, 2016
  5. AlphaMario November 21, 2014
  6. John Elvis Hurtado Cruz August 4, 2014
    • John Elvis Hurtado Cruz August 5, 2014
  7. venkatesh July 11, 2014
    • Vivek Garg July 11, 2014
      • venkatesh July 12, 2014
  8. Vivek July 8, 2014
  9. paul July 8, 2014
    • John Elvis Hurtado Cruz August 5, 2014
  10. kumar July 7, 2014