XMLHTTP in ASP.NET

  • Thread starter Thread starter mk
  • Start date Start date
M

mk

Hi,

Do we have any replacement of XMLHTTP in ASP.NET. If yes,
could anybody plase give an example of sending a xml
island from client to server and recieving the island at
server.

Thanks in advance.

regards,
mk
 
Hi,

We still have XMLHTTP in ASP.NET.
You can send an XML island from client to server like this:

* Create an XML Island on the ASP.NET page:
<xml id="ClientOne">
<asp:Xml id="serverone" runat="server"></asp:Xml>
</xml>

* Decalre the xml island on the server:
protected System.Web.UI.WebControls.XML checkXML;

Now you can use the ClientOne as an XMLDocument obn the client and ServerOne
as XMLDocument on the server.

Hope this helps.
Rohit,
 
I am unable to use this in the sercer. Could u pls give
the code snippet
 
You can make requests using System.Net.HttpWebRequest and pick up the
response using System.Net.HttpWebResponse.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top