Installing Oracle SOA suite 11g (11.1.1.7)

Installing Oracle SOA Suite is a fairly straightforward process.
We will see how to do this installation on a Windows 7 based machine.

These instructions are generic, you can use these instructions for both 32 and 64bit machines.
You will need at least 4GB of RAM on your laptop/desktop or you might run into the dreaded out of memory errors.

You will need to download the following files to proceed with the installation.
Go to Oracle SOA suite download page here.
Under Oracle SOA Suite 11g Installations, select release 11.1.1.7 and then Microsoft Windows 32-bit JVM.

Download the following files.
  • Database (OracleXE112_Win32.zip).
  • WebLogic server (wls1036_win32.exe)
  • Repository creation utility (ofm_rcu_win_11.1.1.7.0_32_disk1_1of1.zip).
  • Jdeveloper (jdevstudio11117install.exe).
  • SOA (ofm_soa_generic_11.1.1.7.0_disk1_1of2.zip and ofm_soa_generic_11.1.1.7.0_disk1_2of2.zip)
You need to download Jdeveloper SOA extension from a different location.
  • Jdeveloper SOA extension (Download from here).

SOA : Configuring E-Mail Driver


There are lot of ways to send notifications to the users in SOA.
E-Mail, SMS, IM, VoiceMail etc are some of the forms of notifications.

Lets see how to configure the email driver to send emails using a local mail server.
We will use the same send emails from within BPEL.
You need to configure a local mail server before you proceed. See here.

SOA : Deleting from MDS

You might want to delete unused artifacts from the central MDS.
You can do so by following the below steps:
Make sure the WebLogic server is runinng before proceeding ahead.



Step 1
Open command prompt and go to the following location:
<mw_home>\Oracle_SOA1\common\bin\
mw_home : Folder where all the SOA Components like WebLogic are installed.

SOA : WebLogic startup Out Of Memory Errors


While starting the WebLogic SOA Server you might see the following error sometimes.

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.


There are two ways to resolve this error.
1) Reduce the MaxPermSize if you don’t have enough RAM(less than 4GB) or if you are running a 32-bit OS.
2) Use a 64-bit JDK if you have enough RAM(more than 4GB) and a 64-bit OS.

Creating Database and Application Server Connections in Jdeveloper


Lets see how to create the Database and Application Server connections in Jdeveloper.

1) Creating a database Connection.

First you need to unlock the sample hr schema that comes with the Oracle XE db.

Expand Application Resources on the left-hand side in Jdeveloper.
Right Click 'Connections' and select 'New Connection –> Database.


Image 008

SOA : Deploying XSD to Central MDS

Storing common artifacts that are used across projects in the MDS repository is a good idea.
It ensures that the artifacts are centrally managed and any changes are easily propagated to all the consumers.
Lets see how to deploy XSD files to the MDS in SOA.
First you need to create a Central MDS connection. See here.
By doing this you can use the same XSD file from the central MDS in multiple projects.


Step 1
First, we need to create a new SOA project.
Right Click on the application and select New Project.

Image 001

SOA : Creating MDS Connection

In this post we will see how to create an MDS connection.

There are two types MDS repositories available.
1) Central MDS : This MDS is DB based, used during runtime and is available only when the SOA server is running.
2) Local MDS : This MDS is file based, used during design time and is available even when the SOA server is not running.