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

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.