2 configure, Installation of viewcheck – Artesyn ViewCheck on ATCA-9405 Installation and Use (May 2014) User Manual

Page 44

Advertising
background image

Installation of ViewCheck

ViewCheck on ATCA-9405 Installation and Use (6806800S51D)

44

You need to send 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 if the validation is successful.

Request:
In the below request the user credentials “Admin”/"Admin” are created by default in the
BSF. But user may supply user credentials by creating them using the "CreateObject"
command as shown in the section

GetClassList

.

<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>]]>]]>

4.6.2

Configure

Configure command configures the XML protocol for the indentation and the events
enable/disable state. There are two configuration options are 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:
Below command request sets the indentation to 4.
<Script><Configure><IndentOutput>4</IndentOutput></Configure></

Script>]]>]]>

Response:
<?xml version="1.0"?>

<Response>

<Success/>

</Response>]]>]]>

Advertising