I'm interacting with a perl SOAP::Lite server. Never had problems using
suds before but aparently since rev 518 it stopped working. So at the
moment I'm still using 517. The most recent revision still suffers from
the same problem.
Here's one traceback. The error is always the same and it happens with
all server requests (as far as I've tested).
Traceback (most recent call last):
File "hermes.py", line 175, in <module>
blast.run_blast("unkseq.fasta", seq)
File "hermes.py", line 129, in run_blast
self.push_file(filename, seq)
File "hermes.py", line 83, in push_file
DATA=data)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
240, in __call__
return target.call(*args, **kwargs)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
379, in call
return method(*args, **kwargs)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
240, in __call__
return target.call(*args, **kwargs)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
422, in call
return client.invoke(args, kwargs)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
480, in invoke
result = self.send(msg)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
511, in send
result = self.failed(binding, e)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/client.py", line
562, in failed
r, p = binding.get_fault(reply)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/bindings/binding.py",
line 219, in get_fault
faultroot = self.parser.parse(string=reply)
File
"/home/rjalves/system/lib/python2.5/site-packages/suds/sax/parser.py",
line 140, in parse
sax.parse(source)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 220, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/handler.py", line
38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:7:0: not well-formed
(invalid token)
Is there any change I need to do to my code?
Thanks,
Renato Alves