Soap UI API Interview Question
1- Difference between soap and rest API : SOAP stands for Simple Object Access Protocol## REST stand for Representational State Transfer. SOAP is a protocol. SOAP was designed with a specification. It includes a WSDL file that has the required information on what the web service does in addition to the location of the web service## REST is an Architectural style in which a web service can only be treated as a RESTful service if it follows the constraints of being Client Server Stateless Cacheable Layered System Uniform Interface SOAP cannot make use of REST since SOAP is a protocol and REST is an architectural pattern.##REST can make use of SOAP as the underlying protocol for web services, because in the end it is just an architectural pattern. SOAP can only work with XML format. As seen from SOAP messages, all data passed is in XML format.##REST permits different data format such as Plain text, HTML, XML, JSON, etc. But the most preferred format for transferring data is JSON. 2...