This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages) (Learn how and when to remove this message)
|
| WS-BPEL | |
|---|---|
| Web Services Business Process Execution Language | |
| Abbreviation | WS-BPEL or BPEL |
| Status | Published |
| Year started | 2001 (2001) |
| First published | April 2003; 22 years ago (2003-04) |
| Latest version | 2.0 11 April 2007; 18 years ago (2007-04-11) |
| Organization | OASIS |
| Committee | OASIS Web Services Business Process Execution Language (WSBPEL) TC |
| Base standards | XML |
| Domain | Web service integration |
| Website | docs |
TheWeb Services Business Process Execution Language (WS-BPEL), commonly known asBPEL (Business Process Execution Language), is anOASIS[1] standard executable language for specifying actions withinbusiness processes withweb services. Processes in BPEL export and import information by using web service interfaces exclusively.
One can describe web service interactions in two ways: as executable business processes and as abstract business processes.
WS-BPEL aims to model the behavior of processes,[2] via a language for the specification of both Executable and Abstract Business Processes. By doing so, it extends the Web Services interaction model and enables it to support business transactions. It also defines an interoperable integration model that should facilitate the expansion of automated process integration both within and between businesses. Its development came out of the notion[3] thatprogramming in the large andprogramming in the small required different types of languages.
As such, it is serialized inXML and aims to enable programming in the large.
The concepts ofprogramming in the large andprogramming in the small distinguish between two aspects of writing the type of long-running asynchronous processes that one typically sees in business processes:
The origins of WS-BPEL go back toWeb Services Flow Language (WSFL) andXlang.
In 2001,IBM andMicrosoft had each defined their own fairly similar, "programming in the large" languages:WSFL[4] (Web Services Flow Language) andXlang,[5] respectively. Microsoft even went ahead and created a scripting variant calledXLANG/s which would later serve as the basis for their Orchestrations services inside their BizTalk Server. They specifically documented that this language "is proprietary and is not fully documented."[6]
With the advent and popularity ofBPML, and the growing success ofBPMI.org and the open BPMS movement led byJBoss and Intalio Inc., IBM and Microsoft decided to combine these languages into a new language, BPEL4WS. In April 2003,BEA Systems, IBM, Microsoft,SAP, andSiebel Systems submitted BPEL4WS 1.1 to OASIS for standardization via the Web Services BPEL Technical Committee.[7] AlthoughBPEL4WS appeared as both a 1.0 and 1.1 version, the OASIS WS-BPEL technical committee voted[8] on 14 September 2004 to name their spec "WS-BPEL 2.0". (This change in name aligned BPEL with other web service standard naming conventions which start with "WS-" (similar to WS-Security) and took account of the significant enhancements made between BPEL4WS 1.1 and WS-BPEL 2.0.) If not discussing a specific version, the monikerBPEL is commonly used[citation needed].
In June 2007, Active Endpoints,Adobe Systems, BEA, IBM, Oracle, and SAP published theBPEL4People and WS-HumanTask specifications, which describe how human interaction in BPEL processes can be implemented.[citation needed]
There were ten original design goals associated with BPEL:
BPEL is anorchestration language, and not achoreography language. The primary difference between orchestration and choreography is executability and control. An orchestration specifies an executable process that involves message exchanges with other systems, such that the message exchange sequences are controlled by the orchestration designer. A choreography specifies a protocol for peer-to-peer interactions, defining, e.g., the legal sequences of messages exchanged with the purpose of guaranteeing interoperability. Such a protocol is not directly executable, as it allows many different realizations (processes that comply with it). A choreography can be realized by writing an orchestration (e.g., in the form of a BPEL process) for each peer involved in it. The orchestration and the choreography distinctions are based on analogies: orchestration refers to the central control (by the conductor) of the behavior of a distributed system (the orchestra consisting of many players), while choreography refers to a distributed system (the dancing team) which operates according to rules (the choreography) but without centralized control.
BPEL's focus on modern business processes, plus the histories of WSFL and XLANG, led BPEL to adopt web services as its external communication mechanism. Thus BPEL's messaging facilities depend on the use of the Web Services Description Language (WSDL) 1.1 to describe outgoing and incoming messages.
In addition to providing facilities to enable sending and receiving messages, the BPEL programming language also supports:
There is no standard graphical notation for WS-BPEL, as the OASIS technical committee decided this was out of scope. Some vendors have invented their own notations. These notations take advantage of the fact that most constructs in BPEL are block-structured (e.g., sequence, while, pick, scope, etcetera.) This feature enables a direct visual representation of BPEL process descriptions in the form ofstructograms, in a style reminiscent of aNassi–Shneiderman diagram.
Others have proposed to use a substantially different business process modeling language, namelyBusiness Process Model and Notation (BPMN), as a graphical front-end to capture BPEL process descriptions. As an illustration of the feasibility of this approach, the BPMN specification includes an informal and partial mapping[10] from BPMN to BPEL 1.1. A more detailed mapping of BPMN to BPEL has been implemented in a number of tools, including an open-source tool known as BPMN2BPEL.[11] However, the development of these tools has exposed fundamental differences between BPMN and BPEL, which make it very difficult, and in some cases impossible, to generatehuman-readable BPEL code from BPMN models. Even more difficult is the problem of BPMN-to-BPELround-trip engineering: generating BPEL code from BPMN diagrams and maintaining the original BPMN model and the generated BPEL code synchronized, in the sense that any modification to one is propagated to the other.[citation needed]
BPEL's control structures such as 'if-then-elseif-else' and 'while' as well as its variable manipulation facilities depend on the use of 'programming in the small' languages to provide logic. All BPEL implementations must support XPath 1.0 as a default language. But the design of BPEL envisages extensibility so that systems builders can use other languages as well. BPELJ[12] is an effort related to JSR 207[13] that may enable Java to function as a 'programming in the small' language within BPEL.
Despite wide acceptance ofWeb services in distributed business applications, the absence of human interactions was a significant gap for many real-world business processes.
To fill this gap, BPEL4People extended BPEL fromorchestration of Web services alone to orchestration of role-based human activities as well.
Within the context of a business process BPEL4People
by extending BPEL with additional independent syntax and semantic.
TheWS-HumanTask specification introduces the definition of human tasks and notifications, including their properties, behavior and a set of operations used to manipulate human tasks. A coordination protocol is introduced in order to control autonomy and life cycle of service-enabled human tasks in an interoperable manner.
TheBPEL4People specification introduces a WS-BPEL extension to address human interactions in WS-BPEL as afirst-class citizen. It defines a new type of basic activity which uses human tasks as an implementation, and allows specifying tasks local to a process or use tasks defined outside of the process definition. This extension is based on the WS-HumanTask specification.
Version 2.0 introduced some changes and new features:
bpws:doXslTransform)$variable[.part]/location)This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Business Process Execution Language" – news ·newspapers ·books ·scholar ·JSTOR(October 2008) (Learn how and when to remove this message) |
{{cite journal}}:Cite journal requires|journal= (help){{cite web}}: CS1 maint: archived copy as title (link)