|PubMed | Entrez | Structure | PubChem | Help|
PUG SOAP with Python and ZSI
These examples were created to work with modules created with ZSI 2.0. With this package installed, the command:
wsdl2py --complexType --url='https://pubchem.ncbi.nlm.nih.gov/pug_soap/pug_soap.cgi?wsdl'
will generate Python source code that provides the interface to PUG SOAP. The '--complexType' argument here is required to generated additional get/set/new accessors for complex types, which simplifies the client code. (See the ZSI documentation for more details.) Note that any Python scripts created with this interface will require ZSI and the generated PUG SOAP modules to be installed in order to run them.
These samples were developed and tested with Python 2.5.1.
|Write to Helpdesk | Disclaimer | Privacy statement | Accessibility|