Soap: simple object access protocol
Rest: Representational state transfer
1.soap is a protocol . rest is architechrial style.
2.soap cant use rest. but rest can use soap webservices because it is concept of can use any protocols like http or soap.
3.soap uses interfaces to expose the business logic. but rest uses uri to expose business logic.
4.soap require more bandwidth comparing to rest.
ex: <name>lokesh</name> vs "name": "lokesh"
5.soap uses xml data format. rest uses plain text, json, xml, html
6.soap is mainly used in banking projects. where as rest is used for public apis.
Rest: Representational state transfer
1.soap is a protocol . rest is architechrial style.
2.soap cant use rest. but rest can use soap webservices because it is concept of can use any protocols like http or soap.
3.soap uses interfaces to expose the business logic. but rest uses uri to expose business logic.
4.soap require more bandwidth comparing to rest.
ex: <name>lokesh</name> vs "name": "lokesh"
5.soap uses xml data format. rest uses plain text, json, xml, html
6.soap is mainly used in banking projects. where as rest is used for public apis.