X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web.Services%2FSystem.Web.Services.Description%2FSoapOperationBinding.cs;h=fff6bfa30ddf2266d0f9e22124b7b8f2cd7976cb;hb=9d64590968b31d427f99cfd0b35adf0f41dd0a7a;hp=9eecd8df09dba95b71578e6aa9d8333311a353bb;hpb=b5cfba1835f2ba823796f825410e0062b7e4c9a3;p=mono.git diff --git a/mcs/class/System.Web.Services/System.Web.Services.Description/SoapOperationBinding.cs b/mcs/class/System.Web.Services/System.Web.Services.Description/SoapOperationBinding.cs index 9eecd8df09d..fff6bfa30dd 100644 --- a/mcs/class/System.Web.Services/System.Web.Services.Description/SoapOperationBinding.cs +++ b/mcs/class/System.Web.Services/System.Web.Services.Description/SoapOperationBinding.cs @@ -1,11 +1,11 @@ -// -// System.Web.Services.Description.SoapOperationBinding.cs -// -// Author: -// Tim Coleman (tim@timcoleman.com) -// -// Copyright (C) Tim Coleman, 2002 -// +// +// System.Web.Services.Description.SoapOperationBinding.cs +// +// Author: +// Tim Coleman (tim@timcoleman.com) +// +// Copyright (C) Tim Coleman, 2002 +// // // Permission is hereby granted, free of charge, to any person obtaining @@ -27,51 +27,51 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - -using System.ComponentModel; -using System.Web.Services.Configuration; -using System.Xml.Serialization; - -namespace System.Web.Services.Description { - [XmlFormatExtension ("operation", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (OperationBinding))] - public class SoapOperationBinding : ServiceDescriptionFormatExtension { - - #region Fields - - string soapAction; - SoapBindingStyle style; - - #endregion // Fields - - #region Constructors - - public SoapOperationBinding () - { - soapAction = String.Empty; - style = SoapBindingStyle.Default; - } - - #endregion // Constructors - - #region Properties - - [XmlAttribute ("soapAction")] - public string SoapAction { - get { return soapAction; } - set { soapAction = value; } - } - - // LAMESPEC: .NET Documentation says that the default value for this property is - // SoapBindingStyle.Document (see constructor), but reflection shows that this - // attribute value is SoapBindingStyle.Default - - [DefaultValue (SoapBindingStyle.Default)] - [XmlAttribute ("style")] - public SoapBindingStyle Style { - get { return style; } - set { style = value; } - } - - #endregion // Properties - } -} + +using System.ComponentModel; +using System.Web.Services.Configuration; +using System.Xml.Serialization; + +namespace System.Web.Services.Description { + [XmlFormatExtension ("operation", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (OperationBinding))] + public class SoapOperationBinding : ServiceDescriptionFormatExtension { + + #region Fields + + string soapAction; + SoapBindingStyle style; + + #endregion // Fields + + #region Constructors + + public SoapOperationBinding () + { + soapAction = String.Empty; + style = SoapBindingStyle.Default; + } + + #endregion // Constructors + + #region Properties + + [XmlAttribute ("soapAction")] + public string SoapAction { + get { return soapAction; } + set { soapAction = value; } + } + + // LAMESPEC: .NET Documentation says that the default value for this property is + // SoapBindingStyle.Document (see constructor), but reflection shows that this + // attribute value is SoapBindingStyle.Default + + [DefaultValue (SoapBindingStyle.Default)] + [XmlAttribute ("style")] + public SoapBindingStyle Style { + get { return style; } + set { style = value; } + } + + #endregion // Properties + } +}