O'Reilly logo

Real World XML Web Services: For VB and VB .NET Developers by Yasser Shohoud

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

9.1. Serialization and Web Services

Chapter 2 introduced you to the process of serializing objects and primitives to XML. You learned how .NET's serialization attributes can be used to control this process. Serialization is an important part of Web services because it provides the mapping between the data structures you use in Visual Basic and XML messages.

It's important to understand that Web services receive and return XML only; everything else is an illusion performed by the tools you use. So the next time you create a Web method that returns a DataSet or an array of objects, remember that what you are really returning is XML. This XML is obtained by serializing the DataSet or the array of objects. The client never sees your array or your ...

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