vb调用WebService
发布时间:2020-12-17 08:17:13 所属栏目:百科 来源:网络整理
导读:1:安装Soap Toolkit 可以网上下载 2:新建VB工程,添加对soap toolkit的引用(Microsoft Soap Type Library 3.0) 3: Private Sub Command1_Click()Dim client As New MSSOAPLib30.SoapClient30Call client .MSSoapInit ("http://localhost:1234/DemoWebServ
1:安装Soap Toolkit 可以网上下载 2:新建VB工程,添加对soap toolkit的引用(Microsoft Soap Type Library 3.0) 3: Private Sub Command1_Click() Dim client As New MSSOAPLib30.SoapClient30 Call client .MSSoapInit ("http://localhost:1234/DemoWebService/Service.asmx?WSDL") msgbox client.HelloWorld() Set client = Nothing End Sub (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |