pythonsoapwsdlsuds

Is it possible to use python suds to read a wsdl file from the file system?


From suds documentation, I can create a Client if I have a url for the WSDL.

from suds.client import Client
url = 'http://localhost:7080/webservices/WebServiceTestBean?wsdl'
client = Client(url)

I currently have the WSDL file on my file system. Is it possible to use suds to read the WSDL file from my file system instead of hosting it on a web server?


Solution

  • try to use url='file:///path/to/file'