integrate them into their applications, ensure their
efficiency and improve their data management.
The SOA WS model never reached the adoption
levels that its proponents had predicted; in fact, it
collided with another model of remote components
based on the Internet “language”, the REST. RESTful
application program interfaces (APIs) offered less
overhead and were easy to understand
There are many commercial and open source tools
available for testing web services. To test the
performance of the implemented services we will use
JMeter tool, one of the most used and documented.
This tool will help you measure service quality and
network performance in real time. The comparison is
performed based on response time and usability
(Radhakrishna and Nachamai, 2018).
In this work two web services were created, one
using the SOAP implementation and the other REST.
These web services are implemented on an
application server (Wildfly) to which requests are
made through the JMeter application. With the data
obtained in the requests made by the test program
(average order time, minimum order time, maximum
order time and standard deviation), we evaluated the
performance of each service by varying the number
of threads (calls to the application server) or by
varying the number of sequential requests on the
same call. In this work we conclude that for several
sequential requests in a single thread the REST
architecture is more efficient.
The remainder of this paper is structured as
follows. In section 2, we analyse the current state of
art regarding web services and SOA architecture.
Section 3 presents the methodology used and section
4 presents the results of the experimental evaluation.
Section 5 discusses the results obtained and their
implications. Finally, section 6 presents the
conclusions and some future work.
2 RELATED WORK
Becker et al., (2009) compare two types of web
services (SOAP and REST). This study presents a
business network of manufacturers and service
providers in the electronic area, for the
implementation of a service-oriented architecture
(SOA). For each of the types of web services
analysed, a project with SOA architecture was
developed and evaluated in relation to the previously
defined set of requirements.
In the study by Belqasmi et al. (Belqasmi et al.,
2012 a comparison of two web interfaces (a SOAP-
based web service and a REST-based service) of
multimedia conference applications is made. The
results obtained in this study showed that SOAP-
based request processing in a mobile environment can
take 10 times longer and consume 8 times more
memory than equivalent REST-based requests.
Tihomirovs and Grabis, 2016 summarize in their
study the main advantages and disadvantages of
REST and SOAP interfaces using evaluation of
software metrics. Several metrics were analysed,
namely cost, effort required for implementation or
execution, efficiency, maintenance, etc.
Analysing the results, the researchers concluded
that it is not possible to clearly identify the best
approach to ensure data communication, and each
project should be evaluated individually. Each
protocol (SOAP and REST) has its advantages and
disadvantages. However, it was possible to identify
the main characteristics to choose the best approach.
If the project requires great scalability, compatibility
and performance the best option is to choose a REST
service.
The complexity of the implementation, the
execution speed, the consumed memory resources
and the performance are better in the REST services
when compared to the SOAP protocols. If the project
requires mobile availability, REST is also the best
choice.
If the project requires security, reliability and easy
maintenance on the client side, the best choice will be
the SOAP protocol. SOAP also has an advantage over
REST if the project needs to process data
asynchronously.
In the study by Malik et al. (Malik and Kim, 2017)
a comparison of REST and SOAP interfaces is made
in terms of ease of use, deployment and resource
utilization. The objective of his study was to compare
the two services through the projection of home
networks based on the architectural styles of SOAP
and REST.
In the study by Potti et al. (Potti, et al., 2012) a
performance comparison of two service
implementations (one based on SOAP and one based
on REST) is made. SOAP and REST-based web
services have been created that perform Create, Read,
Update, and Delete (CRUD) operations on a database
and retrieve local files. The authors used response
times and file transfer rate metrics to compare the
performance of both services. The results of this study
reveal that, on average, the REST service performs
better than the SOAP service, however not all the
results were statistically conclusive. Through their
study they concluded that the development of services
using SOAP is easier since there is a greater support.