Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending XML to the server
Message
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
XML
Titre:
Sending XML to the server
Divers
Thread ID:
00464653
Message ID:
00464653
Vues:
41
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
Répondre
Fil
Voir

Click here to load this message in the networking platform