【问题标题】:How to set SOAP protocol for a ASP.NET web service?如何为 ASP.NET Web 服务设置 SOAP 协议?
【发布时间】:2013-02-08 08:07:49
【问题描述】:

我是 ASP.NET Web 服务的新手。 我已经编写了我的网络服务、网络方法。我希望 Web 服务的输出采用 SOAP 而不是默认的 HTTP POST 协议。 我怎么做? 我需要输出是 SOAP,因为我需要在我将使用 Web 服务的 Web 应用程序中反序列化 xml 文件。

请帮忙。

【问题讨论】:

    标签: asp.net web-services soap web


    【解决方案1】:

    按照这些步骤进行

      1.In the Web Service Details window, select an operation for that Web service.
      2.On the Diagram menu, choose Properties.
      3.In the Properties window, set the appropriate SOAP properties under the Implementation heading.
    

    http://msdn.microsoft.com/en-us/magazine/cc164007.aspx

    【讨论】:

    • 抱歉,我在哪里可以找到 Web 服务详细信息窗口?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-12-30
    • 1970-01-01
    • 2019-04-28
    • 1970-01-01
    • 1970-01-01
    • 2019-04-15
    • 1970-01-01
    相关资源
    最近更新 更多