API Features Individualizing of Web Services: REST and SOAP
Anshu Soni1, Virender Ranga2

1Anshu Soni, Department of Computer Engineering, National Institute of Technology, Kurukshetra, Haryana, India.

2Virender Ranga,  Department of Computer Engineering, National Institute of Technology, Kurukshetra, Haryana, India.

Manuscript received on 05 August 2019 | Revised Manuscript received on 12 August 2019 | Manuscript Published on 26 August 2019 | PP: 664-671 | Volume-8 Issue-9S August 2019 | Retrieval Number: I11070789S19/19©BEIESP | DOI: 10.35940/ijitee.I1107.0789S19

Open Access | Editorial and Publishing Policies | Cite | Mendeley | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open-access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Web Services are combination of open protocols and standards to allow communication between client and server. It provides an interoperability between contrasting applications. Representational state Transfer (REST) and Simple Object Access Protocol (SOAP) are the two main popular used web services now-a-days. REST is an architectural style based, whereas SOAP is a underlying protocol. Both services are used to handle the communication on the world wide web (www). Both services have some advantages and drawbacks and it is the decision of web developer to decide which service is best to use according to its requirements. The aim of this research work is to design a REST API and SOAP API by JAX-RS and JAX-WS, respectively and gives a comparative analysis of Application Programming Interface (API) features (in terms of response time, memory usage, execution speed and so on) of these services by using API testing tool like Postman. This gives insight view of which service is better to use as per requirements. The result of experiments shows that the response time of SOAP is approximate takes 4ms to 7ms more than REST. It has been observed that as number of API increases, SOAP takes approximate 1MB to 2MB more memory usage than REST.

Keywords: Architectural Style, JAX-RS, JAX-WS, Jersey, Postman, Protocol, REST, SOAP, Tomcat, Web service.
Scope of the Article: Computer Network