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