最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
在VB6或ASP中调用webservice
时间:2022-07-02 11:22:18 编辑:袖梨 来源:一聚教程网
VB6或ASP中调用webservice
Web Services技术使异种计算环境之间可以共享数据和通信,达到信息的一致性。我们可以利用
HTTP POST/GET协议、SOAP协议来调用Web Services。
一、 利用SOAP协议在VB6中调用Web Services
; 首先利用.net发布一个简单的Web Services
Public Function getString(ByVal str As String) As String
Return "Hello World, " & str & "!"
End Function
该Web Services只包含一个getString方法,用于返回一个字符串。当我们调用这个Web Services时,发送给.asmx页面的SOAP消息为:
xmlns:xsd="http://www.**w*3.org/2001/XMLSchema" xmlns:soap="http://
schemas.xmlsoap.org/soap/envelope/">
而返回的SOAP消息为:
http://schemas.xml**s*oap.org/soap/envelope/">
相关文章
- 阿凡达潘多拉边境吐雾者种子采集方法介绍 12-15
- kimi智能助手电脑版使用指南-kimi智能助手在电脑上的操作技巧 12-15
- 次元城动漫app安卓最新版本下载 - 次元城动漫app官方正版安装包下载 12-15
- 魔兽世界怀旧服Plus萨利维丝打法攻略详解 12-15
- 小红书网页版极速畅游-小红书网页版官网一键直达免下载即享 12-15
- 山海进化录神山十三打法攻略分享 12-15