Fault Level Cluster Properties

The following cluster properties configure the fault level defaults on the . These properties work with the .
gateway90
The following cluster properties configure the fault level defaults on the
Layer7 API Gateway
. These properties work with the Customize SOAP Fault Response Assertion.
Property
Description
soapfault.level
Detail level returned in a SOAP fault:
0 = Drop connection
1 = Template response
2 = Generic SOAP fault
3 = Medium details
4 = Full details
This level is overridden by the Customize SOAP Fault Response assertion. If returning a template response, define the template in the soapfault.template property.
Default:
2
soapfault.policyurl
Controls whether the
Layer7 API Gateway
includes the policy download URL when returning SOAP faults. Value is a Boolean.
Default:
true
soapfault.privateKeyAlias
Name or alias of the private key to use when signing SOAP faults. This cluster property is only relevant when soapfault.sign is set to "true". The private key alias is overridden when the Customize SOAP Fault Response assertion is present.
Default: <empty> (default SSL key is used)
If the private key cannot be found, then signing does not occur.
soapfault.sign
Controls whether SOAP faults is digitally signed. This property is used unless overridden by a Customize SOAP Fault Response assertion in the policy. Value is a Boolean.
  • true
    = SOAP faults are digitally signed, using the key alias specified in the
    soapfault.privateKeyAlias
    property
  • false
    = SOAP faults are not signed
Default:
false
soapfault.template
The template for SOAP faults returned by the
Layer7 API Gateway
. The default template is:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <s:Fault> <faultcode>s:Client</faultcode> <faultstring>Client Error</faultstring> </s:Fault> </s:Body> </s:Envelope>
This setting is used only when
soapfaultleve
l = 1 (Template response).
soapfault.template.contentType
The template content type used for custom SOAP faults (for example, application/json). This is only relevant when
soapfault.level
is set to
1
(Template response). Default is blank.