Easiest path for Microsoft Web API to generate WSDL
Web A开发者_运维技巧PI, unlike some of the older Microsoft web service technologies, does not generate WSDL documentation automatically.
What's the easiest way for it to automatically generate (or quickly manually generate) the WSDL associated with each service call?
Web API is technology to create REST services and REST services don't use WSDL so there is no way for your service to generate one. WSDL 1.1 supported by MS and WCF even doesn't offer ability to describe REST services.
WSDL 2.0 or WADL offers REST service description but MS and WCF supports neither of them and these standards were not broader accepted and supported yet.
精彩评论