[XML-SIG] Possible SOAP/ZSI bug?
Laszlo Zsolt Nagy
gandalf at designaproduct.biz
Tue Dec 6 01:49:33 CET 2005
Hello,
I'm new to SOAP and pyXML. I tried to use the ZSI. Not sure about SOAPpy
- is it better for me?
Here is my test program:
import ZSI
fname = 'eBaySvc.wsdl'
version = 421
url = 'http://developer.ebay.com/webservices/%s/%s' % (version,fname)
print "Creating proxy..."
proxy = ZSI.ServiceProxy(url)
print proxy
Results in an exception:
Traceback (most recent call last):
File "T:/Python/Projects/eBay-SOAP/test.py", line 6, in ?
proxy = ZSI.ServiceProxy(url)
File "C:\Python24\Lib\site-packages\ZSI\ServiceProxy.py", line 34, in
__init__
wsdl = ZSI.wstools.WSDLTools.WSDLReader().loadFromURL(wsdl)
File "C:\Python24\Lib\site-packages\ZSI\wstools\WSDLTools.py", line
42, in loadFromURL
wsdl.load(document)
File "C:\Python24\Lib\site-packages\ZSI\wstools\WSDLTools.py", line
260, in load
schema = reader.loadFromNode(WSDLToolsAdapter(self), item)
File "C:\Python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line
80, in loadFromNode
schema.load(reader)
File "C:\Python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line
1116, in load
tp.fromDom(node)
File "C:\Python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line
2271, in fromDom
self.content.fromDom(contents[indx])
File "C:\Python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line
2328, in fromDom
self.derivation.fromDom(i)
File "C:\Python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line
2388, in fromDom
component = SplitQName(contents[indx].getTagName())[1]
IndexError: list index out of range
Thanks,
Laszlo
More information about the XML-SIG
mailing list