views:

34

answers:

1

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?

+1  A: 

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

Gabi Purcaru
This is the correct answer.
jathanism