vbscript 调用WebService vbscript 调用WebService实现代码
人气:0想了解vbscript 调用WebService实现代码的相关内容吗,在本文为您仔细讲解vbscript 调用WebService的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:vbscript,调用WebService,下面大家一起来学习吧。
复制代码 代码如下:
'获取已初始化Soap对象
Public Function GetSoapClient(sURL)
Dim oSoap
Set oSoap = CreateObject("MSSOAP.SoapClient")
oSoap.mssoapinit sURL
Set GetSoapClient = oSoap
End Function
'用户绑定对应序列号
sub BindCodeNumber()
Dim oSoap
Dim sURL
dim str
sURL = ""
'sURL =""
Set oSoap = GetSoapClient(sURL)
'str = oSoap.HelloWorld()
Set oSoap = Nothing
'msgbox str
End sub
BindCodeNumber
加载全部内容