Learn the most important control and control categories that every architect and developer should include in their projects.
url = "http://ws.mysite.com/test/Gateway.asmx"
Set objXMLHTTP = server.Createobject("MSXML2.ServerXMLHTTP")
objXMLHTTP.Open "POST", url, false
objXMLHTTP.setRequestHeader "Content-Type", "text/xml"
objXMLHTTP.send xmlmsg
'get any XMLHTTP MESSAGES
strResult= objXMLHTTP.ResponseText
strStatus = objXMLHTTP.StatusText
savdoc = objXMLHTTP.ResponseText
'get any SOAP FAULT MESSAGES IF THEY EXISTS AND DISPLAY TO USER
SoapFaultMessage.JPG
Do more with
set xmlDoc = objXMLHTTP.ResponseXml
Response.Write "SOAP fault: " & xmlDoc.SelectSingleNode("//faultstring").Text
Premium Content
You need an Expert Office subscription to comment.Start Free Trial