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.5. Programming Against Interfaces

The previous section showed you how to define and implement interfaces. This section completes the picture by showing you how to code clients against those interfaces.

8.5.1. Generating Proxies from Interfaces

On the client side, a Web service proxy exposes the set of methods that reflects the binding's operations. As far as the client is concerned, this set of methods is considered the Web service's interface.

When you add a Web reference to an interface-only WSDL document, Visual Studio .NET recognizes an interface-only WSDL and generates the proxy class for you (beta versions didn't do this). Since the WSDL document doesn't contain a <service> element, the generated proxy class will not have a Web service ...

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