54 references to Namespace
System.Web.Services (54)
System\Web\Services\Protocols\RuntimeUtils.cs (1)
85if (ns == Soap12.Namespace || ns == Soap12.Encoding || ns == Soap12.RpcNamespace)
System\Web\Services\Protocols\Soap11ServerProtocol.cs (1)
149else if (code.Namespace == Soap12.Namespace) {
System\Web\Services\Protocols\Soap12ServerProtocol.cs (15)
35get { return Soap12.Namespace; } 114writer.WriteStartElement(Soap.Prefix, Soap.Element.Envelope, Soap12.Namespace); 115writer.WriteAttributeString("xmlns", Soap.Prefix, null, Soap12.Namespace); 119SoapHeaderHandling.WriteHeaders(writer, ServerProtocol.ServerMethod.outHeaderSerializer, ServerProtocol.Message.Headers, ServerProtocol.ServerMethod.outHeaderMappings, SoapHeaderDirection.Fault, ServerProtocol.ServerMethod.use == SoapBindingUse.Encoded, ServerType.serviceNamespace, ServerType.serviceDefaultIsEncoded, Soap12.Namespace); 121SoapHeaderHandling.WriteUnknownHeaders(writer, ServerProtocol.Message.Headers, Soap12.Namespace); 123writer.WriteStartElement(Soap.Element.Body, Soap12.Namespace); 125writer.WriteStartElement(Soap.Element.Fault, Soap12.Namespace); 126writer.WriteStartElement(Soap12.Element.FaultCode, Soap12.Namespace); 130writer.WriteStartElement(Soap12.Element.FaultReason, Soap12.Namespace); 131writer.WriteStartElement(Soap12.Element.FaultReasonText, Soap12.Namespace); 140writer.WriteElementString(Soap12.Element.FaultNode, Soap12.Namespace, actor); 144writer.WriteElementString(Soap12.Element.FaultRole, Soap12.Namespace, role); 149writer.WriteStartElement(Soap12.Element.FaultDetail, Soap12.Namespace); 165writer.WriteStartElement(Soap12.Element.FaultCodeValue, Soap12.Namespace); 171writer.WriteStartElement(Soap12.Element.FaultSubcode, Soap12.Namespace);
System\Web\Services\Protocols\SoapClientProtocol.cs (7)
486return this.version == SoapProtocolVersion.Soap12 ? Soap12.Namespace : Soap.Namespace; 654else if (reader.NamespaceURI == Soap12.Namespace) 655reader.ReadStartElement(Soap.Element.Envelope, Soap12.Namespace); 716bool soap12 = (reader.NamespaceURI == Soap12.Namespace); 725if (reader.NamespaceURI == Soap.Namespace || reader.NamespaceURI == Soap12.Namespace || reader.NamespaceURI == null || reader.NamespaceURI.Length == 0) { 744if (reader.LocalName == Soap12.Element.FaultReasonText && reader.NamespaceURI == Soap12.Namespace) { 814if (reader.NamespaceURI == Soap12.Namespace || reader.NamespaceURI == null || reader.NamespaceURI.Length == 0) {
System\Web\Services\Protocols\SoapException.cs (1)
296? new XmlQualifiedName(Soap12.Code.Receiver, Soap12.Namespace)
System\Web\Services\Protocols\SoapFaultCodes.cs (5)
21public static readonly XmlQualifiedName ReceiverFaultCode = new XmlQualifiedName(Soap12.Code.Receiver, Soap12.Namespace); 23public static readonly XmlQualifiedName SenderFaultCode = new XmlQualifiedName(Soap12.Code.Sender, Soap12.Namespace); 25public static readonly XmlQualifiedName VersionMismatchFaultCode = new XmlQualifiedName(Soap12.Code.VersionMismatch, Soap12.Namespace); 27public static readonly XmlQualifiedName MustUnderstandFaultCode = new XmlQualifiedName(Soap12.Code.MustUnderstand, Soap12.Namespace); 29public static readonly XmlQualifiedName DataEncodingUnknownFaultCode = new XmlQualifiedName(Soap12.Code.DataEncodingUnknown, Soap12.Namespace);
System\Web\Services\Protocols\SoapHeader.cs (7)
56[XmlAttribute("mustUnderstand", Namespace = Soap12.Namespace), 57SoapAttribute("mustUnderstand", Namespace = Soap12.Namespace), 97[XmlAttribute("role", Namespace = Soap12.Namespace), 98SoapAttribute("role", Namespace = Soap12.Namespace), 124[XmlAttribute("relay", Namespace = Soap12.Namespace), 125SoapAttribute("relay", Namespace = Soap12.Namespace), 296if (envelopeNS == Soap12.Namespace) {
System\Web\Services\Protocols\SoapServerProtocol.cs (5)
562string expectedNamespace = IsSupported(WebServiceProtocols.HttpSoap) ? Soap.Namespace : Soap12.Namespace; 834XmlElement upgradeElement = doc.CreateElement(Soap12.Prefix, Soap12.Element.Upgrade, Soap12.Namespace); 838upgradeElement.AppendChild(CreateUpgradeEnvelope(doc, Soap12.Prefix, Soap12.Namespace)); 846XmlElement envelopeElement = doc.CreateElement(Soap12.Prefix, Soap12.Element.UpgradeEnvelope, Soap12.Namespace); 924else if (envelopeNs == Soap12.Namespace)
System\Web\Services\Protocols\SoapUnknownHeader.cs (12)
36element.SetAttribute(Soap.Attribute.MustUnderstand, Soap12.Namespace, "1"); 41element.SetAttribute(Soap12.Attribute.Role, Soap12.Namespace, actor); 51element.RemoveAttribute(Soap.Attribute.MustUnderstand, Soap12.Namespace); 56element.RemoveAttribute(Soap12.Attribute.Role, Soap12.Namespace); 57element.RemoveAttribute(Soap12.Attribute.Relay, Soap12.Namespace); 78elementMustUnderstand = GetElementAttribute(Soap.Attribute.MustUnderstand, Soap12.Namespace, element); 102element.RemoveAttribute(Soap.Attribute.MustUnderstand, Soap12.Namespace); 113elementActor = GetElementAttribute(Soap12.Attribute.Role, Soap12.Namespace, element); 127element.RemoveAttribute(Soap12.Attribute.Role, Soap12.Namespace); 136string elementRelay = GetElementAttribute(Soap12.Attribute.Relay, Soap12.Namespace, element); 155element.SetAttribute(Soap12.Attribute.Relay, Soap12.Namespace, "1"); 157element.RemoveAttribute(Soap12.Attribute.Relay, Soap12.Namespace);