The code below throw a SAXParseException: "mismatched tag":
from suds.client import Client <br>
url = 'http://www.didww.com/api/?wsdl'
client = Client(url, cache=None)
print client
Is it problem with suds, or there is some errors in wsdl?
The code below throw a SAXParseException: "mismatched tag":
from suds.client import Client <br>
url = 'http://www.didww.com/api/?wsdl'
client = Client(url, cache=None)
print client
Is it problem with suds, or there is some errors in wsdl?
Have you looked at the WSDL file in a browser or XML viewer? That should answer your question as to whether the problem is in the wsdl. The exception suggests there is something up with it.
Seems to work for me, suds 0.3.3 (without cache option - None is not a valid option for cache in my version of suds):
In [4]: from suds.client import Client
In [5]: url = 'https://xml.192.com/IDSearch.cfc?wsdl'
In [6]: c = Client(url)
In [7]: print c
Suds ( https://fedorahosted.org/suds/ ) version: 0.3.3 GA build: R413-20081204
Service ( IDSearch ) tns="http://corpwsdl.oneninetwo"
Prefixes (1)
ns0 = "http://rpc.xml.coldfusion"
Ports (1):
(IDSearch.cfc)
Methods (1):
search(xs:string xml, )
Types (1):
ns0:CFCInvocationException