|
Adapter
|
Configuration
|
Exception Returned
|
Exception Message
|
Where is custom error?
|
|
HTTP
|
This was setup with the default configuration
|
N/A
|
N/A
|
No exception is thrown but the custom error message is returned as the message body returned from the adapter
|
|
SOAP
|
In the web.config of the published web service the ThrowDetailedError setting was set to false
|
SoapException
|
An exception is thrown by the Orchestration schedule
|
The custom error message is returned as xml but it is contained in the detail section of the Soap Fault. It can be accessed by the detail property of the SoapException.
|
|
SOAP
|
In the web.config of the published web service the ThrowDetailedError setting was set to true
|
SoapException
|
An exception is thrown by the Orchestration schedule
|
The custom error message is returned as xml, but it is contained in the detail section of the Soap Fault. It can be accessed by the detail property of the SoapException.
|
|
WSE 2
|
In the web.config file the following settings are set:
appSettings : ThrowDetailedErrors = true
WSE settings : detailedErrors = not enabled
|
SoapException
|
Server Unavailable Please try later
|
The custom fault string is not returned and is consumed.
|
|
WSE 2
|
In the web.config file the following settings are set:
appSettings : ThrowDetailedErrors = false
WSE settings : detailedErrors = not enabled
|
SoapException
|
Server Unavailable Please try later
|
The custom fault string is not returned and is consumed.
|
|
WSE 2
|
In the web.config file the following settings are set:
appSettings : ThrowDetailedErrors = true
WSE settings : detailedErrors = enabled
|
SoapException
|
System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.ApplicationException: An exception was thrown by the Orchestration schedule, Data Dump: <string>Custom Fault as 1 was the input</string>
at
<!—I have removed the full stack trace which was here à
|
The custom fault is buried within the Message property of the SoapException rather than separately within the detail section
|
|
WSE 2
|
In the web.config file the following settings are set:
appSettings : ThrowDetailedErrors = false
WSE settings : detailedErrors = enabled
|
SoapException
|
System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.ApplicationException: An exception was thrown by the Orchestration schedule, Data Dump: <string>Custom Fault as 1 was the input</string>
at
<!—I have removed the full stack trace which was here à
|
The custom fault is buried within the Message property of the SoapException rather than separately within the detail section
|
|
WCF-WsHttp
|
The following configuration settings were set:
Web.config : includeExceptionDetailInFaults = false
Adapter settings : includeExceptionDetailInFaults = true
|
FaultException
|
<?xml version="1.0"?>
<string>Custom Fault as 1 was the input</string>
|
The custom fault is returned as the Message property of the FaultException
|
|
WCF-WsHttp
|
The following configuration settings were set:
Web.config : includeExceptionDetailInFaults = true
Adapter settings : includeExceptionDetailInFaults = true
|
FaultException
|
<?xml version="1.0"?>
<string>Custom Fault as 1 was the input</string>
|
The custom fault is returned as the Message property of the FaultException
|
|
WCF-WsHttp
|
The following configuration settings were set:
Web.config : includeExceptionDetailInFaults = true
Adapter settings : includeExceptionDetailInFaults = false
|
FaultException
|
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
|
The custom fault is consumed and not returned to the client
|
|
WCF-WsHttp
|
The following configuration settings were set:
Web.config : includeExceptionDetailInFaults = false
Adapter settings : includeExceptionDetailInFaults = false
|
FaultException
|
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
|
The custom fault is consumed and not returned to the client
|
|
WCF-NetTcp
|
Adapter settings: includeExceptionDetailInFaults = false
|
FaultException
|
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
|
The custom fault is consumed and not returned to the client
|
|
WCF-NetTcp
|
Adapter settings: includeExceptionDetailInFaults = true
|
FaultException
|
<?xml version="1.0"?>
<string>Custom Fault as 1 was the input</string>
|
The custom fault is returned as the Message property of the FaultException
|