[Tutor] processing WSDL files

D P del_dr at yahoo.com
Wed Oct 8 12:01:15 EDT 2003


hi all!

could someone explain why do I have this traceback
while trying to import an wsdl file?


>>> import WebService
>>> policy=WebService.ServiceProxy
(<link_to_wsdl_http_location>)

Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
  File "C:\Python22\Lib\site-packages\WebService.py",
line 58, in ServiceProxy
    return soap.get_proxy(cached_wsdl)
  File "C:\Python22\Lib\site-packages\soapy\soap.py",
line 245, in get_proxy
    return WSDLProxy(uri)
  File "C:\Python22\Lib\site-packages\soapy\soap.py",
line 304, in __init__
    self._get_methods(servicenode)
  File "C:\Python22\Lib\site-packages\soapy\soap.py",
line 412, in _get_methods
   
method.setRequestType(porttype[method_name]['input'])
  File "C:\Python22\Lib\site-packages\soapy\soap.py",
line 159, in setRequestType
    self.addParam(key,type.members[key])
  File "C:\Python22\Lib\site-packages\soapy\soap.py",
line 150, in addParam
    if not
(self.all_namespaces.has_key(type.namespace)):
AttributeError: 'NoneType' object has no attribute
'namespace'
>>> 


thanks in advance!
del

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the Tutor mailing list