def METHOD_NAME(resp):
    logger.debug("Response: %s" % resp.text)
    response = etree.fromstring(resp.text.encode("utf-8"))
    failure = response.find(".//FAILURES/FAILURE")
    if failure:
        raise SilverpopResponseException(failure.attrib["description"])
    fault = response.find(".//Fault/FaultString")
    if fault:
        raise SilverpopResponseException(fault.text)
    return response