54 references to Namespace
System.Web.Services (54)
System\Web\Services\Protocols\RuntimeUtils.cs (1)
85
if (ns == Soap12.
Namespace
|| ns == Soap12.Encoding || ns == Soap12.RpcNamespace)
System\Web\Services\Protocols\Soap11ServerProtocol.cs (1)
149
else if (code.Namespace == Soap12.
Namespace
) {
System\Web\Services\Protocols\Soap12ServerProtocol.cs (15)
35
get { return Soap12.
Namespace
; }
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 (7)
486
return this.version == SoapProtocolVersion.Soap12 ? Soap12.
Namespace
: Soap.Namespace;
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) {
744
if (reader.LocalName == Soap12.Element.FaultReasonText && reader.NamespaceURI == Soap12.
Namespace
) {
814
if (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)
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
);
System\Web\Services\Protocols\SoapHeader.cs (7)
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
) {
System\Web\Services\Protocols\SoapServerProtocol.cs (5)
562
string expectedNamespace = IsSupported(WebServiceProtocols.HttpSoap) ? Soap.Namespace : Soap12.
Namespace
;
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
);
924
else if (envelopeNs == Soap12.
Namespace
)
System\Web\Services\Protocols\SoapUnknownHeader.cs (12)
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
);