xmlHttpRequest object is empty when it arrives at asp.net
Posted on 2006-11-28
I have an activeX control which creats a DOM object and send it to an aspx page via the xmlHttpRequest object. Yet when i load the object into a DOM object on the server the request information seems to be empty. I aprechiate that using DOM in .NET is not the most efficent method of handling xml, but none the less i beleive this should work?
activex code to send DOM and xmlHttpRequest:
Set xmlHttpReq1 = New MSXML2.XMLHTTP30
xmlHttpReq1.Open "POST", strServerURL, False
receiving code on the aspx page:
xmlDoc = Server.CreateObject("Msxml2.DOMDocument")
xmlDoc.async = False
xmlDoc.validateOnParse = False
xmlDoc.resolveExternals = False
yet it saves an empty xml file....
I know the DOM object has created successfully at the client as i save the xml file for testing before sending it.
many thanks for any help.