[Mono-devel-list] SoapFormatting

Miguel de Icaza miguel at ximian.com
Wed Apr 16 17:42:32 EDT 2003


Hello,

> Quoting from
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexxml/html/xml01202003.asp
> 
> "During XML serialization, only the public properties and fields of an
> object are serialized. Also, type fidelity is not always preserved
> during XML serialization. This means that if, for instance, you have a
> Book object that exists in the Library namespace, there is no guarantee
> that it will be deserialized into an object of the same type. However,
> this means that objects serialized using the XML serialization in the
> .NET Framework can be shipped from one machine to the other without
> requiring that the original type be present on the target machine or
> that the XML is even processed using the .NET Framework."
> 
> (second paragraph below "Overview of XML Serialization in the .NET
> Framework)

The difference is that there are two implementations of Soap in the .NET
Framework: one uses Remoting (SoapFormatter is the remoting version),
while the other uses XmlSerialization (This is the one used by ASP.NET
and the one used by smart clients when authoring code with it).

Miguel.



More information about the Mono-devel-list mailing list