51 references to Namespace
System.Web.Services (51)
System\Web\Services\Protocols\RuntimeUtils.cs (1)
83
if (ns == Soap.Encoding || ns == Soap.
Namespace
)
System\Web\Services\Protocols\Soap11ServerProtocol.cs (12)
36
get { return Soap.
Namespace
; }
50
throw new SoapException(Res.GetString(Res.UnableToHandleRequestActionRequired0), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
));
69
throw new SoapException(Res.GetString(Res.TheRootElementForTheRequestCouldNotBeDetermined0), new XmlQualifiedName(Soap.Code.Server, Soap.
Namespace
), e);
80
throw new SoapException(Res.GetString(Res.WebHttpHeader, Soap.Action, (string) methodKey), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
));
82
throw new SoapException(Res.GetString(Res.TheRequestElementXmlnsWasNotRecognized2, ((XmlQualifiedName) methodKey).Name, ((XmlQualifiedName) methodKey).Namespace), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
));
95
writer.WriteStartElement(Soap.Prefix, Soap.Element.Envelope, Soap.
Namespace
);
96
writer.WriteAttributeString("xmlns", Soap.Prefix, null, Soap.
Namespace
);
100
SoapHeaderHandling.WriteHeaders(writer, ServerProtocol.ServerMethod.outHeaderSerializer, message.Headers, ServerProtocol.ServerMethod.outHeaderMappings, SoapHeaderDirection.Fault, ServerProtocol.ServerMethod.use == SoapBindingUse.Encoded, ServerType.serviceNamespace, ServerType.serviceDefaultIsEncoded, Soap.
Namespace
);
102
SoapHeaderHandling.WriteUnknownHeaders(writer, message.Headers, Soap.
Namespace
);
103
writer.WriteStartElement(Soap.Element.Body, Soap.
Namespace
);
105
writer.WriteStartElement(Soap.Element.Fault, Soap.
Namespace
);
146
if (code.Namespace == Soap.
Namespace
) {
System\Web\Services\Protocols\Soap12ServerProtocol.cs (1)
181
if (code.Namespace == Soap.
Namespace
) {
System\Web\Services\Protocols\SoapClientProtocol.cs (4)
486
return this.version == SoapProtocolVersion.Soap12 ? Soap12.Namespace : Soap.
Namespace
;
652
else if (reader.NamespaceURI == Soap.
Namespace
)
653
reader.ReadStartElement(Soap.Element.Envelope, Soap.
Namespace
);
725
if (reader.NamespaceURI == Soap.
Namespace
|| reader.NamespaceURI == Soap12.Namespace || reader.NamespaceURI == null || reader.NamespaceURI.Length == 0) {
System\Web\Services\Protocols\SoapException.cs (5)
42
public static readonly XmlQualifiedName ServerFaultCode = new XmlQualifiedName(Soap.Code.Server, Soap.
Namespace
);
47
public static readonly XmlQualifiedName ClientFaultCode = new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
);
52
public static readonly XmlQualifiedName VersionMismatchFaultCode = new XmlQualifiedName(Soap.Code.VersionMismatch, Soap.
Namespace
);
57
public static readonly XmlQualifiedName MustUnderstandFaultCode = new XmlQualifiedName(Soap.Code.MustUnderstand, Soap.
Namespace
);
297
: new XmlQualifiedName(Soap.Code.Server, Soap.
Namespace
));
System\Web\Services\Protocols\SoapHeader.cs (2)
431
new XmlQualifiedName(Soap.Code.MustUnderstand, Soap.
Namespace
));
461
new XmlQualifiedName(Soap.Code.MustUnderstand, Soap.
Namespace
));
System\Web\Services\Protocols\SoapServerProtocol.cs (16)
168
throw new SoapException(Res.GetString(Res.TheMethodDoesNotHaveARequestElementEither1, serverMethod.methodInfo.Name), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
));
177
throw new SoapException(Res.GetString(Res.TheMethodsAndUseTheSameSoapActionWhenTheService3, serverMethod.methodInfo.Name, duplicateMethod.methodInfo.Name, soapMethod.action), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
));
188
throw new SoapException(Res.GetString(Res.TheMethodsAndUseTheSameRequestElementXmlns4, serverMethod.methodInfo.Name, duplicateMethod.methodInfo.Name, soapMethod.requestElementName.Name, soapMethod.requestElementName.Namespace), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
));
368
throw new SoapException(Res.GetString(Res.UnableToHandleRequest0), new XmlQualifiedName(Soap.Code.Server, Soap.
Namespace
));
409
throw SoapException.Create(Version, Res.GetString(Res.WebConfigExtensionError), new XmlQualifiedName(Soap.Code.Server, Soap.
Namespace
), extensionException);
562
string expectedNamespace = IsSupported(WebServiceProtocols.HttpSoap) ? Soap.
Namespace
: Soap12.Namespace;
575
new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
), new SoapFaultSubCode(Soap12FaultCodes.UnsupportedMediaTypeFaultCode));
585
throw new SoapException(Res.GetString(Res.WebRequestUnableToRead), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
), e);
592
new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
), new SoapFaultSubCode(Soap12FaultCodes.UnsupportedMediaTypeFaultCode));
615
new XmlQualifiedName(Soap.Code.MustUnderstand, Soap.
Namespace
));
659
throw new SoapException(Res.GetString(Res.WebRequestUnableToRead), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
), e);
732
soapException = SoapException.Create(Version, Res.GetString(Res.WebRequestUnableToProcess), new XmlQualifiedName(Soap.Code.Client, Soap.
Namespace
), null, null, null, new SoapFaultSubCode(Soap12FaultCodes.RpcBadArgumentsFaultCode), e);
734
soapException = SoapException.Create(Version, Res.GetString(Res.WebRequestUnableToProcess), new XmlQualifiedName(Soap.Code.Server, Soap.
Namespace
), e);
809
extensionException = SoapException.Create(Version, Res.GetString(Res.WebExtensionError), new XmlQualifiedName(Soap.Code.Server, Soap.
Namespace
), ex);
836
upgradeElement.AppendChild(CreateUpgradeEnvelope(doc, Soap.Prefix, Soap.
Namespace
));
922
if (envelopeNs == Soap.
Namespace
)
System\Web\Services\Protocols\SoapUnknownHeader.cs (10)
38
element.RemoveAttribute(Soap.Attribute.MustUnderstand, Soap.
Namespace
);
43
element.RemoveAttribute(Soap.Attribute.Actor, Soap.
Namespace
);
49
element.SetAttribute(Soap.Attribute.MustUnderstand, Soap.
Namespace
, "1");
54
element.SetAttribute(Soap.Attribute.Actor, Soap.
Namespace
, actor);
76
string elementMustUnderstand = GetElementAttribute(Soap.Attribute.MustUnderstand, Soap.
Namespace
, element);
98
element.SetAttribute(Soap.Attribute.MustUnderstand, Soap.
Namespace
, "1");
100
element.RemoveAttribute(Soap.Attribute.MustUnderstand, Soap.
Namespace
);
111
string elementActor = GetElementAttribute(Soap.Attribute.Actor, Soap.
Namespace
, element);
123
element.RemoveAttribute(Soap.Attribute.Actor, Soap.
Namespace
);
125
element.SetAttribute(Soap.Attribute.Actor, Soap.
Namespace
, value);