Plan a travel
Choose
schedules
Book a train seat
Choose
a hotel
room
Pay the hotel
byelectronic
transfer
List free sites
to visit
Choose
schedules
Book a train seat
Choose
a hotel
Pay the hotel
by electronic transfer
List free sites
to visit
: parallel
: sequence
Start
Finish
Figure 6: Generation of the composition schema.
travel”. This service pattern is composed of three ac-
tivities shown in Figure 5.
The SAM asks for research of service patterns cor-
responding to “Search for a mean of transport” and
“Book a hotel”, and so on (see Table 1 line 18 and 19)
until all activities correspond to atomic patterns.
For the service pattern “Search for a mean of
transport” (see Figure 3), the SAM needs to use the
rule part because this pattern is conditional (see Table
1 lines 23, 24, 25, 26, 27 and 28). The result here
is the service pattern “Book a train seat”. The ser-
vice patterns “Book a hotel room” and “Plan for an
excursion” are composite service patterns. The SAM
executes on them the instructions in lines 20, 21 and
22 of the algorithm in Table 1.
All obtained service patterns are atomic except
“Pay the hotel” and “List the sites to visit” which are
conditional service patterns. The SAM executes the
instructions in lines 23, 24, 25, 26, 27 and 28.
Based on Constraint2 of the user intention, the
SAM chooses the activity “List free sites” of the con-
ditional service pattern “List the sites to visit” using
the corresponding rules.
The SAM generates the composition schema, in
which, activities correspond to obtained atomic ser-
vice patterns (see Figure 6). In this process we have
three branches in parallel. This is due to the organiza-
tion of the activities in the composite service pattern
“Plan a travel”. Indeed, the control flow of the gener-
ated process is deduced from service patterns.
5 CONCLUSIONS
This paper proposed the use of service patterns for
representing generic services. The proposed specifi-
cation of these services is important for their reusabil-
ity. In addition, the proposed specification facilitates
the matching between user intentions and available
services. This helps in efficiently finding relevant ser-
vices. Besides, service patterns can be conditional,
which allows the instantiation of generic processes in
different situations according to users intention and
context. We introduced a composition engine which
generates on the fly a process allowing to achieve the
user intention based on contextual information and
user preferences.
Future research will focus on further refinements
of the composition engine: how to acquire contex-
tual information, and how can rules of service pat-
terns evolve dynamically to adapt to different com-
plex user intentions and contexts? We intend to study
the correspondence between high level services stud-
ied in this work and the concrete Web services which
allow physical implementation of user intention.
REFERENCES
Akkiraju, R., Farrell, J., Miller, J., Nagarajan, M., Schmidt,
M.-T., Sheth, A., and Verma, K. (2005). Web service
semantics - wsdl-s. W3C Member Submission.
De Bruijn, J., Bussler, C., Domingue, J., Fensel, D., Hepp,
M., Keller, U., Kifer, M., K¨onig-Ries, B., Kopecky, J.,
Lara, R., Lausen, H., Oren, E., Polleres, A., Roman,
D., Scicluna, J., and Stollberg, M. (2005). Web ser-
vice modeling ontology (wsmo). W3C Member Sub-
mission.
Kanso, H., Elhore, A., Soul-Dupuy, C., and Tazi, S. (2008).
Semi-Automatic Analyzer to Detect Authorial Inten-
tions in Scientific Documents. Journal of Computer
Science, 3(1):19–24. ISSN 1306-4428.
Martin, D., Burstein, M., Hobbs, J., Lassila, O.,
McDermott, D., McIlraith, S., Narayanan, S.,
Paolucci, M., Parsia, B., Payne, T., et al.
(2004). OWL-S: Semantic Markup for Web Services.
http://www.w3.org/Submission/OWL-S/.
Papazoglou, M. P. (2008). Web Services: Principles and
Technology. Pearson, Prentice Hall.
Rolland, C., Kaabi, R. S., and Kra¨ıem, N. (2007). On isoa
intentional services oriented architecture. In CAiSE,
pages 158–172.
Tut, M. T. and Edmond, D. (2002). The use of patterns in
service composition. In CAiSE ’02/ WES ’02: Revised
Papers from the International Workshop on Web Ser-
vices, E-Business, and the Semantic Web, pages 28–
40, London, UK. Springer-Verlag.
Weerawarana, S., Curbera, F., Leymann, F., Storey, T., and
Ferguson, D. F. (2005). Web Services Platform Ar-
chitecture: SOAP, WSDL, WS-Policy, WS-Addressing,
WS-BPEL, WS-Reliable Messaging and More. Pren-
tice Hall PTR, Upper Saddle River, NJ, USA.
Zirpins, C., Lamersdorf, W., and Baier, T. (2004). Flexi-
ble coordination of service interaction patterns. In IC-
SOC ’04: Proceedings of the 2nd international con-
ference on Service oriented computing, pages 49–56,
New York, NY, USA. ACM Press.
INTENTION DRIVEN SERVICE COMPOSITION WITH PATTERNS
241