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

6.5. Understanding Web Service Clients

A Web service proxy class inherits from either HttpGetClientProtocol, HttpPostClientProtocol, or SoapHttpClientProtocol depending on whether it uses HTTP GET, HTTP POST, or SOAP to invoke the Web service. As I mentioned earlier, HTTP GET and POST are somewhat interesting for quickly testing the service, but any real-world Web service will likely use SOAP, which means the Web service proxy will inherit from SoapHttpClientProtocol. Figure 6.13 shows the class hierarchy for a Web service proxy. Note that SoapHttpClientProtocol inherits from HttpWebClientProtocol, which in turn inherits from WebClientProtocol.

Figure 6.13. Inheritance hierarchy for a Web service proxy class. The classes at the bottom of the ...

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