28 references to Code
System.Web.Services (28)
System\Web\Services\Protocols\Soap11ServerProtocol.cs (4)
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));
System\Web\Services\Protocols\Soap12ServerProtocol.cs (4)
182
if (code.Name == Soap.
Code
.Server)
184
else if (code.Name == Soap.
Code
.Client)
186
else if (code.Name == Soap.
Code
.MustUnderstand)
188
else if (code.Name == Soap.
Code
.VersionMismatch)
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 (13)
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);
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);