Skip to content
sebmartin edited this page Apr 12, 2011 · 1 revision

To run the script, simply edit the last line with the root URL of your WSDL definition. For example:

http://yourhost/my/awesome/service.svc?wsdl

Then run it in your favourite terminal like this:

$ ./flatten-wsdl.py

If all goes well, you'll have a file called test.xml in the same directory as where you ran the python script. This is your single flat WSDL file.

I will make improvements to this script to include command line params etc instead of having to edit the code. I just whipped this together quickly for an immediate need and so it might not play nice with all services or even flavours of WSDLs.

I am also open to suggestions and improvements.

Clone this wiki locally