You are on page 1of 2

88

Methods for Specification and Verification of


Complex Web-Services
Elena Tkachova, Saad Isaam
Telecommunication systems departament
Kharkiv National University of Radioelectronics
Kharkov, Ukraine
korov4enko@mail.ru

Abstract — This is formalisms for defining of rules of process, operations to execute, messages to exchange as
Web-services orchestration and choreography that allows to well as the timing of message exchanges [3, 4].
combine elements of a distributed system in a single system.
Proposed approach allows to perform formal association of Complex services are composed of several atomic ser-
individual system components into a single unit. Proposed vices united in accordance with defined structure (scenar-
verification method for distributed systems based on the io). These scenarios represent the execution order of atomic
model approach. services in the composition of the complex. In Figure 1
depict five major operators which can be described by the
Keywords: Web-service, verification, orchestration, complex structure of the service: serial, parallel, condition-
choreography, modeling language al, loop and failover.
S2
I. INTRODUCTION S1 S2 S3
p1
S4
S1
In recent years the main trend in the business field is to Serial composite service p2 S3
transfer many processes in the global multiservice net- Conditional Composite service

works. Web-services are used to distribute different type of S2 p1+ p2+…+ pn=1
1
services over the Internet. Technical realization of such S1 S4
1
S2 S1

services is able due to using Web-services within the ser- S3


S1 S4
Loop
1
vice-oriented architecture (SOA) paradigm [1, 2]. Web- 1 S3
Parallel composite
services architecture becomes complex greatly. Complex service Failover Composite service
S2=S3
and distributed services have been increasingly used. The
main purpose of the developers in this case becomes a flex- Fig.1. Operators for complex Web-services
ible and proper combination of different elementary (sin-
gle) services into composite (combined) services. Elemen- Technical requirements for correct Web-services exe-
tary services are used as a component of higher level ser- cution in accordance with the SOA concept are [1, 4]:
vices, including the possibility of recursion - combining
1. Flexibility. Separation between the logic of the
composite services into more complex structures.
process and services.
2. Simple and structured activities. The process of
II. WEB-SERVICES ORCHESTRATION AND CHOREOGRAPHY harmonization of services should support actions for access
Orchestration in general term, means «modeling aimed, other Web-services, and to describe process semantics.
internal business processes». Web-services choreography Simple action can be considered as a component that inter-
means «interactions specification between autonomous acts with something out of the process, while the structured
business processes» or sequencing conditions for inde- action controls the overall execution of the process by
pendent participants exchange messages [1, 2]. specifying the composition and procedure.
3. Recursive composition. A separate business pro-
Orchestration of business processes related to particular cess may interact with a plurality of Web-Services. The
concepts and describes the process that occurs between the process can be represented as a Web-service aggregation
services (as a set of atomic services) which are controlled process in a higher level.
by one of the parties of participating in service, and defines
the logic selection processes. Services orchestration implies Serial transaction processing and correlation queries
a capacity to monitor the implementation of software ap- [5]. Long to execute services should ensure transactional
plications (e.g., applications, components, services) to integrity and exception management, as well as open ac-
achieve the desired result. Build a logic-based representa- cess to many resources. For choreography the modeling
tion of the process standardizes the composition across the language complements is the structural information of the
organization (party providing the service) [3, 4]. communicating components (for example service interface
descriptions and message types). The modeling language
Choreography, in contrast, does not depend on a central should consist description for different model types and
orchestrator. Each Web-service that participates in the cho- different aspects of Web-services. So, for full description
reography has to know exactly when to become active and of complex services can be used next models [6]:
with whom to interoperate. Choreography is based on col-
laboration and is mainly used to exchange messages in • Global Choreography Model. The global choreog-
public business processes. All Web-services which take raphy model is a labeled transition system which
part in the choreography must be conscious of the business specifies a high-level view of the conversation be-

October 14-17, 2014 Kharkiv, Ukraine


