【问题标题】:Refresh Excel 2007 Web Service Reference刷新 Excel 2007 Web 服务参考
【发布时间】:2011-08-03 00:00:06
【问题描述】:

我使用 Web Service References Tool 2.0 在 Excel 2007 中使用了 Web 服务 (WSDL)。我能够调用 Web 服务并发出成功的请求。

WSDL 已更改(已添加新服务/更改了参数)。如何在 Excel 中刷新 Web 服务参考以考虑更改?目前我能看到的唯一方法是删除并重新添加?

【问题讨论】:

    标签: web-services excel vba wsdl excel-2007


    【解决方案1】:

    您可以使用其 url 属性更改您的 web 服务 url。试试下面的代码。

    Dim CallWebService As New WebRef.WMS_WS
    CallWebService.Url = myNewURL
    

    谢谢

    【讨论】:

    • 没有解决问题。他的 WSDL 更改了 params,而不是更改了 URL。
    猜你喜欢
    • 1970-01-01
    • 2011-01-10
    • 2014-07-19
    • 2012-05-28
    • 2010-11-04
    • 2012-09-18
    相关资源
    最近更新 更多