v7 campaign management wsdl appears malformed... RRS feed

  • Question

  • so i'm using python 2.6.4 and the suds soap library for it.

    when trying to use v7's campaign management service, the wsdl parsing barfs in infinite recursion:


    >>> from suds.client import Client
    >>> c = Client('https://adcenterapi.microsoft.com/Api/Advertiser/v7/CampaignManagement/CampaignManagementService.svc?wsdl')
    ... cut errors to minimize code paste ...
     File "/home/jill/env/robin/lib/python2.6/site-packages/suds/xsd/sxbase.py", line 95, in __init__
      self.name = root.get('name')
     File "/home/jill/env/robin/lib/python2.6/site-packages/suds/sax/element.py", line 234, in get
      attr = self.getAttribute(name, ns)
     File "/home/jill/env/robin/lib/python2.6/site-packages/suds/sax/element.py", line 404, in getAttribute
      prefix, name = splitPrefix(name)
    RuntimeError: maximum recursion depth exceeded

    replacing the v7 to v6 in the Client(url) call successfully completes.  the v7 wsdl's for the other services also parses fine as well.

    can an engineer at ms validate the wsdl in v7 and ensure syntactic correctness?  thanks.

    Tuesday, February 8, 2011 12:44 AM

All replies

  • hmm... nm... it appears to be a bug in the sax parser in suds...

    i got the python ZSI client working fine after fixing its ssl socket connection handling.

    Tuesday, February 8, 2011 10:30 PM