Using SOAP with Classic ASP - نوشته شده در (1610 Views)
Junior Member
mafifi
مطلب: 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
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
http://www.devarticles.com/c/a/ASP/An-Introduction-To-XML-SOAP-Using-ASP-and-VB6/
نوشته شده در
Junior Member
mafifi
مطلب: 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
 
شما باید یک متن وارد کنید