ZSI - VoxBone.com

From PeformIQ Upgrade
Jump to navigation Jump to search

VoxBone.com

Extracted from Pywebsvcs-talk Digest, Vol 31, Issue 6

When trying to Voxbone [1] WSDL, I can't get neither ZSI nor SOAPPy to talk
to it. 

SOAPpy in both WSDL and non-wsdl methods give me the error: Parameter
GetCountriesList does not exist!

However, according to "print server.methods", it does exist:

u'GetCountriesList': <SOAPpy.wstools.WSDLTools.SOAPCallInfo instance at
0x13ceb48>

What baffles me is the output that SOAPpy generates:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/1999/XMLSchema"
>
<SOAP-ENV:Body>
<GetCountriesList SOAP-ENC:root="1">
<UserToken>
<Username xsi:type="xsd:string">user</Username>
<Hash xsi:type="xsd:string">2008-12-10 12:08:57.265109</Hash>
<Key xsi:type="xsd:string">d8cb49a3c6dee5ed3f7413d46524b451b4d3dcd3</Key>
</UserToken>
<Type xsi:type="xsd:string">GEOGRAPHIC</Type>
</GetCountriesList>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

So I do not know why it insists on using GetCountriesList as a parameter,
instead of a function call. I'm sure there's something really simple I'm
missing, but I can't for the life of me find out. Any thoughts?

Best regards,
Benedikt

WSDL