, , , - , . , , , SOAP v1.2. , Suds ( ) v1.2.
, Suds , v1.2 : SOAP 1.2 python. , , 415 , , , , . , ( ).
from suds.client import Client
from suds.bindings import binding
import logging
USERNAME = 'username'
PASSWORD = 'password'
logging.basicConfig(level=logging.INFO)
logging.getLogger('suds.client').setLevel(logging.DEBUG)
binding.envns = ('SOAP-ENV', 'http://www.w3.org/2003/05/soap-envelope')
client = Client('client.wsdl',
username=USERNAME,
password=PASSWORD,
headers={'Content-Type': 'application/soap+xml'})
client.service.someRandomMethod()