I want to do a simple thing;
what is the python version of the command line:
user> python -mzeep http://www.soapclient.com/xml/soapresponder.wsdl
Try the Demo web service
wsdl = 'http://www.soapclient.com/xml/soapresponder.wsdl'
client = zeep.Client(wsdl=wsdl)
print(client.service.???())
And is this a standard SOAP service for any server to query its WSDL?
Sorry, I have no idea what you mean
Thanks. I had only meant - is there a way programmatically (e.g. in Python) to list the wsdl in the same manner that the example command-line does.
@grguthrie what I found is that you can do the following:
wsdl = 'http://www.soapclient.com/xml/soapresponder.wsdl'
client = zeep.Client(wsdl=wsdl)
client.wsdl.dump()
This will print the same info that is printed when you execute:
python -mzeep http://www.soapclient.com/xml/soapresponder.wsdl
You can reed the source to see how different parts of the information are taken
https://github.com/mvantellingen/python-zeep/blob/1668fe1b0a75a161b88421a52ad45a3e07db8aee/src/zeep/wsdl/wsdl.py#L73-L115
Thank you.
| Dr. Gregory Guthrie |
From: Venelin Stoykov [mailto:[email protected]]
Sent: Wednesday, January 11, 2017 2:03 AM
To: mvantellingen/python-zeep python-zeep@noreply.github.com
Cc: Gregory Guthrie guthrie@mum.edu; Mention mention@noreply.github.com
Subject: Re: [mvantellingen/python-zeep] Simple WSDL query? (#297)
@grguthriehttps://github.com/grguthrie what I found is that you can do the following:
wsdl = 'http://www.soapclient.com/xml/soapresponder.wsdl'
client = zeep.Client(wsdl=wsdl)
client.wsdl.dump()
This will print the same info that is printed when you execute:
python -mzeep http://www.soapclient.com/xml/soapresponder.wsdl
You can reed the source to see how different parts of the information are taken
https://github.com/mvantellingen/python-zeep/blob/1668fe1b0a75a161b88421a52ad45a3e07db8aee/src/zeep/wsdl/wsdl.py#L73-L115
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mvantellingen/python-zeep/issues/297#issuecomment-271803117, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AB1_UGDFImwekWsQqZdEIqMR0YshiNTqks5rRIyjgaJpZM4LXL9v.
Most helpful comment
@grguthrie what I found is that you can do the following:
This will print the same info that is printed when you execute:
You can reed the source to see how different parts of the information are taken
https://github.com/mvantellingen/python-zeep/blob/1668fe1b0a75a161b88421a52ad45a3e07db8aee/src/zeep/wsdl/wsdl.py#L73-L115