113 references to Soap12
System.Web.Services (113)
System\Web\Services\Description\Soap12ProtocolImporter.cs (3)
47
iStart = uriList.IndexOf(
Soap12
.Encoding, iStart, StringComparison.Ordinal);
50
int iEnd = iStart +
Soap12
.Encoding.Length;
60
UnsupportedOperationBindingWarning(Res.GetString(Res.WebSoap11EncodingStyleNotSupported1,
Soap12
.Encoding));
System\Web\Services\Description\Soap12ProtocolReflector.cs (2)
111
soapBodyBinding.Encoding =
Soap12
.Encoding;
127
soapHeaderBinding.Encoding =
Soap12
.Encoding;
System\Web\Services\Protocols\RuntimeUtils.cs (3)
85
if (ns ==
Soap12
.Namespace || ns ==
Soap12
.Encoding || ns ==
Soap12
.RpcNamespace)
System\Web\Services\Protocols\Soap11ServerProtocol.cs (5)
149
else if (code.Namespace ==
Soap12
.Namespace) {
150
if (code.Name ==
Soap12
.Code.Receiver)
152
else if (code.Name ==
Soap12
.Code.Sender)
154
else if (code.Name ==
Soap12
.Code.MustUnderstand)
156
else if (code.Name ==
Soap12
.Code.VersionMismatch)
System\Web\Services\Protocols\Soap12ServerProtocol.cs (24)
35
get { return
Soap12
.Namespace; }
38
get { return
Soap12
.Encoding; }
114
writer.WriteStartElement(Soap.Prefix, Soap.Element.Envelope,
Soap12
.Namespace);
115
writer.WriteAttributeString("xmlns", Soap.Prefix, null,
Soap12
.Namespace);
119
SoapHeaderHandling.WriteHeaders(writer, ServerProtocol.ServerMethod.outHeaderSerializer, ServerProtocol.Message.Headers, ServerProtocol.ServerMethod.outHeaderMappings, SoapHeaderDirection.Fault, ServerProtocol.ServerMethod.use == SoapBindingUse.Encoded, ServerType.serviceNamespace, ServerType.serviceDefaultIsEncoded,
Soap12
.Namespace);
121
SoapHeaderHandling.WriteUnknownHeaders(writer, ServerProtocol.Message.Headers,
Soap12
.Namespace);
123
writer.WriteStartElement(Soap.Element.Body,
Soap12
.Namespace);
125
writer.WriteStartElement(Soap.Element.Fault,
Soap12
.Namespace);
126
writer.WriteStartElement(
Soap12
.Element.FaultCode,
Soap12
.Namespace);
130
writer.WriteStartElement(
Soap12
.Element.FaultReason,
Soap12
.Namespace);
131
writer.WriteStartElement(
Soap12
.Element.FaultReasonText,
Soap12
.Namespace);
140
writer.WriteElementString(
Soap12
.Element.FaultNode,
Soap12
.Namespace, actor);
144
writer.WriteElementString(
Soap12
.Element.FaultRole,
Soap12
.Namespace, role);
149
writer.WriteStartElement(
Soap12
.Element.FaultDetail,
Soap12
.Namespace);
165
writer.WriteStartElement(
Soap12
.Element.FaultCodeValue,
Soap12
.Namespace);
171
writer.WriteStartElement(
Soap12
.Element.FaultSubcode,
Soap12
.Namespace);
System\Web\Services\Protocols\SoapClientProtocol.cs (16)
486
return this.version == SoapProtocolVersion.Soap12 ?
Soap12
.Namespace : Soap.Namespace;
492
return this.version == SoapProtocolVersion.Soap12 ?
Soap12
.Encoding : Soap.Encoding;
654
else if (reader.NamespaceURI ==
Soap12
.Namespace)
655
reader.ReadStartElement(Soap.Element.Envelope,
Soap12
.Namespace);
716
bool soap12 = (reader.NamespaceURI ==
Soap12
.Namespace);
725
if (reader.NamespaceURI == Soap.Namespace || reader.NamespaceURI ==
Soap12
.Namespace || reader.NamespaceURI == null || reader.NamespaceURI.Length == 0) {
726
if (reader.LocalName == Soap.Element.FaultCode || reader.LocalName ==
Soap12
.Element.FaultCode) {
737
else if (reader.LocalName ==
Soap12
.Element.FaultReason) {
744
if (reader.LocalName ==
Soap12
.Element.FaultReasonText && reader.NamespaceURI ==
Soap12
.Namespace) {
757
else if (reader.LocalName == Soap.Element.FaultActor || reader.LocalName ==
Soap12
.Element.FaultNode) {
760
else if (reader.LocalName == Soap.Element.FaultDetail || reader.LocalName ==
Soap12
.Element.FaultDetail) {
763
else if (reader.LocalName ==
Soap12
.Element.FaultRole) {
814
if (reader.NamespaceURI ==
Soap12
.Namespace || reader.NamespaceURI == null || reader.NamespaceURI.Length == 0) {
815
if (reader.LocalName ==
Soap12
.Element.FaultCodeValue) {
818
else 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)
21
public static readonly XmlQualifiedName ReceiverFaultCode = new XmlQualifiedName(
Soap12
.Code.Receiver,
Soap12
.Namespace);
23
public static readonly XmlQualifiedName SenderFaultCode = new XmlQualifiedName(
Soap12
.Code.Sender,
Soap12
.Namespace);
25
public static readonly XmlQualifiedName VersionMismatchFaultCode = new XmlQualifiedName(
Soap12
.Code.VersionMismatch,
Soap12
.Namespace);
27
public static readonly XmlQualifiedName MustUnderstandFaultCode = new XmlQualifiedName(
Soap12
.Code.MustUnderstand,
Soap12
.Namespace);
29
public static readonly XmlQualifiedName DataEncodingUnknownFaultCode = new XmlQualifiedName(
Soap12
.Code.DataEncodingUnknown,
Soap12
.Namespace);
32
public static readonly XmlQualifiedName RpcProcedureNotPresentFaultCode = new XmlQualifiedName(
Soap12
.Code.RpcProcedureNotPresentSubcode,
Soap12
.RpcNamespace);
34
public static readonly XmlQualifiedName RpcBadArgumentsFaultCode = new XmlQualifiedName(
Soap12
.Code.RpcBadArgumentsSubcode,
Soap12
.RpcNamespace);
37
public static readonly XmlQualifiedName EncodingMissingIdFaultCode = new XmlQualifiedName(
Soap12
.Code.EncodingMissingIDFaultSubcode,
Soap12
.Encoding);
39
public static readonly XmlQualifiedName EncodingUntypedValueFaultCode = new XmlQualifiedName(
Soap12
.Code.EncodingUntypedValueFaultSubcode,
Soap12
.Encoding);
System\Web\Services\Protocols\SoapHeader.cs (8)
56
[XmlAttribute("mustUnderstand", Namespace =
Soap12
.Namespace),
57
SoapAttribute("mustUnderstand", Namespace =
Soap12
.Namespace),
97
[XmlAttribute("role", Namespace =
Soap12
.Namespace),
98
SoapAttribute("role", Namespace =
Soap12
.Namespace),
124
[XmlAttribute("relay", Namespace =
Soap12
.Namespace),
125
SoapAttribute("relay", Namespace =
Soap12
.Namespace),
296
if (envelopeNS ==
Soap12
.Namespace) {
298
encodingStyle =
Soap12
.Encoding;
System\Web\Services\Protocols\SoapServerProtocol.cs (12)
562
string expectedNamespace = IsSupported(WebServiceProtocols.HttpSoap) ? Soap.Namespace :
Soap12
.Namespace;
698
writer.WriteAttributeString("xmlns", "rpc", null,
Soap12
.RpcNamespace);
834
XmlElement upgradeElement = doc.CreateElement(
Soap12
.Prefix,
Soap12
.Element.Upgrade,
Soap12
.Namespace);
838
upgradeElement.AppendChild(CreateUpgradeEnvelope(doc,
Soap12
.Prefix,
Soap12
.Namespace));
846
XmlElement envelopeElement = doc.CreateElement(
Soap12
.Prefix,
Soap12
.Element.UpgradeEnvelope,
Soap12
.Namespace);
849
XmlAttribute qnameAttr = doc.CreateAttribute(
Soap12
.Attribute.UpgradeEnvelopeQname);
924
else if (envelopeNs ==
Soap12
.Namespace)
System\Web\Services\Protocols\SoapUnknownHeader.cs (20)
36
element.SetAttribute(Soap.Attribute.MustUnderstand,
Soap12
.Namespace, "1");
41
element.SetAttribute(
Soap12
.Attribute.Role,
Soap12
.Namespace, actor);
51
element.RemoveAttribute(Soap.Attribute.MustUnderstand,
Soap12
.Namespace);
56
element.RemoveAttribute(
Soap12
.Attribute.Role,
Soap12
.Namespace);
57
element.RemoveAttribute(
Soap12
.Attribute.Relay,
Soap12
.Namespace);
78
elementMustUnderstand = GetElementAttribute(Soap.Attribute.MustUnderstand,
Soap12
.Namespace, element);
102
element.RemoveAttribute(Soap.Attribute.MustUnderstand,
Soap12
.Namespace);
113
elementActor = GetElementAttribute(
Soap12
.Attribute.Role,
Soap12
.Namespace, element);
127
element.RemoveAttribute(
Soap12
.Attribute.Role,
Soap12
.Namespace);
136
string elementRelay = GetElementAttribute(
Soap12
.Attribute.Relay,
Soap12
.Namespace, element);
155
element.SetAttribute(
Soap12
.Attribute.Relay,
Soap12
.Namespace, "1");
157
element.RemoveAttribute(
Soap12
.Attribute.Relay,
Soap12
.Namespace);