Archive for the ‘Bpel’ Category

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


Read Full Post »

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:


Good luck

Read Full Post »

While trying to run a deployed composite you are getting the below error:

java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-02557 oracle.wsm.policymanager.accessor.BeanAccessor The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query “&(policysets:global/%)(@appliesTo~=”WS-Client()”)” is queued for later retrieval. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:813) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:385) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:302)

This error is a bit tricky because you might consider it as a bug.
There are 2 possible reasons for this error:

  1. Mismatch or missing listen address in the Admin/Managed server.
  2. The local host(pc) name is different than the host name you’ve defined while installing SOA Suite (or other Middleware components).
    You can see example for that while trying to test you processHost

Both reasons causes the server to NOT listen the correct address.
The solution, is to update the host name listen address under the installed Admin/Managed servers:
Go to WL console -> Environment -> Servers -> Under the configuration tab click the Admin server -> fill the Listen Address.
Repeat it for all other managed servers, and restart the servers.

Note: If there is a mismatch between your host and PC name, you might consider to fill out the local host IP address and not the DNS.

Good Luck

Read Full Post »

As promised in my previous post – Adding HTML Attachment To An Email Activity On Bpel 10g, in this post I will explain how to poll a file from the local OS and send it as an attachment.
For my example, I’ve created a simple WORD (.doc) file and put it under my Linux server. 

So here also, create a new Bpel process and drag the Email activity into the process flow. Fill in the required information:


Read Full Post »

In this post I will show one way to send Email notification with attachments.
This example will explain how to assign a string message that will appear on the mail as a HTML attachment.
In my next post I will explain how to read a file from your OS and send it as an attachment.

Start with creating a new bpel process. Create a new string variable and assign to it the required message that will appear later on in the HTML
(notice that you don’t need to add header/body tags):


Read Full Post »

In this post I will explain how to add a variable into a XSL code. I will also explain why do we need it at all.
(This option exists on both Oracle SOA Suite 10g and 11g versions. Some of the screens might be a little bit different. Below I’ve attached print screens from 11g)

If you are using a transformation activity in your process, you probably need to do some mapping for multiple records data.
Like in other developing languages, there are cases where you want to declare a variable once, assign to it a value, and use it later on in your code.
When using xsl for mapping source to target, it is the same behavior.

Let’s take 2 scenarios:


Read Full Post »

When dealing with large amount of instances (on one composite application or more), you can end up with slow performance
on the instances load.

I will describe, how a simple configuration can increase the performance for this issue.

Before, I would like to emphasize: performance issues on EM, can be caused from many reasons, like – wrong process plan, DB growth, lack of infra structure resources etc.
When planning processes, there is a need to take in a consideration, all of the parameters.

So, how to set those parameters – very simple:


Read Full Post »

Older Posts »