VS2010 打开命令行窗口(开始-VS2010--Visual Studio Tools--Visual Studio Command Prompt)

输入:

wsdl  /l:cs /n:newNamespace /out:myServiceName.cs http://ip/path/serviceName.asmx

或者通过WSDL文件:

wsdl  /l:cs /n:newNamespace /out:myServiceName.cs 你本地WSDL文件地址

通过WSDL命令,将WSDL生成代理类

 

生成的类在 D:\Program Files\Microsoft Visual Studio 10.0\VC  目录下

 

http://blog.csdn.net/w87875251l/article/details/8516885

相关文章:

  • 2021-10-04
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2021-09-10
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2022-02-13
相关资源
相似解决方案