Developing and deploying BPEL 2.0 processes
As we already mentioned, Oracle SOA Suite 11g PS 2 supports BPEL 2.0; however, this version is not yet production ready, so by default BPEL version 1.1 is used. If we want to develop and deploy BPEL 2.0 processes, we have to use the Source view of the BPEL Component Designer. In this section, we will convert our TravelApproval BPEL process to BPEL 2.0 and deploy it to the SOA Server.
First, we have to change the BPEL namespace which specifies the BPEL version to http://docs.oasis-open.org/wsbpel/2.0/process/executable.
process name=”TravelApproval" targetNamespace="http://packtpub.com/bpel/travel/” xmlns=”http://docs.oasis-open.org/wsbpel/2.0/process/executable” xmlns:client=”http://packtpub.com/bpel/travel/” xmlns:ora=”http://schemas.oracle.com/xpath/extension” xmlns:bpelx=”http://schemas.oracle.com/bpel/extension” ... </process>
Next, we will modify all<from> and<to> elements inside<assign> activities, as BPEL 2.0 introduces...