main) we need 8.53ms and 21.5ms to offer 1 and 10
required rewritings, respectively. A similar execution
time is needed for 40 services, 4 ranks per domain,
since in both cases we have 1 service per rank. No-
tice that before executing ProduceRewriting (Algo-
rithm 1), the iterator generates all the combinations
having the same priority. In this case, even if one so-
lution is required, all of them are published. In Fig-
ure 2, for 40 services, 2 ranks per domain, we have
2
10
rewritings to propose.
Figure 2 also shows the running time for Refine-
ment1 when dealing with 10 and 20 services. For 10
concrete services only one solution exists: both meth-
ods have the same performance (≈ 9ms). For 20 ser-
vices, since there are 2 services per domain, Refine-
ment1 computes all the 2
10
rewritings in 550ms.
With our method we can compute the 2
10
rewrit-
ings in about 170ms when we have one rank per do-
main and 2 services per rank. In this case all the solu-
tions are computed in one shot as they have the same
priority. In the case with 2 ranks per domain and
one service per rank, our method needs about 5ms,
70ms and 210ms to compute one solution, 100 solu-
tions and all the solutions, respectively. Notice that
the time generation of the 1024 solutions in the first
case is slightly smaller compared to the latter case as
the iterator computes at each step only one rewriting
(no two rewritings have the same priority). This dif-
ference illustrates the small price introduced by our
priority-oriented method.
6 CONCLUSIONS
Given the abstract specification of a composition, our
method produces combinations of services available
in the Cloud, in order to refine the specification. The
algorithm presented here extends improves our previ-
ous work in (Costa et al., 2013) by classifying solu-
tions according to an user’s profile. This new pro-
posal generates solutions in a preference order and
avoids the production of a combinatorial number of
rewritings. Our experiments show that efficiency has
been greatly improved w.r.t. (Costa et al., 2013). An
important perspective is to consider web intelligence
techniques to better explore user’s preferences.
REFERENCES
Alrifai, M., Risse, T., Dolog, P., and Nejdl, W. (2008). A
scalable approach for qos-based web service selec-
tion. In ICSOC Workshops, pages 190–199.
Alrifai, M., Skoutas, D., and Risse, T. (2010). Selecting
skyline services for qos-based web service composi-
tion. In WWW, pages 11–20.
Costa, U., Halfeld Ferrari, M., Musicante, M., and Robert,
S. (2013). Automatic refinement of service composi-
tions. In Proceedings of the International Conference
on Web Engineering (ICWE), pages 400–407.
Haddad, S., Mokdad, L., and Youcef, S. (2010). Selection
of the best composite web service based on quality
of service. In ISSS/BPSC, volume 177 of LNI, pages
255–266.
Lamparter, S., Ankolekar, A., Studer, R., and Grimm, S.
(2007). Preference-based selection of highly config-
urable web services. In Proceedings of the 16th inter-
national conference on World Wide Web.
Lemos, F., Grigori, D., and Bouzeghoub, M. (2012).
Adding non-functional preferences to service discov-
ery. In Brambilla, M., Tokuda, T., and Tolksdorf, R.,
editors, ICWE, volume 7387 of Lecture Notes in Com-
puter Science, pages 299–306. Springer.
Lin, N., Kuter, U., and Sirin, E. (2008). Web service compo-
sition with user preferences. In ESWC, volume 5021
of Lecture Notes in Computer Science, pages 629–
643. Springer.
Mesmoudi, A., Mrissa, M., and Hacid, M.-S. (2011). Com-
bining configuration and query rewriting for web ser-
vice composition. In ICWS, pages 113–120.
Paiva Tizzo, N., Coello, J., and Cardozo, E. (2011). Improv-
ing dynamic Webservice selection in WS-BPELusing
SPARQL. In Systems, Man, and Cybernetics (SMC),
2011 IEEE International Conference on, pages 864–
871.
Pottinger, R. and Halevy, A. Y. (2001). Minicon: A scalable
algorithm for answering queries using views. VLDB
J., 10(2-3):182–198.
Sandionigi, C., Ardagna, D., Cugola, G., and Ghezzi, C.
(2013). Optimizing service selection and allocation in
situational computing applications. IEEE T. Services
Computing, 6(3):414–428.
Sohrabi, S. and McIlraith, S. A. (2010). Preference-based
web service composition: A middle ground between
execution and search. In International Semantic Web
Conference (1) - ISWC 2010, volume 6496 of Lecture
Notes in Computer Science, pages 713–729. Springer.
Zeng, L., Benatallah, B., Lei, H., Ngu, A. H. H., Flaxer,
D., and Chang, H. (2003). Flexible composition of
enterprise web services. Electronic Markets, 13(2).
Zhao, W., Liu, C., and Chen, J. (2011). Automatic compo-
sition of information-providing web services based on
query rewriting. Science China Information Sciences,
pages 1–17.
Preference-drivenRefinementofServiceCompositions
275