WebServices & Microservices
What is a Web Service? Applications which are accessed via HTTP APIs are often called Web Services. In other words, a web service is a function that can be accessed by other programs over the web (HTTP). How many different kinds of Web Services are there? Primarily, there are two types of Web Services, Simple Object Access Protocol (SOAP) and Representational State Transfer (REST). A SOAP Web Service, accepts a request in XML format and generates an output in XML format. A REST Web Service is more versatile and can accept XML as well as JSON as request and generates an output in XML as well as JSON, or even HTML. Microservices The microservice architectural style involves developing single applications that can work together as a suite of small services, each running in its individual process and communicating with lightweight mechanisms such as an HTTP resource API. These services require bare minimum centralized management, use different data storage technolo...