ASP.NET
  Home arrow ASP.NET arrow Retrieving and Processing XML with ASP.Net
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Retrieving and Processing XML with ASP.Net
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 5
    2005-07-18

    Table of Contents:
  • Retrieving and Processing XML with ASP.Net
  • The Code and Explanation
  • Using the XML Exchanger

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Retrieving and Processing XML with ASP.Net


    (Page 1 of 3 )

    The .Net Framework includes an extensive set of tools for working with XML data. This article will explain how to retrieve remote XML data from an application that doesn’t necessarily provide Web Services yet, but transmits data in XML format. Also included is the code to process the returned data.

    As we move into a new era of web application development, many sites and applications are providing web services for consumption by our web-based (or otherwise) client applications. However, an enormous number of applications do not provide standardized web services. Many do, however, provide the ability through an API to send a remote request to their system, and receive XML data in return.

    A good example of this is if you’re working with a 3rd party, hosted CRM solution or Email Service Provider. You may want to work with the data locally, either in a client application, or even an intranet web application. You have perhaps the unique identifier for a product, or the email address of a user, and you wish to retrieve all of the information for use locally.

    The Approach

    The approach I decided to take in this case was to create a class primarily for the transmission and retrieval of XML data. This is because I could see that the functionality would come in handy, and I would most likely want to use it in more than one place in my application, on quite possibly even in other applications down the road.

    So rather than chopping up the code, I’ll just insert the code for the entire class file and insert comments outlining steps, which I’ll explain afterwards.

    More ASP.NET Articles
    More By Justin Cook


     

    ASP.NET ARTICLES

    - Develop Your First ASP.NET Website with Visu...
    - Run ASP.NET in Windows XP Home with Cassini ...
    - How to Test a Web Application
    - How to Add Code and Validation Controls to a...
    - Working in Source and Split Views to Build a...
    - How to Build a Web Form for a One-Page Web A...
    - How to Develop a One-Page Web Application
    - An ASP.NET Web Application in Action
    - Developing ASP.NET Web Applications
    - An Introduction to ASP.NET Web Programming
    - Introduction to the ADO.NET Entity Framework...
    - Completing an In-Text Advertising System und...
    - Programming an In-Text Advertising System un...
    - Building an In-Text Advertising System Under...
    - Developing a Mini ASP.NET AJAX Server Centri...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    Stay green...Green IT