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

B.2. Design Messages Not Methods

This tip comes naturally after you adopt the previous one. Web services are concerned with messaging and exchanging data between applications. Today, the best way to provide a formal, machine-readable description of this data is to use XML Schema. When building a Web service, start by designing your messages. How do you want the request and response messages to look? You can use VS .NET's Schema Designer to do most of the work. You can also take this formal description and show it to developers who will program against your Web service to get their buy-in. Then start building your Web service based on the final schema design. This decoupling of message design from implementation (methods) allows you to change ...

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