Files
mono/mcs/class/System.Web.Services/System.Web.Services.Description/HttpBinding.cs
T
Tim Coleman caff4ab4f8 2002-08-06 Tim Coleman <[email protected]>
* ServiceDescription.cs:
                Add namespace definitions when serializing.
        * HttpBinding.cs:
                Change namespace definition (wsdl was spelt wsld)

svn path=/trunk/mcs/; revision=6488
2002-08-07 02:24:20 +00:00

45 lines
983 B
C#

//
// System.Web.Services.Description.HttpBinding.cs
//
// Author:
// Tim Coleman ([email protected])
//
// Copyright (C) Tim Coleman, 2002
//
using System.Web.Services.Configuration;
using System.Xml.Serialization;
namespace System.Web.Services.Description {
[XmlFormatExtension ("binding", "http://schemas.xmlsoap.org/wsdl/http/", typeof (Binding))]
[XmlFormatExtensionPrefix ("http", "http://schemas.xmlsoap.org/wsdl/http/")]
public sealed class HttpBinding : ServiceDescriptionFormatExtension {
#region Fields
public const string Namespace = "http://schemas.xmlsoap.org/wsdl/http/";
string verb;
#endregion // Fields
#region Constructors
public HttpBinding ()
{
verb = String.Empty;
}
#endregion // Constructors
#region Properties
[XmlAttribute ("verb", DataType = "NMTOKEN")]
public string Verb {
get { return verb; }
set { verb = value; }
}
#endregion // Properties
}
}