October 2001
Intermediate to advanced
432 pages
10h 22m
English
.NET provides a complex yet elegant system that you can use to implement Web Services. From a programming model perspective, a Web Service in .NET is little more than a method in a class. You simply slap on a couple attributes, and, voilà—you have a Web Service. And that's a good thing. We want that. But it's also nice to look under the hood to see what's running this machine.
SoapFormatter is one workhorse .NET SOAP class. Its purpose in life is to format a generic .NET object using a SOAP format, given a stream. The class itself has several methods, but the two most interesting are Serialize() and Deserialize(). Serialize() takes as input both a stream into which the SOAP output will be formatted ...