Click here to Skip to main content
15,888,610 members
Articles / Web Development / ASP.NET

Developing Next Generation Smart Clients using .NET 2.0 working with Existing .NET 1.1 SOA-based XML Web Services

Rate me:
Please Sign up or sign in to vote.
4.96/5 (134 votes)
16 Aug 200540 min read 1.2M   3.9K   462  
Comprehensive guide to development of .NET 2.0 Smart Clients working with existing Service Oriented Architecture based XML web services, fully utilizing the Enterprise Library
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- 
    Microsoft ResX Schema 
    
    Version 2.0
    
    The primary goals of this format is to allow a simple XML format 
    that is mostly human readable. The generation and parsing of the 
    various data types are done through the TypeConverter classes 
    associated with the data types.
    
    Example:
    
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
                
    There are any number of "resheader" rows that contain simple 
    name/value pairs.
    
    Each data row contains a name, and value. The row also contains a 
    type or mimetype. Type corresponds to a .NET class that support 
    text/value conversion through the TypeConverter architecture. 
    Classes that don't support this are serialized and stored with the 
    mimetype set.
    
    The mimetype is used for serialized objects, and tells the 
    ResXResourceReader how to depersist the object. This is currently not 
    extensible. For a given mimetype the value must be set accordingly:
    
    Note - application/x-microsoft.net.object.binary.base64 is the format 
    that the ResXResourceWriter will generate, however the reader can 
    read any of the formats listed below.
    
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array 
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="imglistIcons.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>21, 24</value>
  </metadata>
  <data name="imglistIcons.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
        ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAS
        CgAAAk1TRnQBSQFMAgEBBAEAAQkBAAEEAQABEAEAARABAAT/AREBAAj/AUIBTQE2BwABNgMAASgDAAFA
        AwABIAMAAQEBAAEQBgABEP8A/wD/AP8A/wD/AP8A/wBCAAGEARACAAHOATkaAAHOATkBzgE5ARgBYxoA
        AcABAAHAAQABbAEyOgABzAEYAT8BZwGZATECAAHOATkWAAFzAU4BGAFjARgBYwFzAU4BOQFnFgABgAEB
        AQABAgFmAQIBgAEBAWwBMg4AAQ4BRgHtAUEBrAE5AWoBMQEoASkB5gEgAaQBGAFiARABQQEMAUEBDAFB
        AQwBQQEMAUEBDAFBAQwBQQEMCAABhAEQAX8BTgE/AWcBPwFnAT8BZwGZATECAAHOATkQAAFzAU4BewFv
        Af4BfwF7AW8BOQFnAZQBUgFzAU4BOQFnEAABhgEBAQABAgFgAQIBAAECAQABAgGAAQEBgAEBASwBMwoA
        AQ4BSgF0AXsBLgF3AekBcgGmAW4BpQFuAYQBagFkAWIBJAFeAQMBVgHjAVUB4gFVAcMBTQHDAUkBYgEQ
        CAABzAEYAT8BZwE/AWcBPwFnAT8BZwE/AWcBPwFnAZkBMQIAAc4BOQwAAZQBUgH+AX8GAAH+AX8BOQFn
        AZQBUgFzAU4BGAFjDQABAgFgAQIBYAECAQABAgEgAQMBYAECAQABAgEAAQIBgAEBAWwBMgYAAS8BSgG1
        AXsBkgF/AXABfwFOAX8BTQF7AQsBewHqAXoByAF2AaYBdgGFAXIBZAFuAUIBagHDAU0BhAEUBgABhAEQ
        AX8BTgE/AWcBPwFnAT8BZwE/AWcBPwFnAT8BZwE/AWcBPwFnAZkBMQIAAc4BOQYAAZQBUgE5AWcMAAH+
        AX8BOQFnAZQBUgFzAU4BGAFjBgABgAEZAQABAgFgAQIBIAEDAWABAgFgAQIBIAEDASABAwEAAQIBAAEC
        AWYBAgGAAQEBbAEyAgABLwFOAbYBewGzAX8BkgF/AXABfwFOAX8BLQF7AQsBewHpAXoByAF2AaYBdgGF
        AXIBQwFuAeIBVQHFARwGAAHMARgBPwFnAT8BZwE/AWcBPwFnAT8BZwE/AWcBPwFnAT8BZwE/AWcBPwFn
        AT8BZwGZATEBhAEQBAABlAFSAf4BfxAAAf4BfwE5AWcBlAFSAc4BOQIAAfMBTwEAAQIBgAEBASABAwFg
        AQIBIAEDAWABAgFmAQIBAAECAWABAgFgAQIBYAECAYABAQGAAQEBhAEQAVABTgG2AX8BtQF/AbMBfwGR
        AX8BcAF/AU4BfwEtAXsBCwF7AekBegHHAXYBpgF2AWQBcgECAVoBBwElBAABhAEQAZkBMQGZATECAAF/
        AU4BPwFnAT8BZwE/AWcBPwFnAT8BZwE/AWcBfwFOAZkBMQHMARgBwAF8AgABlAFSATkBZwH+AX8SAAF7
        AW8BlAFSBAABhgEBAYABAQEgAQMBIAEDAWABAgFgAQIBIAEDAWABAgEgAQMBZgECASABAwEgAQMBYAEC
        AYABAQIAAVABTgHXAX8B1QF7AbQBfwGTAX8BkQF/AW8BfwFOAX8BLAF7AQsBewHpAXoBxwF2AYUBcgEh
        AV4BSQEtBAABzAEYAX8BTgF/AU4BfwFOAZkBMQIAAT8BZwE/AWcBPwFnAT8BZwHMARgBmQExAcwBGAGE
        ARABYAF+AgABlAFSAf4BfxQAATkBZwFzAU4EAAGAAQEBAAECASABAwEAAQIBAAECASABAwFgAQIBYAEC
        ASABAwFgAQIBIAEDASABAwEAAQIBgAEBAgABcAFSAdcBfwG2AX8BtgF/AbQBfwGSAX8BkQF/AW8BfwFO
        AX8BLAF7AQsBewHpAXYBpgFyASEBYgGKATUCAAGEARABmQExAX8BTgF/AU4BfwFOAX8BTgF/AU4BfwFO
        AX8BTgHMARgBmQExAZkBMQHMARgCAAHgAX8BIAF/Ac4BOQGUAVIBewFvAf4BfxAAAf4BfwGUAVIEAAGE
        ARABgAEBAWABAgEgAQMBYAECAQABAgFgAQIBYAECASABAwEgAQMBgAEBAWABAgFgAQIBgAEBBAABcQFS
        AdcBfwG2AX8BtgF/AdUBewG0AX8BkgF/AZEBfwFvAX8BTQF/ASwBewEKAXsB6QF2AWMBZgHMAT0EAAHO
        ATkCAAGZATEBfwFOAX8BTgF/AU4BzAEYAZkBMQQAAcwBGAEgAX8BIAF/AQABZAGAAX0CAAE5AWcBlAFS
        ARgBYwE5AWcBewFvAXsBbwH+AX8B/gF/BgABOQFnAXMBTgYAAWwBMgHAAQABgAEBAQABAgFgAQIBYAEC
        ASABAwEAAQIBZgECAWABAgFgAQIBAAECAYYBAQQAAZEBVgHXAX8B1wF/AdcBfwHXAX8B1gF/AbUBfwG0
        AX8BkgF/AXEBfwFvAX8BTgF/AS0BewELAXsBzAE9CAABzgE5BAABhAEQAcwBGAHMARgBbAF+AWABfgFg
        AX4BIAF/AcABfAMAAUAGAAE5AWcBlAFSAXMBTgGUAVIBlAFSAXsBbwH+AX8CAAH+AX8BlAFSDAABbAEy
        AYABAQGAAQEBgAEBAQABAgEAAQIBYAECAWABAgFgAQIBgAEBBgABkQFWAZEBVgGRAVYBkQFWAZEBVgFx
        AVYBcQFSAXEBUgFwAVIBcAFSAVABUgFQAVIBUAFSAVABUgEOAUYRAAFAASABfwFgAX4BwAF8AYABTQEA
        AUABwAF8AgABYAF+EAABcwFOAZQBUgE5AWcBGAFjAXMBThcAAQIBgAEBAQABAgEAAQIBgAEBBgABkQFW
        AZYBdwG2AX8BtgF/AbUBewGSAXsBkQFWAXoBcx8AAUwBwAF8AYABTQHAAXwBwAF8AgABwAF8GAABcwFO
        AZQBUhwAAcABAAHACQABewFzAZEBVgGRAVYBkQFWAZEBVgGRAVYBegFzIQABfAHAAXwBAAF8AgABwAF8
        ARgBYwMAAUwBGAFjaAABewFvARgBYwIAAXsBbwEYAWMBYAF+AWABfgEAAXwBGAFjagABGAFjAZQBUgGU
        AVIBewFvAXsBbwGUAVIBewFvARgBYwEYAWMCAAGUAVIBGAFjARgBY0IAAUIBTQE+BwABPgMAASgDAAFA
        AwABIAMAAQEBAAEBBgABARYAA/+BAAL/AfEB/wHxAf8B8QP/AfABfwHwAX8B8AF/AQABAQHgAR8B4AEf
        AeABHwEAAQEB4AEHAecBBwHgAQcBAAEBAcABAQHPAcEBwAEBAQABAQHAAQABzwHwAYACAAEBAYABAAGP
        AfkBgAEBAQABAQGAAQABnwH5AYABAQEAAQECAAEPAfMBAAEDAQABAQGAAQABgAFzAYABAwEAAQEB4AEC
        AeABJwHgAQcBAAEBAf4BAgH/AQcB/wEHAQAB/wH+AQsB/wHPAf8BzwEBAf8B/gEkBv8B8gEHBv8BwAER
        BP8L
</value>
  </data>
  <metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <value>False</value>
  </metadata>
</root>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect BT, UK (ex British Telecom)
United Kingdom United Kingdom

Comments and Discussions