A response has been received by the gateway

def setResponse(self, response):
        """
        A response has been received by the gateway
        """
        self.response = response
        self.result = self.response.body

        if isinstance(self.result, remoting.ErrorFault):
            self.result.raiseException()