问题
Simply I need to convert an suds object to xml in string.
response = client.service.somemethod()
response_xml_string = response.as_xml() # something like this
回答1:
Take a look on totxt=True option in Client constructor.
来源:https://stackoverflow.com/questions/33303813/how-to-convert-suds-object-to-xml