89
tween service components. Its purpose is to define come-first-served basis. Requirements must be satisfied
every allowed sequence of observed messages. with respect to the quality of service (delay time, the se-
quence of transactions). It provides a reliable layer for the
• Local Partner Model. The local partner models exchange of information between parties, guaranteeing the
(LPMs) specify the communication-relevant behav- delivery of information with an exactly-once semantics.
ior for exactly one participating service component.
More over modeling approach is used for verification
• Channel Model. The channel model (CM) describes multiservice distributed systems that have real-time appli-
the characteristics of the communication channel on cation. Using this verification approach, the properties and
which messages are exchanged between the service characteristics that should have a distributed system is for-
components. mally defined. Verification takes into account the structure
and behavioral properties of processes.
Today there are no standardized communication proto-
cols of services collaboration, which are represented by The process of verification of distributed systems in-
different developers. In general, collaboration protocol volves close interaction between the provider (organization
relates to the organization of communication between sev- providing process) and developer of Web-service [2, 5].
eral members of the business process, while the composi- Important point in the construction of a common service
tion of services is a private (closed) process, controlled by model is the representation of correct interaction of internal
a separate party. BPEL language supports both executable and external processes of the various participants [7].
processes, and the organization of interaction between
In the verification process Web-services, perform the
them. BPML and WSCI can work together so that BPML
following steps:
simulated execution of the business process, and WSCI -
choreography of Web-services [1, 4]. 1. Formal representation of the composition process of
each service providing;
Formal representation of elementary Web-service is as
follows: S:Inp out. 2. Formal representation of the interaction service com-
position;
In this case S – a service; Inp – a finite set of input pa-
rameters; this parameters affect to business process per- 3. Building a model for complex Web-service witch
formance, {Inp1, Inp2, … InpX}, Out – finite set of output based on E-network;
parameters {Out1, Out2, … OutX}.
4. Analysis of the model Web-service properties such
Expanded view service encompasses description of the as boundedness, liveness, reachability, coverability.
conditions that are required to service perform (precondi-
tions), and changes subject area. Implementation of Web- 5. Service verification based on the model approach:
service generates these changes. check for different Web-service consistency, check for
compatibility requirements orchestration and choreography
for each service.
III. THE STEPS OF VERIFICATION APPROACH
Web-services verification is differ from the verification REFERENCES
of telecommunication protocols. Web-services can change
[1] Westerman J. SOA Today: Introduction to Service-Oriented
the value of current parameters in real time execution; con- Architecture, http://www.information-
sider an asynchronous mode for interaction and the ability management.com/news/7992-1.html.
to access multiple resources of a distributed system [6, 7]. [2] Peltz C. Web services orchestration and choreography // IEEE
Computer., Vol. 36 №10., P.6-52., Oct. 2003.
The main requirements for Web-services in distributed
[3] Vardi M.Y. An automata-theoretic approach to automatic program
system are [3, 4]: verification / M.Y. Vardi, P. Wolper // Proc. of the First
Symposium on Logic in Computer Science., pp. 322-331, 1986.
1. Interface Compatibility – focusing on semantics of
correlating invocations against receiving and message re- [4] Lafuente A. Directed Search for the Verification of communication
protocols / A. Lafuente // Doctorial thesis, Institute of computer
plies between partner processes. science, University of Freiburg, 157 p., 2009.
2. Safety Compatibility – assurance that the composi- [5] Langdon C. S. The state of Web services // IEEE Computer, Vol.
36 №7. pp.96-99, 2010.
tion is deadlock free and is checked against partial correct-
ness of transitions. It provides a reliable layer for the ex- [6] Baldoni M., Baroglio C., Martelli A. Verifying the conformance of
web services to global interaction protocols: A first step.//
change of information between parties, guaranteeing the International Workshop on Web Services and Formal Methods,
delivery of information with an exactly-once semantics. 2010.
3. Liveness Compatibility – assurance against starva- [7] Bravetti M., Guidi C., Lucchi R. Supporting e-commerce systems
formalization with choreography languages // SAC ’05:
tion of progress (that the service process eventually termi- Proceedings of the 2005 ACM symposium on Applied computing:
nates) and those messages received are served on a first- New York, NY, USA, pp. 831–835, 2005.

2014 First International Scientific-Practical Conference


Problems of Infocommunications. Science and Technology

You might also like