Reputation: 201
I am using the following python code to display all methods offered by a webservice generated from a wsdl version 2.0 file. The url is the following: http://localhost:8080/axis2/services/UserService?wsdl2
Using the above url, the browser displays the wsdl file but when using this url in a python application below, it returns only the following info and nothing related to the webservice methods in question.
from suds.wsse import *
from suds.client import Client
myclient = Client("http://localhost:8080/axis2/services/UserService?wsdl2")
print myclient
Suds ( https://fedorahosted.org/suds/ ) version: 0.3.9 GA build: R659-20100219
it should be returing the methods available in the webservice as in the example https://fedorahosted.org/suds/wiki/Documentation
any idea?
Upvotes: 2
Views: 914
Reputation: 2489
It seems that still suds doesn't support WSDL 2.
See https://fedorahosted.org/suds/ticket/479
Upvotes: 0
Reputation: 31
Try removing the /tmp/suds
directory. Also try passing cache=None
in the Client constructor:
myclient = Client("http://localhost:8080/axis2/services/UserService?wsdl2", cache=None)
Upvotes: 3