The <bpelc> Ant task compiles BPEL4WS 1.1 and WS-BPEL 2.0 processes for execution by PXE.
<bpelc [rr="rrfile"] [targetDir="directory"]> <wsdl uri="uri" />? <bpel url="url" />+ </bpelc>
The <bpelc> task is used to compile one or more XML process descriptions into a form executable by the PXE engine. Zero or more nested <wsdl> elements specify WSDL definitions (by URI) to be imported from the specified resource repository
, and one of more <bpel> elements specify the process definitions (by URL) to be compiled.
| Naming Convention As with the bpelc command, the compiled files are named according to the name in the process definition with an additional .cbp extension. |
| Attribute | Purpose |
|---|---|
| rr | the path to the resource repository |
| targetDir | the directory into which the compiled files will be written. The default, if no other value is specified, is the current working directory. |
A nested <wsdl> element defines a WSDL import for use by the compiler in compiling a BPEL4WS 1.1 process. This hint is ignored for a WS-BPEL 2.0 process in favor of the <import.../> construct.
| Attribute | Purpose |
|---|---|
| uri | a URI (within the resource repository) that can be dereferenced to obtain the WSDL definitions. |
A nested <bpel> element defines a BPEL4WS 1.1 or WS-BPEL 2.0 process definition to be compiled. At least one <bpel> element must be supplied.
| Attribute | Purpose |
|---|---|
| url | the URL from which to load the process definition. |
