Created by: Daniele Visaggio on 03-03-2011 06:47:14 AM Hi all, I'm trying to create a python client for provisioning Cucm via AXL/SOAP. I downloaded the axlsqltoolkit from the cucm plugin page and I picked up the \axlsqltoolkit\schema\6.0\AXLAPI.wsdl file. I think this is the right wsdl file because I'm not using axis nor .net. Moreover in the \axlsqltoolkit\schema\6.1\ path there is no wsdl file. My problem is that I am not able to open this WSDL file with my soap python library (called SUDS). This is the output: ###################################################### from suds.client import Client wsdl = 'file://home/daniele/Downloads/axlsqltoolkit/schema/6.0/AXLAPI.wsdl' >>> client = Client(wsdl) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.6/dist-packages/suds-0.4-py2.6.egg/suds/client.py", line 112, in __init__ self.wsdl = reader.open(url) File "/usr/local/lib/python2.6/dist-packages/suds-0.4-py2.6.egg/suds/reader.py", line 152, in open d = self.fn(url, self.options) File "/usr/local/lib/python2.6/dist-packages/suds-0.4-py2.6.egg/suds/wsdl.py", line 158, in __init__ self.resolve() File "/usr/local/lib/python2.6/dist-packages/suds-0.4-py2.6.egg/suds/wsdl.py", line 207, in resolve c.resolve(self) File "/usr/local/lib/python2.6/dist-packages/suds-0.4-py2.6.egg/suds/wsdl.py", line 491, in resolve qref = qualify(op.input, self.root, definitions.tns) File "/usr/local/lib/python2.6/dist-packages/suds-0.4-py2.6.egg/suds/xsd/__init__.py", line 56, in qualify raise Exception('prefix (%s) not resolved' % p) Exception: prefix (s0) not resolved ###################################################### But when I try to use another sample WSDL file I have no errors: ###################################################### wsdl = 'file:///home//daniele//Documents//sample_wsdl.wsdl' >>> >>> client = Client(wsdl) >>> >>> >>> print client
###################################################### How can I fix this? maybe the WSDL in the axlsqltoolkit is broken? Thank you in advance, Daniele
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: