For our first workflow, we will create a very simple BPEL process that takes a leave request and creates a simple approval task for the individual's manager, who can then either approve or reject the request.
The first step is to create a composite containing a simple asynchronous leave approval BPEL process. The input and output schema elements for the process are defined in
LeaveRequest.xsd, as shown in the following code snippet (note that the schema is also provided in the samples folder for Chapter 6):
<?xml version="1.0" encoding="windows-1252"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.packtpub.com/LeaveRequest" targetNamespace="http://schemas.packtpub.com/LeaveRequest" elementFormDefault="qualified" ...