Mining accurate message formats for service APIs
Version 2 2024-06-05, 01:57Version 2 2024-06-05, 01:57
Version 1 2019-03-28, 14:49Version 1 2019-03-28, 14:49
conference contribution
posted on 2024-06-05, 01:57 authored by MA Hossain, S Versteeg, J Han, MA Kabir, J Jiang, Jean-Guy SchneiderJean-Guy Schneider© 2018 IEEE. APIs play a significant role in the sharing, utilization and integration of information and service assets for enterprises, delivering significant business value. However, the documentation of service APIs can often be incomplete, ambiguous, or even non-existent, hindering API-based application development efforts. In this paper, we introduce an approach to automatically mine the fine-grained message formats required in defining the APIs of services and applications from their interaction traces, without assuming any prior knowledge. Our approach includes three major steps with corresponding techniques: (1) classifying the interaction messages of a service into clusters corresponding to message types, (2) identifying the keywords of messages in each cluster, and (3) extracting the format of each message type. We have applied our approach to network traces collected from four real services which used the following application protocols: REST, SOAP, LDAP and SIP. The results show that our approach achieves much greater accuracy in extracting message formats for service APIs than current state-of-art approaches.
History
Pagination
266-276Location
Campobasso, ItalyStart date
2018-03-20End date
2018-03-23ISBN-13
9781538649695Language
engPublication classification
E1.1 Full written paper - refereedCopyright notice
2018, IEEETitle of proceedings
SANER 2018: Proceedings of the 25th IEEE International Conference on Software Analysis, Evolution and ReengineeringEvent
Software Analysis, Evolution and Reengineering. IEEE International Conference (25th : 2018 : Campobasso, Italy)Publisher
IEEEPlace of publication
Piscataway, N.J.Usage metrics
Categories
No categories selectedLicence
Exports
RefWorksRefWorks
BibTeXBibTeX
Ref. managerRef. manager
EndnoteEndnote
DataCiteDataCite
NLMNLM
DCDC