A Hybrid Approach Using Genetic Programming and Greedy Search for QoS-Aware Web Service Composition

  • Hui MaEmail author
  • Anqi Wang
  • Mengjie Zhang
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8980)


Service compositions build new web services by orchestrating sets of existing web services provided in service repositories. Due to the increasing number of available web services, the search space for finding best service compositions is growing exponentially. Further, there are many available web services that provide identical functionality but differ in their Quality of Service (QoS). Decisions need to be made to determine which services are selected to participate in service compositions with optimized QoS properties.

In this paper, a hybrid approach to service composition is proposed that combines the use of genetic programming and random greedy search. The greedy algorithm is utilized to generate valid and locally optimized individuals to populate the initial generation for genetic programming (GP), and to perform mutation operations during genetic programming.

A full experimental evaluation has been carried out using public benchmark test cases with repositories of up to 15,000 web services and 31,000 properties. The results show good performance in searching for best service compositions, where the number of atomic web services used and the tree depth are used as objectives for minimization.

Further, we extend our approach to the more general problem of finding service composition solutions that have near-optimal QoS. Our experimental evaluation demonstrates that our GP-based greedy algorithm enhanced approach can be applied with good performance to the QoS-aware service composition problem.


Genetic Programming Service Composition Composite Service Atomic Service Service Repository 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Al-Masri, E., Mahmoud, Q.H.: QoS-based discovery and ranking of web services. In: IEEE International Conference on Computer Communications and Networks (ICCCN) (2007)Google Scholar
  2. 2.
    Amiri, M.A., Serajzadeh, H.: QoS aware web service composition based on genetic algorithm. In: International Symposium on Telecommunications (IST), pp. 502–507 (2010)Google Scholar
  3. 3.
    Andrews, T.: Business Process Execution Language for Web Services (2003)Google Scholar
  4. 4.
    Aversano, L., di Penta, M., Taneja, K.: A genetic programming approach to support the design of service compositions. Int. J. Comput. Syst. Sci. Eng. 21(4), 247–254 (2006)Google Scholar
  5. 5.
    Bang-Jensen, J.: Digraphs: Theory, Algorithms and Applications. Springer, London (2008)Google Scholar
  6. 6.
    Bansal, A., Blake, M., Kona, S., Bleul, S., Weise, T., Jaeger, M.: WSC-08: Continuing the web services challenge. In: IEEE Conference on E-Commerce Technology, pp. 351–354 (2008)Google Scholar
  7. 7.
    Canfora, G., Di Penta, M.: A lightweight approach for QoS-aware service composition. In: International Conference on Service-Oriented Computing (ICSOC) (2004)Google Scholar
  8. 8.
    Canfora, G., Di Penta, M., Esposito, R., Villani, M.L.: An approach for QoS-aware service composition based on genetic algorithms. In: International Conference on Genetic and Evolutionary Computation (GECCO), pp. 1069–1075 (2005)Google Scholar
  9. 9.
    Cardoso, J., Miller, J., Sheth, A., Arnold, J.: Quality of service for workflows and web service processes. J. Web Semantics 1, 281–308 (2004)CrossRefGoogle Scholar
  10. 10.
    Carman, M., Serafini, L., Traverso, P.: Web service composition as planning. In: ICAPS Workshop on Planning for Web Services (2003)Google Scholar
  11. 11.
    Cormen, T.H., Stein, C., Rivest, R.L., Leiserson, C.E.: Introduction to Algorithms. McGraw-Hill, Boston (2001)zbMATHGoogle Scholar
  12. 12.
    Elmaghraoui, H., Zaoui, I., Chiadmi, D., Benhlima, L.: Graph-based e-government web service composition. CoRR, abs/1111.6401 (2011)Google Scholar
  13. 13.
    Goldberg, D.E.: Genetic Algorithms in Search, Optimization and Machine Learning. Addison-Wesley, Reading (1989)zbMATHGoogle Scholar
  14. 14.
    Hashemian, S., Mavaddat, F.: A graph-based approach to web services composition. In: International Symposium on Applications and the Internet, pp. 183–189 (2005)Google Scholar
  15. 15.
    Jaeger, M.C., Muehl, G.: QoS-based selection of services: The implementation of a genetic algorithm. In: KiVS Workshop on Service-Oriented Architectures and Service-Oriented Computing, pp. 359–370 (2007)Google Scholar
  16. 16.
    Klusch, M., Gerber, A.: Semantic web service composition planning with OWLS-XPlan. In: International AAAI Symposium on Agents and the Semantic Web (2005)Google Scholar
  17. 17.
    Kona, S., et al.: WSC-2009: A quality of service-oriented web services challenge. In: IEEE International Conference on Commerce and Enterprise Computing, pp. 487–490 (2009)Google Scholar
  18. 18.
    Koza, J.: Genetic Programming. MIT Press, Cambridge (1992)zbMATHGoogle Scholar
  19. 19.
    Kuster, U., Konig-Ries, B., Krug, A.: An online portal to collect and share SWS descriptions. In: IEEE International Conference on Semantic Computing, pp. 480–481 (2008)Google Scholar
  20. 20.
    Martin, D., et al.: OWL-S Semantic Markup for Web Services (2004)Google Scholar
  21. 21.
    Ma, H., Bastani, F., Yen, I.-L., Mei, H.: QoS-driven service composition with reconfigurable services. IEEE Trans. Serv. Comput. 6(1), 20–34 (2013)CrossRefGoogle Scholar
  22. 22.
    Oh, S.-C., Lee, D., Kumara, S.: Effective web service composition in diverse and large-scale service networks. IEEE Trans. Serv. Comput. 1(1), 15–32 (2008)CrossRefGoogle Scholar
  23. 23.
    Oh, S.-C., Lee, D., Kumara, S.R.T.: A comparative illustration of AI planning-based web services composition. SIGecom Exch. 5(5), 1–10 (2006)CrossRefGoogle Scholar
  24. 24.
    Pistore, M., Marconi, A., Bertoli, P., Traverso, P.: Automated composition of web services by planning at the knowledge level. In: IJCAI, pp. 1252–1259 (2005)Google Scholar
  25. 25.
    Rao, J., Küngas, P., Matskin, M.: Composition of semantic web services using linear logic theorem proving. Inf. Syst. 31(4), 340–360 (2006)CrossRefGoogle Scholar
  26. 26.
    Rodriguez-Mier, P., Mucientes, M., Lama, M., Couto, M.: Composition of web services through genetic programming. Evol. Intel. 3, 171–186 (2010)CrossRefGoogle Scholar
  27. 27.
    Wang, A., Ma, H., Zhang, M.: Genetic programming with greedy search for web service composition. In: Decker, H., Lhotská, L., Link, S., Basl, J., Tjoa, A.M. (eds.) DEXA 2013, Part II. LNCS, vol. 8056, pp. 9–17. Springer, Heidelberg (2013) CrossRefGoogle Scholar
  28. 28.
    Xia, H., Chen, Y., Li, Z., Gao, H., Chen, Y.: Web service selection algorithm based on particle swarm optimization. In: IEEE DASC, pp. 467–472 (2009)Google Scholar
  29. 29.
    Xiao, L., Chang, C., Yang, H.I., Lu, K.S., Jiang, H.Y.: Automated web service composition using genetic programming. In: IEEE COMPSAC, pp. 7–12 (2012)Google Scholar
  30. 30.
    Yang, Z., Shang, C., Liu, Q., Zhao, C.: A dynamic web services composition algorithm. J. Comput. Inf. Syst. 6(8), 2617–2622 (2010)Google Scholar
  31. 31.
    Zeng, L., Benatallah, B., Dumas, M., Kalagnanam, J., Sheng, Q.Z.: Quality driven web services composition. In: International Conference on World Wide Web (WWW), pp. 411–421 (2003)Google Scholar
  32. 32.
    Zeng, L., Benatallah, B., Ngu, A., Dumas, M., Kalagnanam, J., Chang, H.: QoS-aware middleware for web services composition. IEEE Trans. Softw. Eng. 30(5), 311–327 (2004)CrossRefGoogle Scholar
  33. 33.
    Zhang, C., Ma, Y.: Genetic algorithm for QoS-aware web service selection based on chaotic sequences. In: International Conference on Network-Based Information Systems (NBIS), pp. 410–416 (2009)Google Scholar
  34. 34.
    Zhang, L.-J., Li, B.: Requirements driven dynamic services composition for web services and grid solutions. J. Grid Comput. 2, 121–140 (2004)CrossRefGoogle Scholar
  35. 35.
    Zhang, W., Chang, C.K., Feng, T., Jiang, H.Y.: QoS-based dynamic web service composition with ant colony optimization. In: IEEE COMPSAC, pp. 493–502 (2010)Google Scholar
  36. 36.
    Xiangbing, Z., Hongjiang, M., Fang, M.: An optimal approach to the QoS-based WSMO web service composition using genetic algorithm. In: Ghose, A., Zhu, H., Yu, Q., Delis, A., Sheng, Q.Z., Perrin, O., Wang, J., Wang, Y. (eds.) ICSOC 2012. LNCS, vol. 7759, pp. 127–139. Springer, Heidelberg (2013) CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2015

Authors and Affiliations

  1. 1.Victoria University of WellingtonWellingtonNew Zealand

Personalised recommendations