1 type derived from SoapException
System.Web.Services (1)
System\Web\Services\Protocols\SoapHeaderException.cs (1)
23public class SoapHeaderException : SoapException {
3 instantiations of SoapException
System.Web.Services (3)
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
785return new SoapException(faultString, faultCode, faultActor, faultRole, lang, detail, subcode, null);
System\Web\Services\Protocols\SoapException.cs (2)
307return new SoapException(message, code, actor, role, detail, subCode, innerException); 315return new SoapException(message, code, innerException);
40 references to SoapException
System.Web.Services (40)
System\Web\Services\Protocols\Soap11ServerProtocol.cs (6)
62catch (SoapException) { 88internal override void WriteFault(XmlWriter writer, SoapException soapException, HttpStatusCode statusCode) { 151return SoapException.ServerFaultCode; 153return SoapException.ClientFaultCode; 155return SoapException.MustUnderstandFaultCode; 157return SoapException.VersionMismatchFaultCode;
System\Web\Services\Protocols\Soap12ServerProtocol.cs (1)
108internal override void WriteFault(XmlWriter writer, SoapException soapException, HttpStatusCode statusCode) {
System\Web\Services\Protocols\SoapClientProtocol.cs (2)
657throw new SoapException(Res.GetString(Res.WebInvalidEnvelopeNamespace, envelopeNs, EnvelopeNs), SoapException.VersionMismatchFaultCode); 708SoapException ReadSoapException(XmlReader reader) {
System\Web\Services\Protocols\SoapException.cs (13)
92/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to <paramref name="message"/>, <see cref='System.Web.Services.Protocols.SoapException.Code'/> to 93/// <paramref name="code"/> and <see cref='System.Web.Services.Protocols.SoapException.Actor'/> to <paramref name="actor"/>.</para> 102/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to 103/// <paramref name="message"/>, <see cref='System.Web.Services.Protocols.SoapException.Code'/> to <paramref name="code, 104/// "/><see cref='System.Web.Services.Protocols.SoapException.Actor'/> to <paramref name="actor 114/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to 116/// <see cref='System.Web.Services.Protocols.SoapException.Code'/> 125/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to 126/// <paramref name="message"/>, <see cref='System.Web.Services.Protocols.SoapException.Code'/> to <paramref name="code "/>and 293static SoapException CreateSuppressedException(SoapProtocolVersion soapVersion, string message, Exception innerException) { 300internal static SoapException Create(SoapProtocolVersion soapVersion, string message, XmlQualifiedName code, 310internal static SoapException Create(SoapProtocolVersion soapVersion, string message, XmlQualifiedName code, Exception innerException) {
System\Web\Services\Protocols\SoapMessage.cs (2)
33SoapException exception; 110public SoapException Exception {
System\Web\Services\Protocols\SoapServerProtocol.cs (16)
406else if (extensionException is SoapException) 409throw SoapException.Create(Version, Res.GetString(Res.WebConfigExtensionError), new XmlQualifiedName(Soap.Code.Server, Soap.Namespace), extensionException); 557throw new SoapException(Res.GetString(Res.WebInvalidEnvelopeNamespace, requestNamespace, helper.EnvelopeNs), SoapException.VersionMismatchFaultCode); 564throw new SoapException(Res.GetString(Res.WebInvalidEnvelopeNamespace, requestNamespace, expectedNamespace), SoapException.VersionMismatchFaultCode); 652catch (SoapException) { 727SoapException soapException; 728if (e is SoapException) 729soapException = (SoapException)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); 736if (SoapException.IsVersionMismatchFaultCode(soapException.Code)) { 795SoapException extensionException = null; 809extensionException = SoapException.Create(Version, Res.GetString(Res.WebExtensionError), new XmlQualifiedName(Soap.Code.Server, Soap.Namespace), ex); 932internal HttpStatusCode SetResponseErrorCode(HttpResponse response, SoapException soapException) { 937else if (SoapException.IsClientFaultCode(soapException.Code)) { 955internal abstract void WriteFault(XmlWriter writer, SoapException soapException, HttpStatusCode statusCode);