在asp中使用vbscript调用webservices
2018-09-06 11:23
阅读:549
需下载msSoapToolkit20.exe
引用:MSSOAP.SoapClient
例程:
<%@ LANGUAGE = VBScript %>
<HTML>
<HEAD>
<TITLE>webservie演示</TITLE>
</HEAD>
<BODY>
<%
Dim soapclient
Const WSDL_URL =
set soapclient = Server.CreateObject(MSSOAP.SoapClient)
soapclient.ClientProperty(ServerHTTPRequest) = True
soapclient.mssoapinit
Dim res
res = soapclient.test(23, 34)
%>
<h1>webservie演示</h1>
<B>Result:</B> <%=res%><P><P>
</BODY>
</HTML>
上一篇:ASP开发中存储过程应用全接触
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:在asp中使用vbscript调用webservices
文章链接:http://soscw.com/index.php/essay/9330.html
文章标题:在asp中使用vbscript调用webservices
文章链接:http://soscw.com/index.php/essay/9330.html
评论
亲,登录后才可以留言!