<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp%2FWeb_Services%2FSOAP</id>
		<title>Csharp/C Sharp/Web Services/SOAP - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp%2FWeb_Services%2FSOAP"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/Web_Services/SOAP&amp;action=history"/>
		<updated>2026-04-29T17:54:10Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp/Web_Services/SOAP&amp;diff=2&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/Web_Services/SOAP&amp;diff=2&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp/Web_Services/SOAP&amp;diff=3&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/Web_Services/SOAP&amp;diff=3&amp;oldid=prev"/>
				<updated>2010-05-26T11:32:24Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==illustrates SOAP serialization==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
Mastering Visual C# .NET&lt;br /&gt;
by Jason Price, Mike Gunderloy&lt;br /&gt;
Publisher: Sybex;&lt;br /&gt;
ISBN: 0782129110&lt;br /&gt;
*/&lt;br /&gt;
 /*&lt;br /&gt;
  Example15_19.cs illustrates SOAP serialization&lt;br /&gt;
*/&lt;br /&gt;
using System;&lt;br /&gt;
using System.IO;&lt;br /&gt;
using System.Runtime.Serialization;&lt;br /&gt;
using System.Runtime.Serialization.Formatters.Soap;&lt;br /&gt;
// the Customer class gives us something to serialize&lt;br /&gt;
[Serializable]&lt;br /&gt;
class Customer&lt;br /&gt;
{&lt;br /&gt;
  // some private data members&lt;br /&gt;
  private int CustomerNumber;&lt;br /&gt;
  private string CustomerName;&lt;br /&gt;
  private string CustomerCountry;&lt;br /&gt;
  // the WriteCustomer method formats info to the screen&lt;br /&gt;
  public void WriteCustomer()&lt;br /&gt;
  {&lt;br /&gt;
    Console.WriteLine(&amp;quot;Customer Number: &amp;quot; + this.CustomerNumber);&lt;br /&gt;
    Console.WriteLine(&amp;quot;Customer Name: &amp;quot; + this.CustomerName);&lt;br /&gt;
    Console.WriteLine(&amp;quot;Customer Country: &amp;quot; + this.CustomerCountry);&lt;br /&gt;
  }&lt;br /&gt;
  // the constructor accepts all the info to create a customer&lt;br /&gt;
  public Customer(&lt;br /&gt;
    int newCustomerNumber, &lt;br /&gt;
    string newCustomerName, &lt;br /&gt;
    string newCustomerCountry)&lt;br /&gt;
  {&lt;br /&gt;
    this.CustomerNumber = newCustomerNumber;&lt;br /&gt;
    this.CustomerName = newCustomerName;&lt;br /&gt;
    this.CustomerCountry = newCustomerCountry;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
public class Example15_20 &lt;br /&gt;
{&lt;br /&gt;
  public static void Main() &lt;br /&gt;
  {&lt;br /&gt;
    // create a new customer and dump to screen&lt;br /&gt;
    Customer MyCustomer = new Customer(1, &amp;quot;X Corporation&amp;quot;, &amp;quot;France&amp;quot;);&lt;br /&gt;
    MyCustomer.WriteCustomer();&lt;br /&gt;
    // Create a FileStream to hold the serialized customer&lt;br /&gt;
    FileStream serializeStream = new FileStream(&amp;quot;c:\\MyCustomer.xml&amp;quot;, &lt;br /&gt;
      FileMode.Create);&lt;br /&gt;
    // use SOAP formatting&lt;br /&gt;
    SoapFormatter sf = new SoapFormatter();&lt;br /&gt;
    // serialize the object&lt;br /&gt;
    sf.Serialize(serializeStream, MyCustomer);&lt;br /&gt;
    serializeStream.Flush();&lt;br /&gt;
    serializeStream.Close();&lt;br /&gt;
    // retrieve the serialized version to a second object and dump that&lt;br /&gt;
    FileStream retrieveStream = new FileStream(&amp;quot;c:\\MyCustomer.xml&amp;quot;,&lt;br /&gt;
      FileMode.Open);&lt;br /&gt;
    Customer NewCustomer = (Customer) sf.Deserialize(retrieveStream);&lt;br /&gt;
    NewCustomer.WriteCustomer();&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>