Feeds:
Posts
Comments

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!

Many people are asking if creating a BPEL process template is possible on 11g.
The answer is NO. Sorry…
It is very annoying as it was possible on 10g.
I guess the reason is because of the way we creates a BPEL process within the composite application.
There is an option to create a project & application template, but not a component one.

The good news is that it will be possible on 12c version.

You can get help with renaming a BPEL process as a workaround in the below oracle post:
https://blogs.oracle.com/middleware/entry/renaming_bpel_process_names

 

Good luck

In this post I will explain what is the correct and standard way to deploy an ADF application (project) from JDeveloper.
Usually, when we want to deploy, let’s say – a SOA or a BPM project, we have to right click on the project, and deploy it to the required managed server. It can work the same way for an ADF project, but it is not the recommended way.

So, the next steps will guide through the right procedure:

Continue Reading »

Follow

Get every new post delivered to your Inbox.

Join 25 other followers