What are your approaches to generating some sort of human-readable documentation from WSDLs? In the past I've used WSDL viewer (by Tomi Vanek) (see my blog post about integrating it into NAnt) and I'm happy with the results, but I'm interested in any possible alternatives.
I've also heard of x3sp, but I haven't tried it.
Altova's XMLSpy does generates HTML documentation from a WSDL ... but it isn't free ;)
I just discovered that Notepad++ with the Xml Tools plugin installed can also do xsl transformations. If you provide it the wsdl-viewer.xsl mentioned earlier and the wsdl file, you'll get a nicely formatted html as a result.
I tried several alternatives
and ended up tweaking WSDL viewer to my needs.
Now, there is one more tool for this, called "DocFlex/XML WSDLDoc".
It is a new WSDL/XSD documentation generator that will allow you to document any number of both WSDL and XML schema (XSD) files plus any interconnections between them.
There is also an option for automatic inclusion of XSD diagrams generated by either Altova XMLSpy or Oxygen XML. Effectively, any of them can be used as dynamically linked diagramming engine.
KEY FEATURES
<wsdl:definitons>/<wsdl:types>
element)<wsdl:import>
,<xs:import>
,<xs:include>
,<xs:redefine>
elements found across all involved WSDL/XSD files.EXAMPLE
Here is a demo of such documentation (it was generated by a single source file: http://developer.ebay.com/webservices/latest/ebaySvc.wsdl):
The HTML itself: http://www.filigris.com/docflex-xml/wsdldoc/examples/html/ebaySvc/index.html
LINKS
http://www.filigris.com/docflex-xml/wsdldoc/
I know this a poor man's documentation method, but I've used opening the wsdl's XSD in visual studio and doing snag-it prints of that with comments and arrows added for clarity and our customer seems to have liked it without having to use another tool. You also may not have this but could use a version from a free VPC or MSDN subscription I've also used the BizTalk schema editor to view the XSD as well and document it from there using snag-it or another screen capture app. I'd try and use what you have!
-Bryan
Yes, there is a new one: wsdl2html. It focuses on request/response and removes info that people don't care.