Operation addSlaves is used to add new slaves.

If WUI is working in master mode (more info in How to run? page), we can add new slave (station which can copy of user application can be run) to vui master using addSlaves request.

Request should contain pair of network addresses – internal WUI application address and SOAP address – usually ip addresses will be the same, and ports will differ.
Operation progress and result can be checked using getTaskStatus request. When slave is successfully added, user is able to run copy of his Billon application on it.

Example SOAP request:

<soapenv:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soapenv="" xmlns:ns1="ns1">
      <ns1:addSlaves soapenv:encodingStyle="">
         <newSlaves xsi:type="ns1:slaveLocationList">
            <!--Zero or more repetitions:-->
            <item xsi:type="ns1:slaveLocation">
               <soapAddress xsi:type="ns1:ipLocation">
                  <ip xsi:type="xsd:string"></ip>
                  <port xsi:type="xsd:unsignedShort">9600</port>
               <applicationAddress xsi:type="ns1:ipLocation">
                  <ip xsi:type="xsd:string"></ip>
                  <port xsi:type="xsd:unsignedShort">30200</port>

Example SOAP response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:SOAP-ENC="" xmlns:xsi="" xmlns:xsd="" xmlns:ns1="ns1">
   <SOAP-ENV:Body SOAP-ENV:encodingStyle="">
         <return xsi:type="ns1:vuiSoapTaskIdResponse">
            <requestStatusDescription>Request succeeded.</requestStatusDescription>

Request parameters:

parameter type description
newSlaves slaveLocationList list of slaves to be added

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?