2 // System.Web.Services.Protocols.HttpPostClientProtocol.cs
\r
5 // Tim Coleman (tim@timcoleman.com)
\r
7 // Copyright (C) Tim Coleman, 2002
\r
11 using System.Web.Services;
\r
13 namespace System.Web.Services.Protocols {
\r
14 public class HttpPostClientProtocol : HttpSimpleClientProtocol {
\r
16 #region Constructors
\r
18 public HttpPostClientProtocol ()
\r
22 #endregion // Constructors
\r
26 protected override WebRequest GetWebRequest (Uri uri)
\r
29 throw new InvalidOperationException ("The uri parameter is a null reference.");
\r
30 if (String.Empty == uri.ToString ())
\r
31 throw new InvalidOperationException ("The uri parameter has a length of zero.");
\r
32 return WebRequest.Create (uri);
\r
35 #endregion // Methods
\r