Error Handling and Messaging
This section provides an overview of how the service process exceptions and messages.
The Document Generation Service API provides error handling through data contracts presenting appropriate exceptions and messages to the service consumer.
In the service, errors indicate that an infrastructure error has occurred such as a problem with the Document Generation Services or Expere engine (a database or server going down), a problem with the client-side SOAP request (formatting or issues with values submitted on a request), or communication between the two systems. When these errors occur, the service returns a list of errors.
Result Indicator
Each operation returns an array (ArrayOfInformation) in the response message. The array contains Information objects indicating the severity level and a description of any errors returned by the service in processing the request.
- ArrayOfInformation
- Information
Status Messaging
In addition to the Information object on the response, each service returns status information through a RequestStatus object in the Status parameter on the response message. This object indicates the status of the requested transaction.
- RequestStatus