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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10445372/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-11 16:01:50  来源:igfitidea点击:

SoapClient30 give error in window 7 64 bit

vbadeprecatedsoap-client

提问by user1287532

I am using VBA 7. When I attempt to create a new object for Set sc_SearchEngineXML = New SoapClient30, it gives me an error stating that the ActiveX component cannot create the object.

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

Is there any alternate solutions that I can use in place of the deprecated SOAP Toolkits?

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

As per MSDN:

根据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.

所有 SOAP 工具包都已被 Microsoft .NET Framework 取代。.NET Framework 通过 COM 组件和应用程序提供基本的 Web 服务功能。不再支持 3.0 之前的 SOAP Toolkit 版本。对 SOAP Toolkit 3.0 的支持已扩展到 2004 年 7 月 1 日的原始停用日期之后,以便与为 Visual Studio 6.0 提供的支持更加一致。SOAP Toolkit 3.0 的标准支持将于 2005 年 3 月 31 日到期,扩展支持将于 2008 年 4 月 8 日到期。有关用于开发 Web 服务的支持技术的最新信息,请访问 MSDN 网站上的 Web 服务开发人员中心。要了解在 .NET Framework 上构建 Web 服务解决方案的好处并利用最新的高级 Web 服务功能,

Please help me out.

请帮帮我。

回答by HymanOrangeLantern

The SOAP Toolkits have been migrated to Web Services, as per this migration article: http://msdn.microsoft.com/en-us/library/ms973876.aspx. There is a walkthrough tutorial for using the basics of the new .NET SOAP framework. Browsing around, there does appear to be a clear alternative to the new Web Services framework, so I would advise familiarizing yourself with it as much as possible.

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

Many of the declarations and syntax look to remain relatively the same, e.g. Set sc = New SoapClient. I would suggest starting with the walkthrough and then advancing through the reference tools to get your bearings.

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