If an error occurs during an operation, then the Web service displays an error message. You can find the structure of the error message in the LogMessageCollection error message. In this structure individual messages are displayed according to object types.
The LogMessageCollection data type has the following elements:
Element |
Description |
---|---|
LogMessage |
Contains general messages that do not refer to a specific object or change list. |
LogMessageChangeList |
Contains messages that refer to the change list in the context of which the Web Service was called. |
LogMessage<ObjectType> |
Contains messages that refer to a specific object type. For each object the structure contains the object key (<Objecttype>ID) and a message (LogMessageItem). |
LogMessageItem |
Contains individual messages for specific objects.
|
When an error occurs, the LogMessageCollection structure is always displayed completely. If no message was displayed for a particular object then this part of the structure remains empty.
Errors are classified in error messages using a severity code and a technical error code.