Hello, I’m using SOAP interface to develop our software integration to Milestone XProtect Corporate 2014 (the version I had).
From now on, I successfully gather XProtect Server Information/Camera and retrieve a authentication token.
I manage to add an alarm using the SOAP service ‘Add(token, alarm)’ available from http://localhost:port/Central/AlarmServiceToken?wsdl and see it in the XProtect Smart Client.
I want to call the service ‘GetAlarmLines(token, min, max, alarm_filter)’ to gather an alarm using a specific filter but the server returns me an internal error while parsing the alarm_filter object I sent to it. More specifically the server is not able to deserialize the attribute ‘Value’ passed in the ‘Condition’ attribute of the ‘AlarmFilter’.
I try to change the parameter of my filter without success (either ‘State’, StateName’)
FYI, when the ‘Conditions’ attribute of ‘AlarmFilter’ is empty, I do have a correct response from the server.
I use python to build SOAP request but the same issue arose when using another client (SOAP_UI in that case).
Is my SOAP request bad formatted somehow ? I join a sample of what I generate
Thank you for your help