mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* ServiceDescription.cs:
Add namespace definitions when serializing.
* HttpBinding.cs:
Change namespace definition (wsdl was spelt wsld)
svn path=/trunk/mcs/; revision=6488
45 lines
983 B
C#
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
|
|
}
|
|
}
|