This document compares SOAP and REST web services. SOAP is a protocol that uses XML and requires a WSDL file, while REST is an architectural style that uses uniform resource locators and can support different data formats. SOAP is better for maintaining state across requests, while REST is better for caching and when limited bandwidth or resources are a concern. REST services are also generally easier to code and implement than SOAP services.