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

checkSlavesConnectedToUser

Operation checkSlavesConnectedToUser checks statuses of slaves connected to user and belonging to this CNode. This SOAP request should be send to CNode-master (to CNode working in master mode).

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:checkSlavesConnectedToUser>
   <username>username1</username>
  </ns:checkSlavesConnectedToUser>
 </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:checkSlavesConnectedToUserResponse>
   <return>
    <statusList>
     <item>
      <location>
       <slaveLocation>
        <soapAddress>
         <ip>192.168.3.192</ip>
         <port>9602</port>
        </soapAddress>
        <applicationAddress>
         <ip>192.168.3.192</ip>
         <port>30202</port>
        </applicationAddress>
        <machineIdHex>0000111100001111</machineIdHex>
       </slaveLocation>
       <buddyLocation>
        <machineIdHex>0000111100005555</machineIdHex>
        <ip>192.168.3.147</ip>
        <tcp>8999</tcp>
        <udp>8999</udp>
       </buddyLocation>
      </location>
      <userLoggedIn>username</userLoggedIn>
      <status>14</status>
     </item>
    </statusList>
    <requestStatus>SUCCESS</requestStatus>
    <requestStatusDescription>Request succeeded.</requestStatusDescription>
   </return>
  </ns:checkSlavesConnectedToUserResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request parameters:

ParameterTypeDescriptionRequired?Specification
usernamestringusernameYesit must be a correct username

 

Response parameters:

nametypedescription
statusListslaveStatusListlist of slave statuses
requestStatusstringresult of request
requestStatusDescriptionstringstatus description
Was this article helpful to you? Yes No

How can we help?