2 configure, Installation of viewcheck – Artesyn ViewCheck on ATCA-7470/7475 Installation and Use (November 2014) User Manual
Page 28
Installation of ViewCheck
ViewCheck on ATCA-7470/7475 Installation and Use (6806800S49E)
28
You need to enter the user credentials to XML Agent using the command Authenticate. The
XML Agent forwards the authentication request to the BSF system, which validates the user
credentials and allows the XML client to access it.
Request:
In the below request, the user credentials “Admin” and "Admin” are created by default in
the BSF. But you need to provide credentials by creating them using the "CreateObject"
command as shown in the section
<Script><Authenticate><User>Admin</User><Password>Admin</Passwo
rd></Authenticate></Script>]]>]]>
Response:
The below response is received if the authentication is successful.
<?xml version="1.0"?><Response><Success/></Response>]]>]]>
The following response is received if authentication fails.
<?xml
version="1.0"?><Response><Error><ErrorCode>1</ErrorCode><Type>O
peration not allowed</Type><Description>Authentication
error</Description><CustomError/></Error></Response>]]>]]>
3.5.2
Configure
This command configures the XML protocol for the indentation and the events to
enable/disable state. There are two configuration options available:
IndentOutput option controls the indentation of the XML response produced by the
MINDAgent. Its default value is ’0’, which means, by default, output indentation is off.
Request:
The following request command sets the indentation to 4:
<Script><Configure><IndentOutput>4</IndentOutput></Configure></
Script>]]>]]>
Response:
<?xml version="1.0"?>
<Response>
<Success/>
</Response>]]>]]>