Error subflow for the Service Proxy: static endpoint pattern
If an error is caught during the message flow processing, the Error subflow is called
and an error response is returned to the client indicating that the request was not successfully completed.
If you have configured the pattern instance to enable error messages, a message is written to the error
queue. The following actions are taken by the Error subflow:
The Error subflow builds a SOAP fault message that is returned to the service requester indicating
that the request was not successful. The SOAP fault includes the details of the exception that caused
the message flow to fail.
If you have configured the pattern parameters to include error messages an error message is prepared and
written to the error queue.
Details of the exception are written as an XML message. These details include:
Broker name
Flow name
Time stamp
Status Code:
1 (when request has been forwarded)
2 (if the provider has replied)
-2 (if the provider returns a fault)
Service name
Service namespace
Port
Port type
Operation
Target end point
Summary of the exception data
The summary of the exception data contains the message flow label, error number, text description,
and a list of inserts giving further details.