| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- //
- // System.Web.Services.Description.SoapHeaderFaultBinding.cs
- //
- // Author:
- // Tim Coleman ([email protected])
- //
- // Copyright (C) Tim Coleman, 2002
- //
- using System.ComponentModel;
- using System.Web.Services.Configuration;
- using System.Xml;
- using System.Xml.Serialization;
- namespace System.Web.Services.Description {
- [XmlFormatExtension ("headerfault", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (InputBinding), typeof (OutputBinding))]
- public sealed class SoapHeaderFaultBinding : ServiceDescriptionFormatExtension {
- #region Fields
- string encoding;
- bool mapToProperty;
- XmlQualifiedName message;
- string ns;
- string part;
- SoapBindingUse use;
- #endregion // Fields
- #region Constructors
-
- [MonoTODO]
- public SoapHeaderFaultBinding ()
- {
- encoding = String.Empty;
- mapToProperty = false; // FIXME: is this right?
- message = XmlQualifiedName.Empty;
- ns = String.Empty;
- part = String.Empty;
- use = SoapBindingUse.Default;
- }
-
- #endregion // Constructors
- #region Properties
- [DefaultValue ("")]
- [XmlAttribute ("encodingStyle")]
- public string Encoding {
- get { return encoding; }
- set { encoding = value; }
- }
- [XmlAttribute ("message")]
- public XmlQualifiedName Message {
- get { return message; }
- set { message = value; }
- }
-
- [DefaultValue ("")]
- [XmlAttribute ("namespace")]
- public string Namespace {
- get { return ns; }
- set { ns = value; }
- }
- [XmlAttribute ("part", DataType = "NMTOKEN")]
- public string Part {
- get { return part; }
- set { part = value; }
- }
- [DefaultValue (SoapBindingUse.Default)]
- [XmlAttribute ("use")]
- public SoapBindingUse Use {
- get { return use; }
- set { use = value; }
- }
- #endregion // Properties
- }
- }
|