04.11.2014 Views

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Semantic Web Services 189<br />

and ActiveBPEL 9 . These two provide means to execute composite web services. BPEL4WS is<br />

not so complex solution as WSMX, but it is already implemented and also used in practice.<br />

Business processes can be described by BPEL4WS in two ways:<br />

– Executable business processes: model actual behavior of a participant in a business<br />

interaction.<br />

– Abstract business processes: describes the mutually visible message exchange behavior<br />

of each of the parties involved, without revealing their interior behavior.<br />

BPEL4WS is meant to describe both kinds of these processes [80]. It provides an XML<br />

language for formal specification and extends the web service interaction model and enables<br />

it to support business transactions. It is itself a flow-chart where each element is a primitive<br />

or structured activity. The primitive activities include the following:<br />

– invoke: invocation of web service operations,<br />

– receive: waiting for an message from external source,<br />

– reply: replying to an external source,<br />

– waiting: waiting for a certain time,<br />

– assign: copying data,<br />

– throws: indication of errors in execution,<br />

– terminate: terminate the process,<br />

– empty: does nothing.<br />

The structured activities contain the control constructs like sequence, switch, while. BPEL4WS<br />

contain also elements for fault and exception handling. Using the primitive and structured<br />

activities complex, executable workflows can be described.<br />

Before execution of composite web services it is suitable to analyze it. The aim is to<br />

examine the correctness of web services. This include checking the pre and postconditions,<br />

input and output data compatibility between successive services, infinite loops or deadlocks<br />

detection. The compatibility of successive services is checked by a simple algorithm. It<br />

verifies if for each service the preconditions are satisfied and input data are available as<br />

a result of the previous services or as initial data. More complicated is the infinite loop of<br />

deadlock detection in the created composition. OWL-S and BPEL4WS do not offer ways to<br />

verify this. We need other means to do this [58]. Approaches based on Petri nets, Π-calculus<br />

exist to perform this.<br />

Petri nets are used for controlling the execution of the workflow [79]. Petri net is<br />

a mathematical representation of discrete systems. It can be seen as a graphical notation<br />

9 http://www.active-endpoints.com/active-bpel-engine-overview.htm

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!