@staticmethod<EOL><INDENT>def _parse_response(xml):<DEDENT>
try:<EOL><INDENT>soap_response = xmltodict.parse(xml, process_namespaces=True, namespaces=Service.Namespaces)<EOL><DEDENT>except Exception:<EOL><INDENT>logging.debug('<STR_LIT>', xml)<EOL>raise WSManException("<STR_LIT>")<EOL><DEDENT>body = soap_response['<STR_LIT>']['<STR_LIT>']<EOL>if body is not None and '<STR_LIT>' in body:<EOL><INDENT>raise WSManOperationException(body['<STR_LIT>']['<STR_LIT>']['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>return body<EOL>
Attempt to parse the SOAP response and return a python object
Raise a WSManException if a Fault is found