1. Home
  2. Corporate Node
  3. SOAP requests
  4. checkSlaveStatus

checkSlaveStatus

Operation checkSlaveStatus checks status of specified slaves.

With this operation we can check status and logged user on station with CNode-slave, that is copy of CNdoe working in slave mode.

This message is sent to CNode-master (CNode working in master mode), passing IP address of CNode-slave connected to it.

Example SOAP request:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:checkSlaveStatus>
   <checkedSlaves>
    <item>
     <soapAddress>
      <ip>192.168.3.192</ip>
      <port>9600</port>
     </soapAddress>
     <applicationAddress>
      <ip>192.168.3.192</ip>
      <port>30200</port>
     </applicationAddress>
     <machineIdHex>00001111AAAAFFFF</machineIdHex>
    </item>
   </checkedSlaves>
  </ns:checkSlaveStatus>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Example SOAP response:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:checkSlaveStatusResponse>
   <return>
    <taskId>0B3LCA6254A12E5GEB0MF4F6LH</taskId>
    <requestStatus>SUCCESS</requestStatus>
    <requestStatusDescription>Request succeeded.</requestStatusDescription>
   </return>
  </ns:checkSlaveStatusResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request parameters:

ParameterTypeDescriptionRequired?
checkedSlaveslocationListlist of slave localizationsYes

Response parameters:

NameTypeDescription
taskIdstringidentifier of created task
requestStatusstringresult of request
requestStatusDescriptionstringstatus description
Was this article helpful to you? Yes No

How can we help?