i have asp ( classic ) application
what i need to do is..
i have to develop web service ( asmx ) to perform some functionality using Asp.net (4.0 or 3.5 )
can i call this web service in Asp( classic ) application ?
if yes then how ?
Appreciate your valuable response..
what i need to do is..
i have to develop web service ( asmx ) to perform some functionality using Asp.net (4.0 or 3.5 )
can i call this web service in Asp( classic ) application ?
if yes then how ?
Appreciate your valuable response..
Posted Mar 24, 2014, 5:22 AM
The following solution was the answer to your problem.
'set up xmlhttp to checkout server Dim oRequest Set oRequest = Server.CreateObject("MSXML2.ServerXMLHTTP") 'setting this option will allow ServerXMLHTTP to ignore the certificate errors it encounters. oRequest.setOption(2) = SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS ' resolve, connect, send, receive - in milliseconds oRequest.setTimeouts 10000, 10000, 10000, 10000 'set the URL msURL = "[Service Url]" msSOAP = "" msSOAP = msSOAP & "
took the "?wsdl" off of the url and changed the envelope a bit and it works now. I also removed the setting of the SoapMethodName header.
kindly accept as answer if this helpful to you