Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Semantically realizing discovery and composition for RESTful web services

  • Regular Paper
  • Published:
Computing Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Notes

  1. https://swagger.io/specification/.

  2. https://rapidapi.com/hub.

  3. https://github.com/ESIPFed/sweet.

  4. https://www.dbpedia.org/.

  5. https://myfitnesspalapi.com/.

References

  1. 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

    Article  Google Scholar 

  2. 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

    Article  Google Scholar 

  3. Yu Q, Liu X, Bouguettaya A, Medjahed B (2008) Deploying and managing web services: issues, solutions, and directions. VLDB J 17:537–572

    Article  Google Scholar 

  4. 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

    Article  Google Scholar 

  5. Garriga M, Flores A, Cechich A, Zunino A (2015) Web services composition mechanisms: a review. IETE Tech Rev 32(5):376–383

    Article  Google Scholar 

  6. 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

    Article  Google Scholar 

  7. 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

    Article  Google Scholar 

  8. 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

  9. 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

    Article  Google Scholar 

  10. Zhang F, Zeng Q, Duan H, Liu C (2019) Composition context-based web services similarity measure. IEEE Access 7:65195–65206

    Article  Google Scholar 

  11. 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

    Article  Google Scholar 

  12. 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

  13. 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

  14. Paliwal AV, Shafiq B, Vaidya J, Xiong H, Adam N (2011) Semantics-based automated service discovery. IEEE Trans Serv Comput 5(2):260–275

    Article  Google Scholar 

  15. Ngan LD, Kanagasabai R (2013) Semantic web service discovery: state-of-the-art and research challenges. Pers Ubiquit Comput 17:1741–1752

    Article  Google Scholar 

  16. 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

    Article  Google Scholar 

  17. 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

    Article  Google Scholar 

  18. 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

    Article  Google Scholar 

  19. 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

  20. Kil H, Nam W (2013) Semantic web service composition via model checking techniques. Int J Web Grid Serv 9(4):339–350

    Article  Google Scholar 

  21. 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

    Article  Google Scholar 

  22. Pautasso C (2009) Restful web service composition with bpel for rest. Data Knowl Eng 68(9):851–866

    Article  Google Scholar 

  23. 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

    Article  Google Scholar 

  24. Zhovtobryukh D (2007) A petri net-based approach for automated goal-driven web service composition. Simulation 83(1):33–63

    Article  Google Scholar 

  25. 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

  26. 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

  27. 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

    Article  Google Scholar 

  28. Mohamed M, Oussalah M (2020) A hybrid approach for paraphrase identification based on knowledge-enriched semantic heuristics. Lang Resour Eval 54:457–485

    Article  Google Scholar 

Download references

Funding

This study was financially supported by the Science and Technology Development Plan of Jilin Province (Grant No. 20220203175SF).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Haijun Gu.

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00607-024-01289-8

Keywords

Mathematics Subject Classification