You can click a sample's name below to see its documentation, or download the appropriate archive by clicking on its link. Note: The archive name "all" contains all of the ActiveBPEL samples.

All samples for ActiveBPEL 3.x

all.tar.gz (16.2 MB)
all.zip (16.5 MB)

BPEL Samples
This is a collection of sample processes that provide examples ranging from how to use a particular BPEL activity such as pick or scope, to more complex examples of processes that invoke external Web services or show techniques such as handling multiple start messages.

BPEL_Samples.tar.gz (2.7 MB)
BPEL_Samples.zip (2.8 MB)

Communicating with the ActiveBPEL Server Engine Administration Interface via Web Services
This sample provides examples of communicating with the ActiveBPEL Server Administration Interface via published Web Services API.

admin_api.tar.gz (31.4 KB)
admin_api.zip (44.6 KB)

Exchanging Messages Containing Complex Data Types
This sample describes the use of RPC style WSDL messages within a BPEL process and includes an example of a Java client that uses an RPC message to invoke the process via Web Service.

complex_exchange.tar.gz (26.0 KB)
complex_exchange.zip (33.5 KB)

Creating and Using Custom XPath Functions
This sample shows how to create, install and register custom functions that can be used to facilitate common tasks within a BPEL process (e.g., XML to string) using the ActiveBPEL custom functions framework.

custom_functions.tar.gz (32.2 KB)
custom_functions.zip (43.8 KB)

Creating and Using Custom Invoke Handlers
This sample shows how to specify during deployment that a service should be invoked directly rather than using the default SOAP over HTTP protocol. The sample provides examples of the Java services, deployment descriptor modifications and sample data to test the deployed process and services. Using this method any protocol (e.g., JMS or SMTP) can be used to interact with a process directly.

custom_invoke.tar.gz (565.9 KB)
custom_invoke.zip (598.4 KB)

Deploying a BPEL Process
This sample provides information on manually constructing the artifacts required to deploy a BPEL process to the ActiveBPEL Server.

deploy.tar.gz (24.6 KB)
deploy.zip (26.7 KB)

ActiveBPEL™ Designer and Eclipse Web Tools Project
The Web Tools Project is an Eclipse plugin that provides an infrastructure to ActiveBPEL Designer and other Eclipse-based development environments targeting Web-enabled applications like BPEL processes. Active Endpoints recommends that you install the Web Tools Project into ActiveBPEL Designer to enhance testing of BPEL processes and development of Web Services Description Language (WSDL) files and schema. This sample demonstrates the how to use some of the tools in WTP, such as the WSDL Editor and XSD-to-XML generator for easy testing of BPEL processes without leaving the Designer environment.

eclipseWTP_and_BPEL.tar.gz (288.1 KB)
eclipseWTP_and_BPEL.zip (289.1 KB)

Using Indexed Properties to Perform Extended Queries with ActiveBPEL Designer
This sample shows the used of extended queries using indexed properies with ActiveBPEL.

extended_query.tar.gz (24.9 KB)
extended_query.zip (32.4 KB)

HTTPS and Security Certificates

https_certificates.tar.gz (11.1 KB)
https_certificates.zip (11.1 KB)

invoke
This How-to demonstrates basic invocation of a BPEL process.

invoke.tar.gz (21.6 KB)
invoke.zip (26.1 KB)

Direct Java BPEL Process Invocation
The sample show how to invoke a BPEL process directly from Java code, bypassing SOAP and all other transport layers. The code is called from a JSP page that is similar to the SOAP Client JSP page.

java_process_call.tar.gz (1.5 MB)
java_process_call.zip (1.5 MB)

Common Sample Project Libraries and Deployment
This archive contains common utility jars that may be needed by some of the samples. Note: the samples are always built using Ant scripts and important information regarding the directory paths and environment variables can be found in the documentation provided. Click on the "lib" link for more information before downloading.

lib.tar.gz (7.4 MB)
lib.zip (7.4 MB)

SOAP Client
This is the source code for the simple SOAP Client that is bundled with the BPEL Samples download. It includes the client JSP page, Java class that it uses, and an Ant script that will build and deploy the WAR file.

soap_client.tar.gz (1.6 MB)
soap_client.zip (1.6 MB)

Testing BPEL Processes with WSUnit and the ActiveBPEL Server Engine
WSUnit is a relatively simple open source project that allows users to indirect their Web Services to a server that returns messages based on the content of the request. We have found that this can be a valuable tool in a situation where access to test implementations of services may not be available. This sample demonstrates the use of WsUnit to help in the testing of deployed BPEL processes.

wsunit.tar.gz (2.1 MB)
wsunit.zip (2.2 MB)