I found some similar solution but it's not working for me. I would like to know the best practice of parser the soap response.
My source code is :
from zeep.transports import Transport
response = transport.post_xml(address, payload, headers)
print(type(response))
print(response.content)
Output:
<class 'requests.models.Response'>
How can I get the **a key** value form the response? which simple and best library I should use.
Thanks in advance.
Using the
xml.etree.ElementTreein hereIt easily parse content and attribute.
Demo Code
Result