I need to build an ASP page (sender) which will send data as XML via XMLHTTP to another ASP page (reciever). The reciever will process the xml data and send back xml which the sender will then process to display on the browser. I am initially trying to sort out issues with XMLHTTP. Here's the code..
<%@ Language=VBScript %>
Response.ContentType = "text/html"
Dim objXMLHTTP, XML
Set objXMLHTTP = CreateObject ("MSXML2.serverXMLHTTP")
objXMLHTTP.Open "POST", "http://..//someasppage.asp
r "Content-Type", "text/xml"
r "charset", "utf-8"
XML = "<magazine>MSDN</magazine>
<%@ ENABLESESSIONSTATE=False LANGUAGE=VBScript %>
Response.setContentType = "text/xml"
Response.CharSet = "UTF-8"
is blank. Nothing comes back from the reciever.
When I try to use objXMLHTTP.responseText I get 403.9: Access Forbidden. Too many users...
Could anybody please tell me what I am doing wrong. Also if anybody has a working code for such a scenario then it would be of immense help.
I am new to XMLHTTP (just a couple of days old). So struggling. Please help !!