ZSI usage

Maxim Sloyko m.sloyko at gmail.com
Thu May 4 12:43:32 CEST 2006

Hi all!
I'm trying to make a simple SOAP call from python to SOAP::Lite (perl)
SOAP server.

My SOAP server has https://myserv.com/open-api URI, the function
open_session has the "QW/API" namespace. SO I do the following:

from ZSI.client import Binding
fp = open('debug.out', 'a')

client = Binding(url='/open-api',
		ssl=1, tracefile=fp)
sid = client.open_session(1)

However, I get the following error:

ZSI.FaultException: SOAPAction shall match 'uri#method' if present (got
'""', expected 'QW/API#open_session'

If I look at SOAP packet I see the following:
<Eo8138f18 xsi:type="xsd:integer">1</Eo8138f18>

SO the question is, why ZSI seem to ignore that NS setting? How to fix
Thanks in advance!


More information about the Python-list mailing list