Which C# SOAP Client Library is easiest to use?

老子叫甜甜 提交于 2019-11-29 11:13:23

What Assaf said. You have the choice between using a Web reference (wrapper around WSDL.exe) and using a Service reference (wrapper around svcutil.exe). Service references are .NET 3.0+ and part of the WCF way of doing things.

Personally I still use Web references most of the time, but YMMV.

Edit: screenshot of the two menu options :)

That's what Web References in C# projects do. When you add a web reference it parses the WSDL and creates strongly typed classes for the API.

No need for any fancy library... This is built-in functionality... Just add a Service Reference to your project right from the context menu in Visual Studio.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!