all i get is this:
<%@ WebService Language="c#" Codebehind="MightyMaxims.asmx.cs"
Class="MightyMaxims.Maxim" %>
which is not xml (or a wsdl) which is why you are getting the xml parse error.
bryan
On Sat, Nov 1, 2008 at 1:56 PM, Patrick Walter <walterpa(a)sbcglobal.net> wrote:
I have dowloaded/installed the following with no errors:
Python 2.5
SUDS
I am running on a PC.
When running the following python code I get the following errors.
THANKS FOR YOUR HELP!!!
Patrick
import suds.metrics as metrics
from suds import WebFault
from suds.client import Client
wsdlurl = 'http://saintbook.org/MightyMaxims/MightyMaxims.asmx?WSDL'
client = Client(wsdlurl)
------------------------------------------------------------------------------------------------------------------------------------
ERROR:
Traceback (most recent call last):
File
"C:\eclipse\workspace\TestCtsWebService\src\root\examples\wsSUDSTest.py",
line 13, in <module>
client = Client(wsdlurl)
File "C:\Python25\lib\site-packages\suds\client.py", line 67, in __init__
client = SoapClient(url, kwargs)
File "C:\Python25\lib\site-packages\suds\client.py", line 369, in __init__
self.wsdl = Definitions(url, self.arg.opener)
File "C:\Python25\lib\site-packages\suds\wsdl.py", line 166, in __init__
root = p.parse(url=url).root()
File "C:\Python25\lib\site-packages\suds\sax\parser.py", line 118, in parse
parse(self.urlopen(url), handler)
File "C:\Python25\lib\site-packages\_xmlplus\sax\__init__.py", line 31, in
parse
parser.parse(filename_or_stream)
File "C:\Python25\lib\site-packages\_xmlplus\sax\expatreader.py", line 109,
in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Python25\lib\site-packages\_xmlplus\sax\xmlreader.py", line 123, in
parse
self.feed(buffer)
File "C:\Python25\lib\site-packages\_xmlplus\sax\expatreader.py", line 220,
in feed
self._err_handler.fatalError(exc)
File "C:\Python25\lib\site-packages\_xmlplus\sax\handler.py", line 38, in
fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:1: not well-formed
(invalid token)
_______________________________________________
fedora-suds-list mailing list
fedora-suds-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-suds-list