David Karlsson
David Karlsson

Reputation: 9716

How to generate Request & Response templates from WSDL in python

I am trying to generate a request and response template from a WSDL.

I know SOAP UI can do this, but I need to use Python in my case.

I have seen that there is a python lib called zeep, but it seems to be targeted more towards setting up a soap client and performing calls.

How can I get the request from the WSDL?

Here is an example I have been using:

https://www.tutorialspoint.com/wsdl/wsdl_example.htm

Upvotes: 2

Views: 3424

Answers (1)

mvantellingen
mvantellingen

Reputation: 1269

You can create the request XML documents with zeep, see http://docs.python-zeep.org/en/master/client.html#creating-the-raw-xml-documents

Upvotes: 1

Related Questions