Hi Milestone,
I’m developing a feature to periodically check camera status.
I setup Milestone in two servers as picture below. One Management Server and two Recording Server.
One master server (10.179.78.211) setup : Management Server, Recording Server (10 cameras), Mobile Server, API gateway and another (10.179.78.212) : Recording Server (9 cameras), Mobile Server, API gateway.I use SOAP service : http://10.179.78.211/ServerAPI/ServerCommandService.asmx?WSDL
to login and get token , then use GetCurrentDeviceStatus from http://10.179.78.211:7563/recorderstatusservice/recorderstatusservice2.asmx?wsdl with guid cameras.
The problem here is that I can only get status of 10 cameras in same Management Server and Recoding Server, and get null with 9 cameras in another server.
=========================================
SOAP REQUEST payload:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/”>
<SOAP-ENV:Header />
<ns2:GetCurrentDeviceStatus xmlns:ns2=“http://videoos.net/2/XProtectCSRecorderStatus2”>
ns2:tokenTOKEN#97e6d11c-83d1-4d5a-9878-080eb0fd581d#10.179.78.211//ServerConnector#</ns2:token>
ns2:guid79d85469-4b3f-4f70-97be-78db18e35d16</ns2:guid>
ns2:guid4a7f1bfa-7b7a-4a98-af72-2944262f020d</ns2:guid>
ns2:guida6b33cb7-6580-4de9-a188-9fb168c2ca7e</ns2:guid>
ns2:guid2c25ebdf-0340-4260-8070-243ccc001921</ns2:guid>
</ns2:deviceIds>
</ns2:GetCurrentDeviceStatus>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
===============
SOAP RESPONSE payload:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<GetCurrentDeviceStatusResponse xmlns=“http://videoos.net/2/XProtectCSRecorderStatus2”>
2023-09-21T09:20:26.7334800Z
4a7f1bfa-7b7a-4a98-af72-2944262f020d
false
true
true
false
false
false
true
false
false
false
false
true
2023-09-21T09:20:26.7334800Z
a6b33cb7-6580-4de9-a188-9fb168c2ca7e
false
true
true
false
false
false
true
false
false
false
false
true
</soap:Body>
</soap:Envelope>
Only guid cameras : 4a7f1bfa-7b7a-4a98-af72-2944262f020d, a6b33cb7-6580-4de9-a188-9fb168c2ca7e from Recording Server same with Management Server return result.
Please help me.
Tks



