Below is my asp pages trying for xml request/response
Request.asp (from client)
<%
pXML = "<XmlRequest><FileNo>123</FileNo></XmlRequest>"
Set http = CreateObject("MSXML2.ServerXMLHTTP")
http.open "GET", "http://test.com/response.asp?xml_request=" & pXML, 0
http.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
http.send ""
http_response = http.responseText
%>
Response.asp (in the server)
<%
xml_request = Request.QueryString("xml_request")
Set xd= Server.CreateObject("Msxml2.DOMDocument")
xd.async = False
xd.loadXML(Xml_Request)
FileNo = xd.getElementsByTagName("XmlRequest").item(0).getElementsByTagName("FileNo").item(0).text
''' here is the problem
%>
Response file is in this server path `Server.MapPath("123.xml")` (this is a large file)
1.How i send response file to the "Request.asp" from "Response.asp"
2.i need a solution with out response.write
3.How send response xml file to the client ?