Headers for Declared Faults
This feature enables the user to configure headers for declared faults. With this the user will be able to configure different schemas to be mapped to the headers for different Fault messages. A Fault Headers tab, as shown in the following figure, has been added to the Advanced SOAP Settings. You can map the context resource values to the configured header using the Fault Headers tab.
Fault Headers
Configuring Headers for the Fault Message
To configure headers for a fault message, as shown in the following figure, for example, configure headers in the context resource in the same way they were configured in the headers for declared Fault:
Faults Configured in the Service Resource
Procedure
-
Click "Operation1" to go to the Advanced tab of the Service Resource.
-
Click the Fault Headers tab.
Advanced Tab for Configured Fault Message
Both the Faults available for that operation are listed in the soapFaults drop-down as shown in the following figure. Configure the fault message for any of the selected fault. Select the fault header name and Partname of the selected fault same as the Output Headers.
SOAPFault Messages