Question: what is the difference between soa and rest?
Answer: As opposed to SOAP, REST is not a protocol but an architectural style. ... It allows different messaging formats, such as HTML, JSON, XML, and plain text, while SOAP only allows XML. REST is also a more lightweight architecture, so RESTful web services have a better performance.