Deakin University
Browse

File(s) under permanent embargo

Mining accurate message formats for service APIs

Version 2 2024-06-05, 01:57
Version 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-276

Location

Campobasso, Italy

Start date

2018-03-20

End date

2018-03-23

ISBN-13

9781538649695

Language

eng

Publication classification

E1.1 Full written paper - refereed

Copyright notice

2018, IEEE

Title of proceedings

SANER 2018: Proceedings of the 25th IEEE International Conference on Software Analysis, Evolution and Reengineering

Event

Software Analysis, Evolution and Reengineering. IEEE International Conference (25th : 2018 : Campobasso, Italy)

Publisher

IEEE

Place of publication

Piscataway, N.J.

Usage metrics

    Research Publications

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC