JBoss.orgCommunity Documentation

RiftSaw 2.0-M1

Getting Started Guide


  1. JBossAS (version 5.1.GA or higher), available from http://www.jboss.org/jbossas
  2. JBossESB (version 4.6.GA or higher), should download the jbossesb-4.6.GA.zip, available from http://www.jboss.org/jbossesb. This is only required to run the ESB/BPEL example.
  3. RiftSaw (version 2.0-M1 or higher), available from http://www.jboss.org/riftsaw
  4. Ant, available from http://ant.apache.org

The ESB/BPEL example we are going to try out is the 'order management' example. When the ESB examples have been deployed, as described in the Installation chapter, then this example will be located in the ${JBossESB}/samples/quickstarts/webservice_esb_bpel folder.

The first step is to deploy the example to the running JBossAS server. This is achieved using the following command:

ant deploy

When the ant script indicates that it has completed successfully, the next step is to invoke the BPEL process we have just deployed. This can be achieved using any SOAP client, such as SOAPUI (available from http://www.soapui.org/).

The WSDL definition is located in the bpel folder, and can be used to initialise the SOAPUI client. The service location is: http://localhost:8080/bpel/processes/Retailer.

An example message can be found in the ppel/sampleData subfolder.

When the message is submitted to the BPEL process, the response received is:

This is an acknowledgement that the order has been received, and is awaiting approval. At this point, you can access the BPEL console, to see that the BPEL process triggered by the request message is still active. For example,

The next step is to access the order manager, located at: http://localhost:8080/order-manager.

Once the order has been approved, by pressing the Approve further processing will be triggered using ESB components, as outlined in the following diagram.

To verify that the BPEL processes, you should return to the instances tab on the BPEL console, which should show that two BPEL processes have now completed, as follows.