SoftLayer interview question

designing webservice in PHP using REST or SOAP.