This is an Example about BPEL with the
Pick activity, you can specify which process would be executed
according to the received event. Event could be a message event or an
alarm event. For each event, we can specify a set of activities to be
performed. In this tutorial, we will exam the Pick activity with two
operations: sayHello and sayGoodbye using the message event.
Please visit this site:
http://www-inf.int-evry.fr/cours/WebServices/TP_BPEL/pick.html