April 27, 2011, 6:46 p.m.
posted by stackme
Generating WSDL Automatically
Given the nature of SOAP, it's vital to provide clients with a WSDL file they can use to configure themselves for your server. Unfortunately, ext/soap does not support WSDL generation.
Therefore, you must either generate WSDL by hand from scratch, modify an existing document that supports a similar set of operations, or use an unofficial script, such as:
None of these scripts supports the entire SOAP and WSDL specifications, and each one uses a slightly different syntax to accomplish its goal. You should investigate all of them to see if they do what you need and fit your programming styles.
The WSDL specification at http://www.w3.org/TR/wsdl.