2002-08-12 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / HttpBinding.cs
1 // \r
2 // System.Web.Services.Description.HttpBinding.cs\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //\r
7 // Copyright (C) Tim Coleman, 2002\r
8 //\r
9 \r
10 using System.Web.Services.Configuration;\r
11 using System.Xml.Serialization;\r
12 \r
13 namespace System.Web.Services.Description {\r
14         [XmlFormatExtension ("binding", "http://schemas.xmlsoap.org/wsdl/http/", typeof (Binding))]\r
15         [XmlFormatExtensionPrefix ("http", "http://schemas.xmlsoap.org/wsdl/http/")]\r
16         public sealed class HttpBinding : ServiceDescriptionFormatExtension {\r
17 \r
18                 #region Fields\r
19 \r
20                 public const string Namespace = "http://schemas.xmlsoap.org/wsdl/http/";\r
21                 string verb;\r
22 \r
23                 #endregion // Fields\r
24 \r
25                 #region Constructors\r
26                 \r
27                 public HttpBinding ()\r
28                 {\r
29                         verb = String.Empty;\r
30                 }\r
31                 \r
32                 #endregion // Constructors\r
33 \r
34                 #region Properties\r
35 \r
36                 [XmlAttribute ("verb", DataType = "NMTOKEN")]\r
37                 public string Verb {    \r
38                         get { return verb; }\r
39                         set { verb = value; }\r
40                 }\r
41         \r
42                 #endregion // Properties\r
43         }\r
44 }\r