The Method Result Codes (defined in Call Service) are defined in Table 54. It shows the possible values for the Method call result codes.
Table 54 – Possible Method Result Codes
Result Code |
Description |
Good |
The Method execution was successful, and the Status parameter indicates the successful operation. |
Uncertain |
The Method execution was successful, and the Status parameter indicates an error. |
Bad_UserAccessDenied |
The user does not have the right to execute the Method. The client shall not evaluate the Status parameter. |
Bad_UnexpectedError |
The server is not able to execute the function because an unexpected error occurred. The Server might be temporarily unavailable or unreachable due to network failure. The client shall not evaluate the Status parameter. |
Table 55 shows the possible values for the Status parameter.
Note: The client shall not evaluate the Status parameter if the Method Result Code is Bad.
Table 55 – Possible Status Parameter Values
Status |
Description |
< 0 |
Shall be used for application-specific errors. |
> 0 |
Reserved for errors defined by this and future standards. |
0 |
OK/Success. |
1 |
NOT_OK – Generic Error. |
2 |
ProductInstanceUri not found. |
3 |
ProductInstanceUri not applicable. |
4 |
Input identifier/entity not found. |
5 |
Invalid input. |