Hello!
I'm new in programming, coming from Engineering background. When trying to run KEGG APi sample code for Python in Pycharm (first do pip install SOAPpy)
#!/usr/bin/env python
from SOAPpy import WSDL
wsdl = 'http://soap.genome.jp/KEGG.wsdl'
serv = WSDL.Proxy(wsdl)
results = serv.get_genes_by_pathway('path:eco00020')
print results
I get the following error on the line serv = WSDL.Proxy(wsdl):
Traceback (most recent call last):
File "<console>", line 1, in <module>
  File "C:\Python27\lib\site-packages\SOAPpy\WSDL.py", line 85, in __init__
    self.wsdl = reader.loadFromString(str(wsdlsource))
  File "C:\Python27\lib\site-packages\wstools\WSDLTools.py", line 47, in loadFromString
    return self.loadFromStream(StringIO(data))
  File "C:\Python27\lib\site-packages\wstools\WSDLTools.py", line 28, in loadFromStream
    document = DOM.loadDocument(stream)
  File "C:\Python27\lib\site-packages\wstools\Utility.py", line 645, in loadDocument
    return xml.dom.minidom.parse(data)
  File "C:\Python27\lib\xml\dom\minidom.py", line 1914, in parse
    return expatbuilder.parse(file)
  File "C:\Python27\lib\xml\dom\expatbuilder.py", line 928, in parse
    result = builder.parseFile(file)
  File "C:\Python27\lib\xml\dom\expatbuilder.py", line 207, in parseFile
    parser.Parse(buffer, 0)
ExpatError: not well-formed (invalid token): line 1, column 5
Can someone please help me with it? Thanks in advance.
I can confirm that I get the same error. I'm looking into it to see if I can find a solution, but maybe file a bug already with KEGG?