Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Reading Xml Data

Reading Xml Data

Scheduled Pinned Locked Moved ASP.NET
csharpxmltutorialquestionannouncement
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    salmonraju
    wrote on last edited by
    #1

    Hi, I have to get data from below URL(created using classic ASP) [http://10.10.5.5/Myproject/AppRequest.asp?xml=<?xml version="1.0" encoding="UTF-8"?><Request userid="5"></Request>](http://10.10.5.5/Myproject/AppRequest.asp?xml=<?xml version=)[[^](http://10.10.5.5/Myproject/AppRequest.asp?xml=<?xml version= "New Window")] This URL returns Xml page as response. when i copy this url in my browser and hit enter ,an Xml documenet is opening in Browser. I wanted to capture this xml Respose in my .Net application how to call this URL and execute this to capture the response Xml.

    N 1 Reply Last reply
    0
    • S salmonraju

      Hi, I have to get data from below URL(created using classic ASP) [http://10.10.5.5/Myproject/AppRequest.asp?xml=<?xml version="1.0" encoding="UTF-8"?><Request userid="5"></Request>](http://10.10.5.5/Myproject/AppRequest.asp?xml=<?xml version=)[[^](http://10.10.5.5/Myproject/AppRequest.asp?xml=<?xml version= "New Window")] This URL returns Xml page as response. when i copy this url in my browser and hit enter ,an Xml documenet is opening in Browser. I wanted to capture this xml Respose in my .Net application how to call this URL and execute this to capture the response Xml.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Look into System.Net.WebClient class. Work with DownloadString[^] method and save the string with .xml extension.

      Navaneeth How to use google | Ask smart questions

      S 2 Replies Last reply
      0
      • N N a v a n e e t h

        Look into System.Net.WebClient class. Work with DownloadString[^] method and save the string with .xml extension.

        Navaneeth How to use google | Ask smart questions

        S Offline
        S Offline
        salmonraju
        wrote on last edited by
        #3

        Hi I am using ASP.Net 1.1,I am not finding this namespace.Please suggest.

        1 Reply Last reply
        0
        • N N a v a n e e t h

          Look into System.Net.WebClient class. Work with DownloadString[^] method and save the string with .xml extension.

          Navaneeth How to use google | Ask smart questions

          S Offline
          S Offline
          salmonraju
          wrote on last edited by
          #4

          Thanks You It is working.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups