Convert SOAP response (ArrayOfInt) to Python list
burak.arslan at arskom.com.tr
Fri Jul 5 21:41:16 CEST 2013
FYI, There's a soap-specific python.org list: soap at python.org
On 07/04/13 20:57, robert.winkler at bioprocess.org wrote:
> Thanks to the OSA library, which works for SOAP requests with Python 3.x, I can now use SOAP services at http://www.chemspider.com.
> The results structure is
> The result is a list of accession numbers (which correspond to chemical compounds) and I get them in the following format:
> How could I transform this to a simple python list?
I did not use OSA, but assuming print(ret) prints that, you should do
ret.int to get your list.
It should already be a regular Python list.
I hope that helps.
More information about the Python-list