SOA Suite logo

Learn More About Oracle WebLogic Integration


WebLogic Integration 10.2 Code Samples

WLI Common Utilities

What it doesWLI common utilities are required for using the WLI solution code samples.
How to install and executePlease see the readme file

Async Binary Update Sample

What it doesThis sample shows an asynchronous client sending binary non-XML data to be converted into XML for processing, and then receiving binary non-XML data in return.
How it WorksThis sample provides a design pattern that is appropriate when the application architecture requires a binary message to be processed from a JMS provider. For testing purposes a reply queue is used although that is not mandated by the pattern.
How to install and executePlease see the readme file

Dynamic Transformation and Routing Sample

What it doesThis sample shows how to approach the common issues of stateless message routing and transformation.
How it WorksIn this sample, messages are received on a JMS queue, examined for a particular value inside the message payload or headers, transformed, and sent to one of two JMS destinations. The transformation is picked dynamically and is not coded into the application. It is a table configurable at runtime.
The sample uses a Dynamic Transformation control to dynamically pick the XQuery Map to convert the incoming document to region-specific schemas. The Business Process listens on the input queue and dynamically routes the message to outputQ1 and outputQ2.
How to install and executePlease see the readme file

Large File Non-XML Sample

What it doesThis sample shows the conversion of a large XML file into a series of records for storage in non-XML format.
How it WorksThis sample presents a design pattern appropriate for application architectures that require manipulation of a large file into a series of non-XML records. In this pattern a File control reads a large XML file and then splits the file into individual records. The individual records are then inserted into a database.
How to install and executePlease see the readme file

Sync to Async Sample

What it doesThis sample shows a synchronous (blocking) client that invokes an asynchronous business process and blocks waiting for the business process to return information.
How it WorksThis sample illustrates a scalable solution to the problem of enabling an asynchronous business process to support invocation by a client that does not support asynchrony (callbacks). This design pattern is appropriate when application architecture requires synchronous invocation of an asynchronous process. In this pattern a synchronous (blocking) client must invoke an asynchronous business process while waiting for the process to return information.
How to install and executePlease see the readme file

Worklist Sample

What it doesThis sample shows how to create and assign large numbers of worklist tasks
How it WorksThis sample consists of two distinct though interrelated use cases:
Use Case 1 - Create and Assign Tasks
Use Case 2 - Custom Worklist Queries
The data created by the "Create and Assign Tasks" use case can be queried using the "Custom Worklist Queries" use case. It is also possible to run either of the use cases in isolation.
How to install and executePlease see the readme file

WLI Trading Partner Tutorial (RosettaNet and ebXML)

What it doesThis sample describes the components of two completed RosettaNet examples (PIP3B2 and PIP3A4) and suggests how to adapt the examples for other PIP implementations.
It also describes how to build the ebXML (Electronic Business using eXtensible Markup Language) business process examples.
How it WorksBefore you start using the trading partner integration tutorials, you need to complete the following steps:
Step 1: Create a New WebLogic Integration Domain
Step 2: View the Default Trading Partner Information
Step 3: Install the Tutorial Files
How to install and executeRead the tutorial document

ALSB 3.0 WLI 10.2 Inter-op sample demonstrating splitting of ALSB Proxy Services

What it doesThis sample shows how to make an http call more reliable. Additionally the usage of the JMS proxy with a custom transport (JPD transport) enables the initiation & propagation of transactional context in case required
How to install and executePlease read README.doc in

WebLogic Integration 9.2 Code Samples

Server monitoring and WLI Process monitoring scripts

What it does
  1. Runs every 5 minutes and if the servers are not running, it sends an email
  2. Runs once a day and sends a list of aborted processes to an email id
  3. Terminates all the aborted processes as aborted processes prevent the deployment of a new version of the ear. That's why they have to be terminated before a new deployment
How it WorksWe have targets to monitor server / aborted processes and terminate aborted processes.
This has to be run in OS scheduler as per the requirement.
For detailed steps, the user manual is attached inside.
How to install and executePlease unzip and read the user manual

WLI-Dynamic Subscription with XQuery filtering

What it doesSample application to demonstrate dynamic subscription with XQuery filtering.
How it Works

Dynamic subscription is based on a subscription control. The subscription to an MB channel happens dynamically within the JPD.
In this Application:

XmlPublisher.jpd - Publishes the xml messages to the channel
XmlSub.jpd - Have a dynamic subscription on to the XML
XQuery (filter) is defined in the subscription control.

The filter is used on the Empname field. When the message arrives, it will be evaluated against the filter value and if matches, the Dynamic subscription will be triggered.

How to install and execute
  1. Extract the Zip
  2. Import into Eclipse/Workshop
  3. Build the App
  4. Deploy the app (right click on JPD -> runas - >choose server)
  5. Run http://localhost:7001/DynSub_web/xmlFilter/XmlSub.jpd (Dynamic subscription)
  6. Run http://localhost:7001/DynSub_web/xmlFilter/XmlPublisher.jpd which publishes XML messages to the channel. (this is typed XML, you can see it in UTIL-PROJ/schemas/Emp.xml)
  7. the filter is defined on "EmpName"
    if EmpName="venkat", then you will see the dynamic subscriptions getting triggered. otherwise, it filters out the message.

WebLogic Integration 8.1 Code Samples

WebLogic Integration 8.1 SNMP Agent

What it doesThis utility lets you view and update key WebLogic Integration information via standard SNMP Managers. By using SNMP you can easily consolidate the management functions of multiple SNMP-enabled products — such as MIS applications, IT servers and networking hardware and services — into a single, integrated management console.
How it WorksThe zip file contains:
  • snmpagent.jar: the SNMP Agent software that runs on your WLS Administration server
  • startsnmpagent.jar: an application used to start the SNMP Agent; used manually or configured as a WLS Startup App
  • wli.mib: A standard ANS1 MIB (Management Information Base) file identifying all of the WLI attributes that can be accessed via SNMP
  • SNMP Documentation.doc: instructions for installing and configuring the SNMP Agent and a description of the WLI MIB items
How to install and executePlease unzip and follow the steps in WLI MIB.doc


JProcessUnit is a JUnit based automated testing framework for business processes running within a Business Process Engine (BPE) and contains out of the box add-ons for the testing of WLI business processes. Here is a list of some of the main features that JProcessUnit provides in order to enable you to write JUnit tests for your business processes:
Starting your WLI business processes without the need for a proxy object or any generated code.


  • Checking the asynchronous and synchronous response messages from a JPD.
  • Verifying information from process instances such as variable values, process label, and process instance ID.
  • Interacting with WLI tasks and checking their corresponding information.
  • Undo functionality: you can easily undo the work done by processes spawned through testing both in success and failure cases.
  • Ability to interact with long running processes and ensuring that they complete through different execution paths.
  • Ability to run your tests against different servers through an external configuration file.
The goal of this framework is to allow business process developers to write automated, JUnit based tests that verify the proper execution of business processes within a BPE. These tests can then be run from your automated builds thus providing a better quality control for your overall application.


For WebLogic Integration 8.1 JPDs
For WebLogic Integration 9.2 JPDs only

Left Curve
Popular Downloads
Right Curve
Left Curve Right Curve
Left Curve
More Middleware Downloads
Right Curve