Skip to content
Advertisement

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?

Advertisement

Answer

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

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement