How to consume web service base on WSDL

来源:互联网 发布:淘宝直销店是正品吗 编辑:程序博客网 时间:2024/06/05 00:16

WSDL: Web Service Defination Lauguage, which define the exchange XML format in SOAP web service.

In .Net, we can use the command line below to generate proxy class.

wsdl /language:C# /out:myProxyClass.cs File:///C:\Users\[User Name]\Desktop\WebService1.xml

After that, add this proxy class "myProxyClass.cs" into project then  can start to use it.

原创粉丝点击