|
Can anyone pls let me know how to call a web service created in asp.net throug asp..
I am using following code but its not working. and gicing error
If Request.ServerVariables("REQUEST_METHOD") = "POST" Then
Dim oSOAP
'Create an object of Soap Client
Set oSOAP = Server.CreateObject("MSSOAP.SoapClient")
oSOAP.ClientProperty("ServerHTTPRequest") = True
' oSOAP.ClientProperty("ServerHTTPRequest") = True
'Initaialize the Web Service
oSOAP.mssoapinit("http://localhost/emailverification/webservice1/service1.asmx")
'Invoke the Web Service
Response.write(oSOAP.Add(Request.Form("text1"),Req uest.Form("text2")) & "<BR>")
End If
Pls help me out
__________________
Please login or register to view this content. Registration is FREE
Affordable web design, web application development, content management systems and ecommerce solutions for small business
|