The CWConnectorReturnStatusDescriptor class enables Java connectors to return error and informational messages in a return-status descriptor. This descriptor provides additional status information is usually returned as part of the request response sent to the integration broker that initiated the request.
If your business integration system uses InterChange Server, the connector framework returns the return-status descriptor to the collaboration that initiated the request. The collaboration can access the information in this return-status descriptor to obtain the status of its service call request.
Table 136 summarizes the methods in the CWConnectorReturnStatusDescriptor class.
Member method | Description | Page |
---|---|---|
CWConnectorReturnStatusDescriptor() | Creates a return-status descriptor. | CWConnectorReturnStatusDescriptor() |
getErrorString() | Retrieves a message string from a return-status descriptor. | getErrorString() |
getStatus() | Retrieves the value of the status code from the return-status descriptor. | getStatus() |
setErrorString() | Sets the error or informational message in the return-status descriptor. | setErrorString() |
setStatus() | Sets the value of the status code in the return-status descriptor. | setStatus() |