使用 C# 的 SOAP

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/885883/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-05 08:25:06  来源:igfitidea点击:

SOAP using C#

c#.netweb-servicessoap

提问by yoitsfrancis

How do you use SOAP using C#? Is there a simple, yet effective tutorial for this?

您如何使用 C# 使用 SOAP?是否有一个简单而有效的教程?

采纳答案by womp

SOAP is encapsulated with the Web Service model in ASP.Net. Here's a good intro article on MSDN: http://msdn.microsoft.com/en-us/library/ms972326.aspx

SOAP 是用 ASP.Net 中的 Web Service 模型封装的。这是 MSDN 上的一篇很好的介绍文章:http: //msdn.microsoft.com/en-us/library/ms972326.aspx

You can find some good tutorials on MSDN and at the ASP.Net web site. Here's a great introductory video: http://www.asp.net/learn/videos/video-7025.aspx

您可以在 MSDN 和 ASP.Net 网站上找到一些很好的教程。这是一个很棒的介绍视频:http: //www.asp.net/learn/videos/video-7025.aspx

回答by TimothyP

Are you using Visual Studio ?

你在使用 Visual Studio 吗?

In VS2008 you can add a "Service Reference" http://www.techtoolblog.com/archives/add-web-references-to-visual-studio-2008

在 VS2008 中,您可以添加“服务参考” http://www.techtoolblog.com/archives/add-web-references-to-visual-studio-2008

(Google really is your friend on this one :p)

(谷歌真的是你的朋友:p)