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,
 
You can make requests using System.Net.HttpWebRequest and pick up the
response using System.Net.HttpWebResponse.
 
Back
Top