(This message has been automatically imported from the retired mailing list)
Hello,
I was trying to do some stuff with the zato public API and I tried to
consume the wsdl file with suds (jurko fork) in order to access the API.
I’m not a SOAP nor an XML-schema expert,
when I do:
url = "https://zato.io/docs/_downloads/zato.wsdl"
c = SudsClient(url)
I get
Exception: msg
’zato:zato_kvdb_data_dict_dictionary_get_key_list_request_message’,
not-found
Is that an error in the wsdl file or am I doing something wrong?
Cheers!
p.s.
I think there’s an error (not sure, pycharm tells me) in the wsdl file
at line 1779 the element “id” is defined twice
On 18/05/15 16:20, Andrea Peter wrote:
Exception: msg
’zato:zato_kvdb_data_dict_dictionary_get_key_list_request_message’,
not-found
Is that an error in the wsdl file or am I doing something wrong?
Can you confirm it with SoapUI?
thanks,
On 18/05/15 16:20, Andrea Peter wrote:
Exception: msg
’zato:zato_kvdb_data_dict_dictionary_get_key_list_request_message’,
not-found
Is that an error in the wsdl file or am I doing something wrong?
Thanks, yes, there were a few things to be corrected, it’s done now.
Please note that on your system suds mostly likely created a cache in
/tmp/suds so to make sure you pull the latest changes, at least the
first time you need code along the lines of:
from suds.cache import NoCache
from suds.client import Client
url = ‘https://zato.io/docs/_downloads/zato.wsdl’
client = Client(url, cache=NoCache())
It works, thanks, I have one question though,
how do I invoke the services?
from suds.cache import NoCache
from suds.client import Client as SudsClient
url = "https://zato.io/docs/_downloads/zato.wsdl"
c = SudsClient(url, cache=NoCache())
I tried
c.service.zato.ping()
c.service.ping()
c.service.zato_ping()
with no luck
On 05/18/15 19:42, Dariusz Suchojad wrote:
On 18/05/15 16:20, Andrea Peter wrote:
Exception: msg
’zato:zato_kvdb_data_dict_dictionary_get_key_list_request_message’,
not-found
Is that an error in the wsdl file or am I doing something wrong?
Thanks, yes, there were a few things to be corrected, it’s done now.
Please note that on your system suds mostly likely created a cache in
/tmp/suds so to make sure you pull the latest changes, at least the
first time you need code along the lines of:
from suds.cache import NoCache
from suds.client import Client
url = ‘https://zato.io/docs/_downloads/zato.wsdl’
client = Client(url, cache=NoCache())