Monthly Archives: May, 2013

OSB Proxy Service with Pipeline pair

Pipeline Pair: Pipeline node is combination of two pipeline, one for request and one for response.

Pipeline:
A pipeline is a named sequence of stages, representing a non-branching one-way processing path.

Pipelines fall into one of the following three categories:

Request Pipelines: used for processing the request path of the message flow

Response Pipelines: used for processing the response path of the message flow

Error Pipelines: used as error handlers

Continue reading →

Creating Web service using Eclipse IDE

In this sample we will implement how to develop a web service using OEPE and deploy on to Weblogic service

Continue reading →

XML

In this article we will discuss why we require XML and how to establish contract between business partners.

I will list important elements available in XSD, XPATH, XSLT

Continue reading →

Mediator with Re-sequencing

Mediator:
  1. Provides mediation capabilities such as routing, transformation, and validation capabilities.
  2. Provides a lightweight framework to mediate between various components within a composite application
  3. Provides services like
  • Content based routing and header based routing
  • Sequential and parallel routing
  • Message re-sequencing
  • Data transformation
  • Payload validation
  • Event Handling

When you compare your Mediator with BPEL, using Mediator you can achieve everything what you achieve using BPEL. But it will be difficult to implement complex logic in Mediator.

But if you want to implement the re-sequencing of incoming message before calling to external system/process, which can’t be achieve with BPEL. In this case we only Mediator can solve the problem. Know lets see use-case with implementation

Continue reading →

Business Rules

Oracle Business Rules allows you in separating rule logic from underlying application code(i.e. in BPEL, Mediator) to enable business persons to take dynamic decisions at run-time allowing them to modify the rule at run-time.

Business Rules provide more agile rule maintenance and empowers business analysts with the ability to modify rule logic without programmer assistance and without interrupting business processes.

In SOA Suite, BPEL, Human task and Mediator service components can make use of rules for dynamic routing. A mediator service component can use a business rule for routing messages, and a human task can use a business rule for routing assignments.

The Oracle Metadata Repository (MDS) stores the rulesets for Oracle Business Rules.

Use case: In Banking systems, Average minimum monthly balance to be maintained in an account many vary from time to time. In this example we will get account id, average minimum monthly balance as inputs to the process and call a business rules service to evaluate business rule saying maintenance fee will be applicable if average balance is less than 10000.

Continue reading →

JMSAdapter

In this post we will implement the following

1. How to configure JMS server, Queue on weblogic server.

2. BPEL process publishing messages to Queue

Continue reading →

Dehydration In SOA

Why Dehydration

  • Long running process or processes waiting for response consumes memory and CPU
  • While waiting for the response the bpel engine can store the process, thus freeing up server resources.
  • Over the life cycle of the BPEL instance, the instance with the current state of execution may be saved in database.

Continue reading →

Transactions in SOA

  • In SOA space, Services can be either:
    • Non-Transactional Services
    • Transactional Service
  • Non-Transactional services are the services that does not modify data.

E.g. File Adapter, FTP Adapter

Continue reading →

BPEL Process with multiple Operations / Pick Activity / BPEL Process in Top-down approach

Topics covered:

1. Developing a BPEL process which can expose multiple operations to its clients or handle multiple messages request from clients

2. Developing the BPEL process in Top – Down approach

3. Having a pick activity as the first activity in BPEL process

4. Developing a BPEL process Based on WSDL

5. Developing XSD and WSDL

Sample Description:

    Implementing the Calculator service which exposes 4 operations( addition, subtraction, multiplication, division) which takes 2 parameters as input and returns value. Use BPEL to implement the Calculator service and expose it as service so that client can any operations of his choice

Continue reading →