ActiveBPEL® Designer User’s Guide
A BPEL process uses an invoke activity to call out to a Web service to perform a task. You can create a BPEL process for this purpose.
You can choose between two different invocations of a process:
When you create a process deployment descriptor, you can select any process as a static endpoint reference for a partner role. By doing so, you avoid the overhead of the server composing a SOAP message for dispatch through the standard invocation layer. The message is sent directly to the engine instead.
When you create a process deployment descriptor, you can select any process:subprocess as a static endpoint reference for a partner role. By doing so, you can have the subprocess participate in process-level compensation and termination handling.
More about Subprocesses
A subprocess is subject to the fault and compensation handling rules of the enclosing scope of the parent process from which it is invoked. A subprocess is compensated whenever either the fault handler or the compensation handler for the scope enclosing the invoke activity is run. This work is performed implicitly. However, you can enable process-level compensation and termination for the subprocess to select what compensation and/or termination tasks to do. For a discussion of compensation, see Compensation.
The enclosing scope for the invoke activity does not complete until the subprocess completes. If the subprocess is compensatable when it completes, the enclosing scope compensates the subprocess during its compensation.
If the subprocess throws a fault, the invoke activity of the parent process faults.
Steps for Creating a Process as a Service
To create a BPEL process as a service, you must do the following:

When the main BPEL process is running, and it invokes another BPEL process, the invoked process has the status of a subprocess, with its own state information. The main process awaits the completion of the subprocess before continuing its own execution. For more information on actively running processes, see the Administration Console Online Help.
Copyright (c) 2004-2007 Active Endpoints, Inc.