Feeds:
Posts
Comments

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:

    CHECK_IN

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:

inputText:

  • Set the AutoSubmit property to ‘true':

    AutoSubmit

CommandButton:

  • Set the PartialTriggers property to the Reject InputTextId Id:

    PartialTriggers

  • 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 »

In this post I will explain a simple way to use JS (JavaScript) in an ADF page.
To implement javaScript function you will need few things:

  1. Define a JavaScript code
  2. Link the Component that will refer to that JS code (InputText, Command Button etc..)
  3. Obviously, understand the purpose of using JS in your ADF application

 

So let’s define first the JS code.
Go to the page definition source and drag the resource object under the document tag. Choose Javascript as the resource type:

Resource

 

Continue Reading »

The below error can happen when you run any kind of a process that uses JDBC:

ORA-28267: Invalid Namespace Value In SOA Suite 11.1.1.7
ORA-02063

This is a bug!
The cause of the problem is when using Oracle JDBC Driver file (ojdbc6dms.jar) and calling a DB object (procedure, function etc…) that issues SQL over a DB link from 11g to 10g DB.

There is no patch for that at the moment.
I found a workaround, that was approved by oracle:

Under the below folders, replace the ojdbc6dms.jar file with ojdbc6.jar file:
$MID_HOME/wlserver_10.3/server/ext/jdbc/oracle/11g
$MID_HOME/oracle_common/modules/oracle.jdbc_11.1.1

You can find the ojdbc6.jar driver in the below link:
http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html

It is also suppose to be under $MID_HOME/wlserver_10.3/server/lib. You can just copy it from there.

There is one exception: No JDBC metrics will be produced. If you need it, you will have to open SR.

Good Luck!

Follow

Get every new post delivered to your Inbox.

Join 25 other followers