SOAP vs REST

SOAP (Simple Object Access Protocol) and REST (Representation State Transfer) can’t be compared directly, since the first is a protocol (or at least tries to be) and the second is an architectural style. This is probably one of the sources of confusion around it, since people tend to call REST any HTTP API that isn’t…