Migrating SOAP to REST