Automated Clarification of Constraints in Web Services for Accurate Service Reuse

  • Xiaocao Hu
  • Zhiyong Feng
  • Shizhan Chen
  • Keman HuangEmail author
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9464)


Service reuse must follow certain constraints in order to correctly interact with Web Services. Violations of constraints can cause fatal errors or incorrect results in the service reuse. However, constraints are often not formally specified and are thus not available in the service reuse. To address this issue, this paper focuses on two common types of such constraints, including location constraints on Web Services and object constraints on simple parameters. An approach is proposed to clarify the two constraints automatically, via a hybrid analysis of heterogeneous information, including the social tags and the service documentations. Then an improved method is presented to identify collaborative relations among Web Services, integrating constraints compatibility into semantic matching. One experiment is carried out on 509 Web Services crawled from the Internet to evaluate the effectiveness of our approach. The other experiment is conducted on the same dataset to assess impacts of the two constraints on service relations. Experimental results show that our approach can clarify the two types of constraints effectively and achieve adequate recall and precision. Moreover, it is indicated that the two types of constraints, especially object constraints, have significant impacts on improving the quality of identified service relations, thus provide a strong guarantee for accurate service reuse.


Web Services Location constraints Object constraints Opencyc Constraints compatibility Service relations 



This work is supported by the National Natural Science Foundation of China grant 61373035, 61173155, the Tianjin Research Program of Application Foundation and Advanced Technology grant 14JCYBJC15600.


  1. 1.
    Vaughan-Nichols, S.J.: Web services: beyond the hype. Computer 35, 18–21 (2002)CrossRefGoogle Scholar
  2. 2.
    McIlraith, S.A., Son, T.C., Zeng, H.L.: Semantic Web Services. IEEE Intell. Syst. 16, 46–53 (2001)CrossRefGoogle Scholar
  3. 3.
    Hu, X., Chen, S., Feng, Z.: Semi-automatic acquisition and formal representation of OpenAPI. In: Khachidze, V., Wang, T., Siddiqui, S., Liu, V., Cappuccio, S., Lim, A. (eds.) iCETS 2012. CCIS, vol. 332, pp. 85–96. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  4. 4.
    Wang, L.J., Liu, F., Zhang, L.J., Li, G., Xie, B.: Enriching descriptions for public web services using information captured from related web pages on the internet. In: 5th IEEE International Symposium on Service-Oriented System Engineering, pp. 141–150. IEEE Computer Society Press, Washington (2010)Google Scholar
  5. 5.
    Bizer, C., Lehmann, J., Kobilarov, G., Auer, S., Becker, C., Cyganiak, R., Hellmann, S.: DBpedia - a crystallization point for the web of data. J. Web. Semant. 7(3), 154–165 (2009)CrossRefGoogle Scholar
  6. 6.
    Lenat, D.B.: CYC: a large-scale investment in knowledge infrastructure. Commun. ACM 38(11), 33–38 (1995)CrossRefGoogle Scholar
  7. 7.
    Suchanek, F., Kasneci, G., Weikum, G.: Yago: a core of semantic knowledge. In: 16th International Conference on World Wide Web, pp. 697–706. ACM (2007)Google Scholar
  8. 8.
    Pan, W.S., Chen, S.Z., Feng, Z.Y.: Automatic clustering of social tag using community detection. Appl. Math. Inf. Sci. 7, 675–681 (2013)CrossRefGoogle Scholar
  9. 9.
    Wu, Q., Wu, L., Liang, G.T., Xie, T., Mei, H.: Inferring Dependency constraints on parameters for web services. In: 22nd International Conference on World Wide Web, pp. 1421–1432. International World Wide Web Conferences Steering Committee, Republic and Canton of Geneva (2013)Google Scholar
  10. 10.
    Bertolino, A., Inverardi, P., Pelliccione, P., Tivoli, M.: Automatic synthesis of behavior protocols for composable web-services. In: 7th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering, pp. 141–150. ACM, New York (2009)Google Scholar
  11. 11.
    Fisher, M., Elbaum, S., Rothermel, G.: Automated Refinement and augmentation of web service description files. Technical report, University of Nebraska-Lincoln (2007)Google Scholar
  12. 12.
    Bouchiha, D., Malki, M.: Semantic annotation of web services. In: 4th International Conference on Web and Information Technologies, pp. 60–69 (2012)Google Scholar
  13. 13.
    Kungas, P., Dumas, M.: Cost-effective semantic annotation of XML schemas and web service interfaces. In: IEEE International Conference on Services Computing, pp. 372–379. IEEE Computer Society Press, Washington (2009)Google Scholar
  14. 14.
    Lerman, K., Plangprasopchok, A., Knoblock, C.A.: Automatically labeling the inputs and outputs of web services. In: 21st National Conference on Artificial Intelligence, pp. 1363–1368. AAAI Press (2006)Google Scholar
  15. 15.
    Patil, A.A., Oundhakar, S.A., Sheth, A.P., Verma, K.: METEOR-S web service annotation framework. In: 13th International Conference on World Wide Web, pp. 553–562. ACM, New York (2004)Google Scholar
  16. 16.
    Lee, D., Kwon, J., Lee, S., Park, S., Hong, B.: Scalable and efficient web services composition based on a relational database. J. Syst. Softw. 84(12), 2139–2155 (2011)CrossRefGoogle Scholar
  17. 17.
    Shin, D.H., Lee, K.H., Suda, T.: Automated generation of composite web services based on functional semantics. J. Web. Semant. 7(4), 332–343 (2009)CrossRefGoogle Scholar
  18. 18.
    Tang, X.F., Jiang, C.J., Zhou, M.C.: Automatic web service composition based on horn clauses and petri nets. Expert Syst. Appl. 38(10), 13024–13031 (2011)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Xiaocao Hu
    • 1
  • Zhiyong Feng
    • 1
  • Shizhan Chen
    • 1
  • Keman Huang
    • 1
    Email author
  1. 1.Tianjin Key Laboratory of Cognitive Computing and ApplicationSchool of Computer Science and Technology, Tianjin UniversityTianjinChina

Personalised recommendations