Using SOAP with Classic ASP - Postet den (1616 Views)
Junior Member
mafifi
Innlegg: 308
308
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?
Regards,

Mo
   
 Sidestørrelse 
Postet den
Forum Admin
HuwR
Innlegg: 20611
20611
http://www.devarticles.com/c/a/ASP/An-Introduction-To-XML-SOAP-Using-ASP-and-VB6/
Postet den
Junior Member
mafifi
Innlegg: 308
308
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
%>
Regards,

Mo
 
Du må legge inn en melding