Im using zeep SOAP client for python, trying to get some data to some wsdl_address. i now have following:
ambCase = {'data1':'value1',
'data2':'value2'}
client = zeep.Client(wsdl=WSDL_Address)
result = client.service.MethodName(GUID, {'CaseDto':ambCase})
where ambCase is data i want to get to the server. MethodName method requires 2 parameters: GUID token(which works no problem), and ambCase object with specified xsi:type attribute(in my case it should be 'CaseAmb'), and i can't get it to work, it fails with an error: zeep.exceptions.Fault: exception str() failed
code above produces this xml(excepting headers):
<soap-env:Body>
<ns0:AddCase xmlns:ns0="http://tempuri.org/">
<ns0:guid>00000000-0000-0000-0000-000000000000</ns0:guid>
<ns0:caseDto/>
</ns0:AddCase>
I'm pretty new to SOAP and zeep, so, can anyone help?