
610
|
Chapter 34: The System.Web.Services.Protocols Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
HttpPostClientProtocol
System.Web.Services.Protocols (system.web.services.dll)
marshal by reference, disposable
class
You can inherit from this class to create a proxy class that communicates by using the
HTTP POST protocol, which encodes parameters in the body of the HTTP request.
When using this class, you must use the corresponding HttpMethodAttribute to bind proxy
class methods to web service methods.
Hierarchy
System.Object ➝ System.MarshalByRefObject ➝ System.ComponentModel.Compo-
nent(System.ComponentModel.IComponent, System.IDisposable)
➝ WebClientProtocol ➝
HttpWebClientProtocol ➝ HttpSimpleClientProtocol ➝ HttpPostClientProtocol
HttpSimpleClientProtocol
System.Web.Services.Protocols (system.web.services.dll)
marshal by reference, disposable
abstract class
This abstract class provides basic functionality for communicating with a web service
over HTTP. This class is inherited by HttpGetClientProtocol and HttpPostClientProtocol, both of
which your proxy classes can derive from directly. Parameters for an HTTP proxy are
encoded by using application/x-www-form-urlencoded content type.
Hierarchy
System.Object ➝ System.MarshalByRefObject ➝ System.ComponentModel.Compo-
nent(System.ComponentModel.IComponent, System.IDisposable)