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

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

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