113 references to Soap12
System.Web.Services (113)
System\Web\Services\Description\Soap12ProtocolImporter.cs (3)
47iStart = uriList.IndexOf(Soap12.Encoding, iStart, StringComparison.Ordinal); 50int iEnd = iStart + Soap12.Encoding.Length; 60UnsupportedOperationBindingWarning(Res.GetString(Res.WebSoap11EncodingStyleNotSupported1, Soap12.Encoding));
System\Web\Services\Description\Soap12ProtocolReflector.cs (2)
111soapBodyBinding.Encoding = Soap12.Encoding; 127soapHeaderBinding.Encoding = Soap12.Encoding;
System\Web\Services\Protocols\RuntimeUtils.cs (3)
85if (ns == Soap12.Namespace || ns == Soap12.Encoding || ns == Soap12.RpcNamespace)
System\Web\Services\Protocols\Soap11ServerProtocol.cs (5)
149else if (code.Namespace == Soap12.Namespace) { 150if (code.Name == Soap12.Code.Receiver) 152else if (code.Name == Soap12.Code.Sender) 154else if (code.Name == Soap12.Code.MustUnderstand) 156else if (code.Name == Soap12.Code.VersionMismatch)
System\Web\Services\Protocols\Soap12ServerProtocol.cs (24)
35get { return Soap12.Namespace; } 38get { return Soap12.Encoding; } 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 (16)
486return this.version == SoapProtocolVersion.Soap12 ? Soap12.Namespace : Soap.Namespace; 492return this.version == SoapProtocolVersion.Soap12 ? Soap12.Encoding : Soap.Encoding; 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) { 726if (reader.LocalName == Soap.Element.FaultCode || reader.LocalName == Soap12.Element.FaultCode) { 737else if (reader.LocalName == Soap12.Element.FaultReason) { 744if (reader.LocalName == Soap12.Element.FaultReasonText && reader.NamespaceURI == Soap12.Namespace) { 757else if (reader.LocalName == Soap.Element.FaultActor || reader.LocalName == Soap12.Element.FaultNode) { 760else if (reader.LocalName == Soap.Element.FaultDetail || reader.LocalName == Soap12.Element.FaultDetail) { 763else if (reader.LocalName == Soap12.Element.FaultRole) { 814if (reader.NamespaceURI == Soap12.Namespace || reader.NamespaceURI == null || reader.NamespaceURI.Length == 0) { 815if (reader.LocalName == Soap12.Element.FaultCodeValue) { 818else if (reader.LocalName == Soap12.Element.FaultSubcode) {
System\Web\Services\Protocols\SoapException.cs (2)
296? new XmlQualifiedName(Soap12.Code.Receiver, Soap12.Namespace)
System\Web\Services\Protocols\SoapFaultCodes.cs (18)
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); 32public static readonly XmlQualifiedName RpcProcedureNotPresentFaultCode = new XmlQualifiedName(Soap12.Code.RpcProcedureNotPresentSubcode, Soap12.RpcNamespace); 34public static readonly XmlQualifiedName RpcBadArgumentsFaultCode = new XmlQualifiedName(Soap12.Code.RpcBadArgumentsSubcode, Soap12.RpcNamespace); 37public static readonly XmlQualifiedName EncodingMissingIdFaultCode = new XmlQualifiedName(Soap12.Code.EncodingMissingIDFaultSubcode, Soap12.Encoding); 39public static readonly XmlQualifiedName EncodingUntypedValueFaultCode = new XmlQualifiedName(Soap12.Code.EncodingUntypedValueFaultSubcode, Soap12.Encoding);
System\Web\Services\Protocols\SoapHeader.cs (8)
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) { 298encodingStyle = Soap12.Encoding;
System\Web\Services\Protocols\SoapServerProtocol.cs (12)
562string expectedNamespace = IsSupported(WebServiceProtocols.HttpSoap) ? Soap.Namespace : Soap12.Namespace; 698writer.WriteAttributeString("xmlns", "rpc", null, Soap12.RpcNamespace); 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); 849XmlAttribute qnameAttr = doc.CreateAttribute(Soap12.Attribute.UpgradeEnvelopeQname); 924else if (envelopeNs == Soap12.Namespace)
System\Web\Services\Protocols\SoapUnknownHeader.cs (20)
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);