Re: SOAPpy and ArrayOfKeyValue

2007-10-09 Thread Alex Ezell
It's cool when you solve your own problems. It was as simple as this: def dictToKeyValue(self, mydict): soap_list = [] for key,value in mydict.items(): inner = {"key":key,"value":value} soap_list.append(inner) return soap_list It's just a list of di

SOAPpy and ArrayOfKeyValue

2007-10-09 Thread Alex Ezell
Can anyone offer any assistance as to how to convert a basic python dictionary, list, or even tuple into the SOAP type "ArrayOfKeyValue"? I am currently using SOAPpy, but would be willing to change to ZSI or something else if it made this conversion easier. I have tried with the arrayType and str