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