Let’s say you want to call a a taskFlow activity, for example, a “back” activity, but declarative within your java code:


Use the below code in a bean in order to call a task flow navigation within your ADF application:


import javax.faces.application.NavigationHandler;
import javax.faces.context.FacesContext;


NavigationHandler backHnd =
backHnd.handleNavigation(FacesContext.getCurrentInstance(), null,"back");


Good Luck!

A very simple but frequently asked question is: how use more then 1 human task, of the same type, in one ADF application?

Go to your ViewController project and open the file hwtaskflow.xml

Copy the hwTaskFlow element, and its content, and change the values for: WorkflowName & TaskDefinitionNamespace elements (those are the name & targetNamespace from the Human Task).


Good Luck!

In this post I will show how to create and deploy your composite with a simple BPEL process. The main goal is to describe the deployment process in the local SOA environment. The steps are very simple and almost the same as in 11g version.
If you haven’t yet install the environment or started the server, go to my previous post Oracle SOA Suite 12c Installation.

For this post I’ve create a SOA application with new project, and selected a BPEL component:

SOA 12c New Application

Create SOA Application - Step 2 of 3

Create SOA Application - Step 3 of 3

Continue Reading »

With the latest version of SOA/BPM Suite 12c (12.1.3), Oracle provides installations in 2 modes: Development and Production.
In the Development mode, and unlike previous versions, with 12c you can choose to download, install and run a complete environment on your local machine. All with only 1 installation file.
The production mode, on the other hand, includes full sets of components that allows you to set a production environment (or TEST/UAT).
In this post I will describe in few steps, how to download and install Oracle SOA suite 12c in development mode.

Please follow the next step in order to complete you Development environment preparation:

Continue Reading »

To enable integration with the Universal Content Management (UCM), Oracle provides ‘out of the box’ web service called – GenericSoapPort.
With this WS you can execute operations like CHECKIN_NEW, DOC_INFO and more.
Attaching a policy to the WS is mandatory, as you will be obligated to add a SOAP Header user/pass.

In this post I will guide you how to attach the policy, and enable the WS. (I’m taking into consideration that IPM managed server was installed, as well as OWSM)

The steps bellow describes how to attach the required policies:

  1. From the EN, right click on your UCM managed server, and choose Web Services

    UCM DOmain

  2. Go to Oracle Infrastructure Web Services tab and click on GenericSoapPort

    GenericSoapPort 1

  3. Go to OWSM Policies tab, and click on Attach/Detach button

    Attach Detach Policies

  4. From the list choose: oracle/no_mtom_policy, oracle/wss_username_token_service_policy, and press ok

    Attach wss Policy

That’s it.

Now you can test the WS from the EM:

  1. Go to Configuration tab and enable Endpoint test:

    Enable Endpoint Test

  2. Click on Web Service test

    WS Test

  3. Open the security detailed header, click on OWSM Security Policies, click on the wss policy and enter the user/pass (a user with UCM privileges)

    Security User Password

  4. Enter the payload and run. For example:


Good Luck

Here is a small example of a way to enable or disable a command button using a standard functionality of an ADF.
Take for example the next scenario: You want to reject a form, and you must enter a reject reason.

For that we will use a commandButton (for the reject action) and an inputText (for the reject reason).
Change both objects’ attributes as follows:


  • Set the AutoSubmit property to ‘true’:



  • Set the PartialTriggers property to the Reject InputTextId Id:


  • Set the Disabled property to have a condition base on the InputText value:
    In my example: #{empty bindings.RejectReason.inputValue}

    Reject Reason


Run the page and test it.

Good Luck!

When you create a new ADF Business component that uses a DB connection (like Business component From Table, Entity Object etc..), you can see that automatically the wizard connects you to a predefined DB connection.
Usually, if you have only one DB connection defined it’s not a problem. But when you have more than one connection, you want to control the required connection.


To change or control the default connection, follow the next steps –

Right click on your project and choose Project Properties:

Project Properties

Continue Reading »