JBoss.orgCommunity Documentation

RiftSaw 2.0-M2

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-M2 or higher), available from http://www.jboss.org/riftsaw
  4. If using JBossAS 5.1.GA, then it will also be necessary to upgrade JBossWS (version 3.2.1.GA or higher), available from http://www.jboss.org/jbossws
  5. Ant, available from http://ant.apache.org

To de-install the RiftSaw distribution,

The BPEL example we are going to try out is the simple 'hello world' example. This is located in the ${RiftSaw}/samples/quickstarts/hello_world 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 either the supplied ant script,

ant sendhello

Or by 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/helloWorld.

An example message can be found in the messages subfolder.

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

If you then wish to modify the example and deploy a new version, you will need to either update the 'version' property within the build.xml, or specify the version when performing the command, e.g.

ant -Dversion=2 deploy

and similarly when undeploying,

ant -Dversion=2 undeploy

Note

When modifying a previously deployed BPEL deployment, it will be necessary to either undeploy the previous version, or increment the version number. If you attempt to deploy a BPEL deployment unit with the same name as an already deployed unit, then the server will generate an exception.