O'Reilly logo

Application Development Using Visual Basic® and .NET by Dana L. Wyatt, Peter Thorsteinson, Robert J. Oberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SOAP Differences

Before we finish our basic examination of SOAP and WSDL, a more detailed look at the relationship of SOAP, WSDL, and the XML Schema specification is in order. As mentioned earlier, the SOAP encodings used by .NET remoting differ from those used by Web services and the XML serializer.

To illustrate the differences between the two, we will take the same program and serialize it to disk and use it as a Web service. The program builds a circular list of two customer items. The two programs are found in the SOAP Differences directory.

The first program, Formatter, creates a circular list and then serializes it to disk using the .NET SOAP formatter.

 ' Formatter.vb Imports System.Web.Services Imports System.IO Imports System.Runtime.Serialization.Formatters.Soap ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required