1. Home
  2. Application 24/7
  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 WUI-slave, that is copy of client application working on station with WUI in slave mode.

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

Example SOAP request:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="ns1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns1:checkSlaveStatus soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <checkedSlaves xsi:type="ns1:locationList">
            <!--Zero or more repetitions:-->
            <item xsi:type="ns1:ipLocation">
               <ip xsi:type="xsd:string">194.111.111.111</ip>
               <port xsi:type="xsd:unsignedShort">9999</port>
            </item>
         </checkedSlaves>
      </ns1:checkSlaveStatus>
   </soapenv:Body>
</soapenv:Envelope>

Example SOAP response:

<SOAP-ENV:Header/>
   <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <ns1:checkSlaveStatusResponse>
         <return xsi:type="ns1:vuiSoapTaskIdResponse">
            <requestStatus>SUCCESS</requestStatus>
            <requestStatusDescription>Request succeeded.</requestStatusDescription>
            <taskId>55CDP0J3FLK61GUULMB1J7KUKJ</taskId>
         </return>
      </ns1:checkSlaveStatusResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request parameters:

parameter type description
checkedSlaves locationList list of slave localizations

Response parameters:

name type description
taskId string id of created task
requestStatus string result of request
requestStatusDescription string status description
Was this article helpful to you? Yes No

How can we help?