Simple Object Access
Protocol (SOAP) and Representative State Transfer (REST) are the two classes of Web services.
However, (REST) based Web service has been employed due to its light-weight compared to
the (SOAP) based Web service offering similar functionalities. Standard GET and POST request
operations have been utilized for communication between the smart home app and the micro webserver.
For example, if the user action on the smart home app is to activate the house alarm
system then the message exchange taking place is illustrated in Figure 6