Infosys interview question

Whats diff between rest and soap