The fault message for an Invoke outbound web service node
An Invoke outbound web service node supports only one fault
message, which by default is the WS_SOAPFAULT_AREA fault
message.
The default fault message
When you import
an outbound web service definition, and an operations file and a message
file are generated (see Importing an outbound web service definition),
the importer by default creates in the new operations file a reference
to the fault message WS_SOAPFAULT_AREA.
- In the left pane of the Select a Message window, expand the IBMWS entry.
- Select the IBMWS.sfmxsd entry. The WS_SOAPFAULT_AREA entry appears in the central pane.
- Select the WS_SOAPFAULT_AREA entry. The layout is displayed in the right pane.
| Field name: | Description of the field: |
|---|---|
WS_SOAPFAULT_CODE |
The SOAP fault code. |
WS_SOAPFAULT_SUBCODE |
The SOAP fault subcode:
|
WS_SOAPFAULT_NODE |
The URI of the SOAP node that generated the fault. |
WS_SOAPFAULT_REASON |
The human-readable reason string. |
WS_SOAPFAULT_DETAIL |
The human-readable detail information. |
- To a Switch node, so that you can make a decision based on the data contained in the WS_SOAPFAULT_AREA message; or
- To an Invoke node of some type, to handle the occurrence of a fault; or
- To a Throw node or a Reply node, to end the flow.
Only one fault message
For an invocation of an outbound web service, the service flow project tools allow a maximum of only one fault message . (By default this fault message is the WS_SOAPFAULT_AREA fault message, which is described in the preceding section of this topic).
Therefore:
- In the operations editor, in an operation for invoking an outbound
web service, the operations editor allows a maximum of only one fault
message.Note: In some cases the operations editor allows you to add more than one fault message. Nevertheless, only the first fault message is supported.
- In the mapping editor, for an Invoke outbound web service node, the flow editor allows a maximum of only one additional output terminal for the fault message (see Invoke nodes in the flow editor).
- When you generate runtime code for a flow that contains an Invoke outbound web service node, the runtime code that invokes the outbound web service supports only one fault message.
All other types of invokes support multiple fault messages -- see Invoke nodes in the flow editor.