c# - C# Web 服务中 "ConformsTo = WsiProfiles.None"的负面影响

标签 c# web-services

我正在向用 C# 编写的 asmx Web 服务添加方法重载,为了发布它,我需要将服务的 WebServiceBinding 属性更改为上面的属性。这样做似乎无害(网络服务只会被内部编写的应用程序使用,至少在可预见的 future ),但我是否遗漏了该选择的一些含义?

最佳答案

To implement method overloading in webservices first you must set the MessageName
attribute of your webservice then set your webservice binding ConformsTo 
attribute to WsiProfiles.None and that’s it! Note that you can do second step 
in your Web.Config file for all webservices.
( according to this blog post ).

关于c# - C# Web 服务中 "ConformsTo = WsiProfiles.None"的负面影响,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1260949/

相关文章:

c# - 如何将 Iron ruby​​ 嵌入到 C# 程序中?

c# - JSON.net,C#,无法在数据模型中设置默认值

WCF回调: Is it interoperable with Java?

java - 不生成或使用 JSON 的 RESTful Web 服务

asp.net - 将 jQuery AJAX 与 .NET 集成

java - 在 Glassfish Web 部署后执行代码

c# - RichTextBox 使用私有(private)字体时的不正确行为

c# - 在 C# 中缓存异常实例是一种好习惯吗

c# - C++/CLI 中的 System::IntPtr 到 int*

Java Web 服务客户端 + Axis + Eclipse + Tomcat