Using SOAP with Classic ASP

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/68551?pagenum=1
04 November 2025, 21:41

Topic


mafifi
Using SOAP with Classic ASP
17 April 2009, 20:25


I am working on a Single-Sign-On (SSO) application using Classic ASP where the users will use a single URL to register for an account and then will be allowed to access one of the multiple sites we have. Things were going well until I found that I have to work with an existing Oracle database and that I have to use SOAP. No direct database connection. Has anyone worked on similar projects and can provide some guidance?

 

Replies ...


HuwR
18 April 2009, 03:33


http://www.devarticles.com/c/a/ASP/An-Introduction-To-XML-SOAP-Using-ASP-and-VB6/
mafifi
03 May 2009, 14:40


Any ideas why I am getting an error:
Code:

Microsoft VBScript runtime error '800a000d' 

Type mismatch

/tools/webservices/ws2.asp, line 16

Here's my code:
Code:


<%@ Language=VBScript %>
<%
Dim oSoapClient : Set oSoapClient = Server.CreateObject("MSSOAP.SoapClient30")
oSoapClient.ClientProperty("ServerHTTPRequest") = True
oSoapClient.mssoapinit ("http://tamilmp3songslyrics.com/webservices/tamil-mp3-songs-lyrics.asmx?wsdl")
%>
<html>
<head></head>
<body>
<%
Dim obj
obj = oSoapClient.GetFilmNames("s", 50)
Response.Write ("<br>No. of elements in the Array : " & UBound(obj))
Dim tmp

For each tmp in obj '<< == This is line 16 Response.Write ("<br>" & tmp)
Next
%>

</body>
</html>
<%
oSoapClient = Nothing
%>
© 2000-2021 Snitz™ Communications