简体   繁体   中英

converting file from .wsdl to .asmx

我有一个带有.wsdl的文件,我想要从其中的.asmx文件,有什么办法可以将文件从.wsdl转换成.asmx。

No need of converting wsdl file to asmx... What exactly you need either you want to consume it or you want to host the service? If you want to consume it just add the webreference and consume it through your aspx.cs file.

您可以使用Visual Studio本身,也可以使用它附带的wsdl命令行工具,如下所示:

wsdl /serverInterface path/to/test.wsdl

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM