Response definitions, Response, Status – HP ProLiant SL2500 Scalable System User Manual

Page 68

Advertising
background image

Using XML 68

Response definitions

Every command sent to HP APM generates a response. The response tells whether the command succeeded
or failed. Some commands generate additional information. The additional information appears in execution
sequence, provided that no errors occurred.
For example, a successful response might appear as follows:

<RESPONSE

STATUS="0x0000"

MSG="No Error."

> </RESPONSE>

A fail response might appear as follows:

<RESPONSE

STATUS="0x0001"

MSG="There has been an error."

> </RESPONSE>

Response

The tag name indicates that the HP APM is sending a response to the previous commands back to the client
application. This response indicates the success or failure of the commands that have been sent to the HP

APM. If an error occurs, the execution stops and the commands that follow it will not be executed. Prior
commands will have been executed up to the point where the error occurred.

Status

The status parameter contains an error number. The number 0x0000 indicates that no error occurred.

Status code

Possible reason

0x0000

No error.

0x0001

General error.

0x0002

Invalid or missing XML header. Every XML must start with SLAMPCL.

0x0003

Login failed.
Wrong username/password.

0x0004

Unknown/unsupported Name Tag that is supported by the HP APM.
Mismatch Tag.
The hierarchy or syntax that HP APM might be incorrect.

0x0005

Parsing error to invalid XML (syntax error).
For example, every begin tag must have an end tag. End tags must not have duplicate
attribute values.

0x0006

Unknown attribute for an element tag specified.

0x0007

Required attribute for an element tag specified is missing.

0x0008

The attribute values are missing or have errors.

0x0009

Device specified message error.
For example, the device is not present. Device is already on.

0x000A

The value cannot be blank.

0x000B

The required children tag is missing.

Advertising
This manual is related to the following products: