Controlling the central power supply via XML
16
· G&D MultiPower-12-NT
Device messages
If the XML service is not able to process a request, the service responds with an
error document:
Depending on the type of message, responses to commands, which are not executed
by the XML service itself, but are delegated to the device service of the central
power supply, are shown in different XML containers.
The following containers are used for this purpose:
Error messages are included in the container
<Error>
.
Warnings are included in the container
<Warning>
.
Success messages and general messages not fitting the categories given above are
included in the container
<commandStatus>
.
STRUCTURE OF AN ERROR DOCUMENT
<?xml version="1.0" encoding="utf-8"?>
<root>
<Error>Invalid request document</Error>
</root>
EXEMPLARY ERROR MESSAGE
<?xml version="1.0" encoding="utf-8"?>
<root>
<result type="logon">
<Error>authentication failed</Error>
</result>
</root>