.NET SOAP Classes

.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.

The .NET SoapFormatter Class

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 ...

Get Applied SOAP: Implementing .NET XML Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.