简体   繁体   中英

using soap with vbs on 64 bit

Following code is not able to create instance on windows 2012 R2 64 bit to make soap call via vbs

Dim obj
Set obj = CreateObject("MSSOAP.SoapClient30")

Few articles mentioned that, SOAP Toolkits have been replaced by the Microsoft .NET Framework. What shall I do to so that it may call web service & can run as scheduled job on win 2012 R2 64 bit environment?

I would suggest creating a windows service using .NET in order to execute a task periodically. Then you could follow this tutorial to make the web service call using .NET.

If you are not familiar with .NET and you insist on VB Script, you could follow this tutorial which handles the SOAP requests in a very structured way, wrapping the whole functionality in classes.

Hope I helped!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM