HttpBinding.cs 983 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // System.Web.Services.Description.HttpBinding.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System.Web.Services.Configuration;
  10. using System.Xml.Serialization;
  11. namespace System.Web.Services.Description {
  12. [XmlFormatExtension ("binding", "http://schemas.xmlsoap.org/wsdl/http/", typeof (Binding))]
  13. [XmlFormatExtensionPrefix ("http", "http://schemas.xmlsoap.org/wsld/http/")]
  14. public sealed class HttpBinding : ServiceDescriptionFormatExtension {
  15. #region Fields
  16. public const string Namespace = "http://schemas.xmlsoap.org/wsdl/http/";
  17. string verb;
  18. #endregion // Fields
  19. #region Constructors
  20. public HttpBinding ()
  21. {
  22. verb = String.Empty;
  23. }
  24. #endregion // Constructors
  25. #region Properties
  26. [XmlAttribute ("verb", DataType = "NMTOKEN")]
  27. public string Verb {
  28. get { return verb; }
  29. set { verb = value; }
  30. }
  31. #endregion // Properties
  32. }
  33. }