Configuring SOAP fault messages
As a best practice, use the optional Faults tab to map any SOAP faults returned by the Web service. By configuring fault messages, you can include an error-handling steps in the connector activity and have the activity respond appropriately if the connector receives a SOAP fault instead of the response message that it expects.
For information about SOAP faults, including a list of SOAP fault codes, see the SOAP specifications at the World Wide Web Consortium (W3C).
- In the navigation pane of Dev Studio, click Records.
- Expand the Integration-Connectors category, and then click Connect SOAP.
- In the list of Connect SOAP instances, select the instance for which you want to configure fault messages.
- Click the Faults tab.
- In the SOAP envelope content section, in the Target
property field, select or enter the name of a single-value text property to
store the entire contents of the SOAP envelope that contains the fault message. To create a new property, enter its name and click the Open icon to open the New property form. For more information, see Properties.
- In the Fault message fields section, configure the fault
properties to store the values returned in the response.
- In the Fault code property field, select or enter the name of a single-value text property to store the value of the fault code returned in the response.
- In the Reason property field, select or enter the name of a
single-value text property to store the value of the fault reason string returned in
the response.The fault reason string holds an explanation of the fault code.
- In the Detail property field, select or enter the name of a
single-value text property to store the value of the fault detail string returned in
the response.The fault detail string holds application-specific information about the fault.
- Click Save.
Previous topic Configuring the response for a SOAP connector Next topic Configuring advanced details for a SOAP Connector