8.1. Defining Interfaces

The first step in interface-based programming is to define the interfaces you want to implement. When you build a Web service, you should always start with defining the interface. Today, tools like Visual Studio .NET do not provide direct support for this. I am hopeful that future versions will provide the needed support for defining Web service interfaces.

Although you can use Notepad to create a WSDL document from scratch, you'll probably want a more productive and less error-prone way to define your interfaces. An easy way to define a Web service interface is to create a Web service and define the Web methods you want the interface to have. If you have parameters with complex types, you define those types in schemas, ...

Get Real World XML Web Services: For VB and VB .NET Developers 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.