Answer the question
In order to leave comments, you need to log in
Python zeep how to generate AnyType object?
I use zeep to interact with SOAP API.
One of the methods accepts (xs:int NeedList, xs:string SessionToken, xs:anyType TariffParameters) an object of type AnyType, which obviously is not described in the XSD. In this case, you need to put a lot of nested parameters into the object. All attempts so far ended with the transfer of either an xml string, in the form
<TariffParameters>\<tag\>value\<\tag\></TariffParameters>
<TariffParameters>{ 'Constructed': '2014-01-01', 'Model': '3251066103',}</TariffParameters>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question