Abstract
The processes of service discovery and composition are crucial tasks in application development driven by Web Services. However, with RESTful Web Service replacing SOAP-based Web Service as the dominant service-providing approach, the research on service discovery and composition should also shift its focus from SOAP-based Web Service to RESTful Web Service. The unstructured, resource-oriented and unified interface characteristics of RESTful Web Service pose challenges to its discovery and composition process. In this work, a framework for implementing RESTful Web Service discovery and automatic composition based on semantic technology is proposed. Firstly, the framework uses the OpenAPI Specification (OAS), which is extended by resource attributes, as the RESTful Web Service description specification, and then supports semantic-based matching discovery and automatic composition by attaching the concepts of domain ontology to the extended OAS. Secondly, the framework is fully adapted to REST features and provides a method for building service composition dependencies during registration, which is used to generate composition schemes during the service discovery process. Finally, the framework provides a discovery method that can return RESTful Web services to the requester in the form of single-point services or service composition schemes according to the magnitude of the semantic similarity with the requester’s requirements. We applied the proposed methods to experiment with RESTful Web services in three different fields, and the results show that the methods effectively calculate the similarity between RESTful single-point Web services or composite Web services and service requests with the support of domain ontology.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Erickson J, Siau K (2008) Web services, service-oriented computing, and service-oriented architecture: separating hype from reality. J Datab Manag (JDM) 19(3):42–54
Qi L, He Q, Chen F, Zhang X, Dou W, Ni Q (2020) Data-driven web apis recommendation for building web applications. IEEE Trans Big Data 8(3):685–698
Yu Q, Liu X, Bouguettaya A, Medjahed B (2008) Deploying and managing web services: issues, solutions, and directions. VLDB J 17:537–572
Crasso M, Zunino A, Campo M (2011) A survey of approaches to web service discovery in service-oriented architectures. J Datab Manag (JDM) 22(1):102–132
Garriga M, Flores A, Cechich A, Zunino A (2015) Web services composition mechanisms: a review. IETE Tech Rev 32(5):376–383
Curbera F, Duftler M, Khalaf R, Nagy W, Mukhi N, Weerawarana S (2002) Unraveling the web services web: an introduction to soap, wsdl, and uddi. IEEE Internet Comput 6(2):86–93
Garriga M, Mateos C, Flores A, Cechich A, Zunino A (2016) Restful service composition at a glance: A survey. J Netw Comput Appl 60:32–53
Adamczyk P, Smith PH, Johnson RE, Hafiz M (2011) Rest and web services: In theory and in practice. REST: from research to practice, 35–57
Cheng B, Zhao S, Li C, Chen J (2016) A web services discovery approach based on mining underlying interface semantics. IEEE Trans Knowl Data Eng 29(5):950–962
Zhang F, Zeng Q, Duan H, Liu C (2019) Composition context-based web services similarity measure. IEEE Access 7:65195–65206
Halilali MS, Gouardères E, Gaio M, Devin F (2022) Geospatial web services discovery through semantic annotation of wps. ISPRS Int J Geo Inf 11(4):254
Facciorusso C, Field S, Hauser R, Hoffner Y, Humbel R, Pawlitzek R, Rjaibi W, Siminitz C (2003) A web services matchmaking engine for web services. In: E-Commerce and Web Technologies: 4th International Conference, EC-Web, Prague, Czech Republic, September 2-5, 2003. Proceedings 4, pp. 37–49. Springer
Sajjanhar A, Hou J, Zhang Y (2004) Algorithm for web services matching. In: Advanced web technologies and applications: 6th Asia-Pacific Web Conference, APWeb 2004, Hangzhou, China, April 14-17, 2004. Proceedings 6, pp. 665–670. Springer
Paliwal AV, Shafiq B, Vaidya J, Xiong H, Adam N (2011) Semantics-based automated service discovery. IEEE Trans Serv Comput 5(2):260–275
Ngan LD, Kanagasabai R (2013) Semantic web service discovery: state-of-the-art and research challenges. Pers Ubiquit Comput 17:1741–1752
Dantas JRV, Farias PPM (2020) An architecture for restful web service discovery using semantic interfaces. International Journal on Semantic Web and Information Systems (IJSWIS) 16(1):1–24
Wang S, Zhu X, Yang F (2014) Efficient qos management for qos-aware web service composition. Int J Web Grid Serv 10(1):1–23
Jatoth C, Gangadharan G, Buyya R (2015) Computational intelligence based qos-aware web service composition: a systematic literature review. IEEE Trans Serv Comput 10(3):475–492
Xing Y, Li Y, Yu X (2005) Using semantic matching, research on semantic web services composition. In: Advances in web intelligence: third international atlantic web intelligence conference, AWIC 2005, Lodz, Poland, June 6-9, 2005. Proceedings 3, pp. 445–450. Springer
Kil H, Nam W (2013) Semantic web service composition via model checking techniques. Int J Web Grid Serv 9(4):339–350
Abid A, Rouached M, Messai N (2020) Semantic web service composition using semantic similarity measures and formal concept analysis. Multim Tool Appl 79:6569–6597
Pautasso C (2009) Restful web service composition with bpel for rest. Data Knowl Eng 68(9):851–866
Arch-Int N, Arch-Int S, Sonsilphong S, Wanchai P (2017) Graph-based semantic web service composition for healthcare data integration. J Healthc Eng. https://doi.org/10.1155/2017/4271273
Zhovtobryukh D (2007) A petri net-based approach for automated goal-driven web service composition. Simulation 83(1):33–63
Ed-Douibi H, Cánovas Izquierdo JL, Cabot J (2017) Example-driven web api specification discovery. In: Modelling foundations and applications: 13th European Conference, ECMFA 2017, Held as Part of STAF 2017, Marburg, Germany, July 19-20, 2017, Proceedings 13, pp. 267–284. Springer
Karavisileiou A, Mainas N, Petrakis EG (2020) Ontology for openapi rest services descriptions. In: 2020 IEEE 32nd International Conference on Tools with Artificial Intelligence (ICTAI), pp. 35–40. IEEE
Jayawardhana UK, Gorsevski PV (2019) An ontology-based framework for extracting spatio-temporal influenza data using twitter. Int J Digital Earth 12(1):2–24
Mohamed M, Oussalah M (2020) A hybrid approach for paraphrase identification based on knowledge-enriched semantic heuristics. Lang Resour Eval 54:457–485
Funding
This study was financially supported by the Science and Technology Development Plan of Jilin Province (Grant No. 20220203175SF).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no Conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Gu, H., Ma, Y., Wang, S. et al. Semantically realizing discovery and composition for RESTful web services. Computing 106, 2361–2387 (2024). https://doi.org/10.1007/s00607-024-01289-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00607-024-01289-8
Keywords
- RESTful web service
- RESTful web service description
- RESTful web service discovery
- RESTful web service composition
- Semantics