Capgemini Engineering interview question

difference between SOAP and REST