What are the difference between SOAP and REST Web Services?
S.no | SOAP | REST |
---|---|---|
1. | It stands for Simple Object Access Protocol | It stands for Representational State |
2. | It was a protocol and designed with a specification. | It’s an Architectural style in which web services can be treated as a RESTful service. |
3. | Can’t make use of REST | Can make use of SOAP |
4. | It uses service interfaces to expose its functionality to applications | It uses Uniform Service locators to access to the components on the hardware device |
BY Best Interview Question ON 09 Apr 2020