SOAP problems

Svenne Krap usenet2002 at krap.dk
Thu Mar 6 06:20:30 EST 2003


Hi.

First of all, I am a totally Python newbie and have actually never
worked with SOAP before :)

I am running python 2.2.2 on windows.

I have installed PyXML and Soapy ( http://soapy.sf.net ) . 

Running af simple query (from the examples...) : 

>>> import soap
>>> proxy = soap.get_proxy('http://www.xmethods.net/sd/BabelFishService.wsdl')
Traceback (most recent call last):
  File "<pyshell#3>", line 1, in ?
    proxy =
soap.get_proxy('http://www.xmethods.net/sd/BabelFishService.wsdl')
  File "C:\PROGRA~1\py222\soap.py", line 223, in get_proxy
    return WSDLProxy(uri)
  File "C:\PROGRA~1\py222\soap.py", line 266, in __init__
    self.load_namespaces(descnode)
  File "C:\PROGRA~1\py222\soap.py", line 248, in load_namespaces
    self.targetns = node.getAttributeNS('','targetNamespace')
  File "C:\PROGRA~1\py222\Lib\site-packages\_xmlplus\dom\Element.py",
line 135, in getAttributeNS
    attr = self.attributes.getNamedItemNS(namespaceURI, localName)
  File
"C:\PROGRA~1\py222\lib\site-packages\_xmlplus\dom\NamedNodeMap.py",
line 104, in getNamedItemNS
    raise NamespaceErr("Use None instead of '' for empty namespace")
NamespaceErr: Use None instead of '' for empty namespace


What does I do wrong ? Is there any way to fix it ? 

TIA Svenne




More information about the Python-list mailing list