python-zeep
python-zeep copied to clipboard
using zeep without WSDL
I have to work with an endpoint that does not serve a valid wsdl file and the maintainer of the endpoint is not responding
client=Client(wsdl=<url>)
crashes with a 500 error
however the endpoint itself id working. However, the request xml is simple enough to build my own. Is there a way to initiate a client without wsdl file and subsequently call the service with the prebuild xml? something along the line as in #1130
If I can get hold of the wsdl as file, can I load it as local file as well?
You can certainly use a local wsdl file. e.g.
client = Client(str(Path.home() / 'foo.wsdl'))
Thanks, in between we managed to get hold of the WSDL files, so I'm very happy
I have the same problem, all I have is a template XML that is accepted by the soap server, but the server (actually, several different servers) won't give a proper WSDL on the service URL. The old code uses soap_wsse.sign_envelope(envelope_xml_text, key_file) to add a BinarySecurityToken, which I'd like to replace by zeep.