Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending XML to the server
Message
 
To
All
General information
Forum:
Internet
Category:
XML
Title:
Sending XML to the server
Miscellaneous
Thread ID:
00464653
Message ID:
00464653
Views:
42
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
Map
View

Click here to load this message in the networking platform