Author: Christian Saaler.
In the last article we gave you an overview on how to use Oracle’s SOA Suite to integrate your on-premise Oracle Fusion Applications (OFA) with other business applications such as Oracle E-Business Suite. This article tackles the objective by first setting up the JDeveloper, an integrated development environment (IDE) from Oracle which is used to create custom SOA processes.
To demonstrate the installation process, we use a Windows 7 Professional 64Bit machine.
At first, you need to download the software. The most recent on-premise release of OFA, which is 22.214.171.124, only supports SOA Suite 11g. To develop SOA applications for this version, JDeveloper 126.96.36.199 is required explicitly. You can download it here:
Simply double click the .exe-file you just downloaded and follow the installer. You do not have to adjust any parameters during the installation.
When starting JDeveloper, you will be asked to choose a role that matches your projects. Select the ‘Default Role’ as shown in figure 1 to go ahead.
Figure 1 – Role Selection
After it is started you should see a window similar to the one in figure 2.
Figure 2 – Start Page
Before you start building SOA applications, you need to install the SOA Composite Editor. In order to do so, click on ‘Help’ in the menu bar and then on ‘Check for Updates…’ in the drop-down menu.
Figure 3 – Install Updates
Figure 4 – Update Wizard
Using the Update Center caused problems so we manually installed the extension. To do so, you first need to download it from Oracle at the following location:
We used Version 188.8.131.52.8.02.22 since this is the latest version for JDeveloper 184.108.40.206. To perform the actual installation you simply need to choose ‘Install From Local File’ on the next page (figure 5) and then browse to the just downloaded zip archive.
Figure 5 – Update Wizard
Figure 6 – Update Wizard
After restarting JDeveloper, you are eventually ready to develop SOA composites.
Connect to application server (optional)
In this step we show how to connect JDeveloper to your WebLogic server so that you are able to directly deploy your SOA composites to it. Since SOA applications can also be exported and deployed via the Enterprise Manager (what is described in the next article), this step is optional.
Click on ‘View’ in the menu bar and select ‘Resource Palette’ from the drop down menu to open a new view where you can manage your application server connections.
Figure 7 – Open Resource Palette
In the “Resource Palette” view right click ‘Application Server’ and create a new connection from the context menu.
Figure 8 – Create Application Server Connection
In the opening windows, enter a name for your connection. We chose ‘Fapps01s1’ since it is the hostname of our specific server.
Figure 9 – Application Server Connection Wizard
On the next page, enter the login credentials for your application server.
Figure 10 – Application Server Connection Wizard
On the following page, enter the hostname of your application server, the domain you want to connect to, and the corresponding ports. An overview of all configured domains and ports you can find in a summary file, which is located below the home directory of your OFA Provisioning installation:
Figure 11 – Application Server Connection Wizard
Subsequently, you can test if your connection can be established.
Figure 12 – Application Server Connection Wizard
All tests should finish successful to guarantee a proper working. If this is not the case you should recheck the configuration. Afterwards, you can finish the process. Now you should be able to open the established connection and navigate to the SOA server(s) running in your WebLogic environment.
Figure 13 – Resource Palette
After successfully setting up JDeveloper, you can start developing your applications. Select ‘File’ and ‘New…’ from the drop down menu. In the opening window, choose to create a ‘SOA Application’.
Figure 14 – New Gallery
Find a name for your whole Application…
Figure 15 – SOA Application Wizard
…and for the project that belongs it.
Figure 16 – SOA Application Wizard
Now select the service component you would like to start the project with. The BPEL Process component is used in our sample application therefore we will select this one here.
Figure 17 – SOA Application Wizard
Figure 18 – Configuring BPEL process
After finishing the wizard, you should face the newly created project quite similar to figure 19.
Figure 19 – Newly created composite
From here you can start developing your SOA application by just dragging the service components or adapters you need from the Component Palette on the right side to the composite.xml tab in the center.
After showing you how to essentially build up your SOA development environment, we describe in the following article how to actually deploy your application to a SOA server. For this purpose, we will use the sample application which was already mentioned in the first article. Additionally we will show how to debug the execution of a deployed composite.