vba - SoapClient30 在窗口 7 64 位中给出错误

标签 vba deprecated soap-client

我正在使用 VBA 7。当我尝试为 Set sc_SearchEngineXML = New SoapClient30 创建一个新对象时,它给我一个错误,指出 ActiveX 组件无法创建对象。

是否有任何替代解决方案可以代替已弃用的 SOAP 工具包?

根据 MSDN :

All SOAP Toolkits have been replaced by the Microsoft .NET Framework. The .NET Framework provides basic Web service capabilities with COM components and applications. SOAP Toolkit versions prior to 3.0 are no longer supported. Support for SOAP Toolkit 3.0 has been extended beyond the original retirement date of July 1, 2004 to more closely align with the support offered for Visual Studio 6.0. Standard support for SOAP Toolkit 3.0 will now expire March 31, 2005 and extended support will expire April 8, 2008. For the latest information about supported technologies for developing Web services, visit the Web Services Developer Center on the MSDN Web site. To learn about the benefits of building Web services solutions on the .NET Framework and to take advantage of the latest advanced Web services capabilities, read the MSDN articles on migration.



请帮帮我。

最佳答案

根据这篇迁移文章:http://msdn.microsoft.com/en-us/library/ms973876.aspx,SOAP 工具包已迁移到 Web 服务。 .有一个使用新 .NET SOAP 框架基础知识的演练教程。环顾四周,似乎确实有新的 Web 服务框架的明确替代方案,因此我建议您尽可能多地熟悉它。

许多声明和语法看起来保持相对相同,例如Set sc = New SoapClient .我建议从演练开始,然后通过引用工具前进以了解您的方向。

关于vba - SoapClient30 在窗口 7 64 位中给出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10445372/

相关文章:

java - Jetty SslConnector 的弃用方法

java - tomcat 上的 soap 请求出错

java - 自定义服务异常作为 AxisFault 被抛出

vba - 无法使用 vba 从 selenium 的下拉列表中进行选择

objective-c - 我应该用什么替换已弃用的 sizeWithFont : method?

excel - 路径适用于 PC,但不适用于 Mac

android - 来自 url 的 LinearLayout setBackgroundDrawable 位图

python zeep,如何更容易地找到方法/属性所属的绑定(bind)?

vba - 如何根据单元格宽度更改形状的大小

vba - 提高VBA代码速度的方法