General information
Title:
Sending XML to the server
Hello,
I'm having a problem with sending XML data from a browser app to an ASP on the server. On the server I want to extract the XML from the request, but I can't get to it. This is the Javascript I use on the server:
Response.Expires = -1000;
var doc = Server.CreateObject("Microsoft.XMLDOM");
doc.load(Request);
var Obj = Server.CreateObject("MyDll.MyClass") ;
var Obj.WriteXml(doc.xml) ;
In Obj.WriteXml I just write the XML to a file, so I can see if it works. It works file if I replace the last line of code by this one:
var Obj.WriteXml(doc.text) ;
However, with this code I get the XML without tags.
Any ideas?
TIA
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only