Skip to content Skip to sidebar Skip to footer

How To Convert Suds Object To Xml

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

Solution 1:

Take a look on totxt=True option in Client constructor.


Post a Comment for "How To Convert Suds Object To Xml"