Volume 6

V6 N1 Pages 4-26

February 2013


Comparing Performance of Web Service Interaction Styles:
SOAP vs. REST


Pavan Kumar
University of North Florida
Jacksonville, FL 32224, USA

Sanjay Ahuja
University of North Florida
Jacksonville, FL 32224, USA

Karthikeyan Umapathy
University of North Florida
Jacksonville, FL 32224, USA

Zornitza Prodanoff
University of North Florida
Jacksonville, FL 32224, USA

Abstract: This paper presents a comparative performance evaluation of two Web service implementations: one is based on SOAP and the other on Representational State Transfer (REST). SOAP and REST-based development approaches handle service interactions quite differently. SOAP is a standardized framework for constructing and processing messages independent of the technological capabilities of the receiver and can work on top of a variety of application layer protocols such as RPC, HTTP, or SMTP, whereas, REST is a set of principles for designing Web applications (HTTP as the underlying protocol). We built SOAP and REST-based Web services that perform CRUD operations on a database and retrieve local files. We utilized response time and throughput metrics to compare the performance of these Web services. We found that, on average, REST has better performance compared to SOAP, though not all results were statistically conclusive. As an ancillary outcome, we found that developing Web services using SOAP was easier, due to considerable tool support, whereas developing Web services using REST was time consuming and difficult due to the necessity of in-depth knowledge of HTTP and rudimentary tool support.

Keywords: Web Service, SOAP, REST, RESTful, Performance task, Interaction Style

Download this article: JISAR - V6 N1 Page 4.pdf


Recommended Citation: Kumar, P., Ahuja, S., Umapathy, K., Prodanoff, Z. (2013). Comparing Performance of Web Service Interaction Styles: SOAP vs. REST. Journal of Information Systems Applied Research, 6(1) pp 4-26. http://jisar.org/2013-6/ ISSN: 1946-1836. (A preliminary version appears in The Proceedings of CONISAR 2012)