【问题标题】:"Add Service Reference" Generates No Proxy Methods“添加服务引用”不生成代理方法
【发布时间】:2012-03-10 21:40:34
【问题描述】:

我想连接到这个网络服务, http://aye.comp.nus.edu.sg/parsCit/wing.nus.wsdl

所以我单击了添加服务引用并将其指向路径,但我不知道如何调用该服务。我的 Reference.cs 类只包含这个:

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.261
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

所以我认为它没有生成任何方法。我应该尝试什么?

【问题讨论】:

  • 您是否在 Visual Studio 的 ErrorList 窗口中看到任何错误/警告?

标签: .net wcf web-services wsdl


【解决方案1】:

我正在通过手机查看这个,所以也许这就是问题所在,但 wsdl 不包含任何方法定义。这就是为什么你没有看到任何方法......没有。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多