2012-11-10
WSDL是一个XML格式用以描述怎样调用具体的Web Service,Web Service提供什么样的Service等等。在.NET中有三种方式生成WSDL:1.在Web Service的URL后面加上WDSL需求,如下:http://localhost/webExamples/simpleService.asmx?WSDL2.使用disco.exe。在命令行中写下如下的命令:disco http://localhost/webExamples/simpleService.asmx3.使用System.Web.Services.Description命名空间下提供的类每个...