We are integarting with Event server. On calling "GetSessionEventLines" or "GetSessionAlarmLines", we are getting following error: Mon Jun 18 10:36:22 EDT 2018:DEBUG:<< "HTTP/1.1 500 Internal Server Error[][]

More details ----

<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/”><s:Body><s:Fault>s:ClientUnhandled exception: System.ArgumentNullException: Value cannot be null.&[xd](javascript:void(0); “xd”);[\n]"

Mon Jun 18 10:36:22 EDT 2018:DEBUG:<< “Parameter name: filter&[xd](javascript:void(0); “xd”);[\n]”

Mon Jun 18 10:36:22 EDT 2018:DEBUG:<< " at VideoOS.Event.Server.DB.AlarmDbHandlers.EventLineHandler.Read(EventFilter filter, String[] sids, Guid[] roleIds, Int32 count, Int32 from)&[xd](javascript:void(0); “xd”);[\n]"

Mon Jun 18 10:36:22 EDT 2018:DEBUG:<< " at VideoOS.Event.Server.Event.EventLineFetchSession.GetDataFromDb(Int32 maxCount)&[xd](javascript:void(0); “xd”);[\n]"

Mon Jun 18 10:36:22 EDT 2018:DEBUG:<< " at VideoOS.Event.Server.Event.EventLineFetchSession.GetLines(Int32 maxCount)&[xd](javascript:void(0); “xd”);[\n]"

Mon Jun 18 10:36:22 EDT 2018:DEBUG:<< " at VideoOS.Event.Server.Alarm.LineFetchManager.GetLines(Guid sessionId, Int32 maxCount)&[xd](javascript:void(0); “xd”);[\n]"

Please show the the call your are making including parameters.

<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:cen=“http://videoos.net/2/CentralServerAlarmCommand”>

soapenv:Header/

soapenv:Body

cen:GetSessionEventLines

 <cen:token>TOKEN#a381e74c-67a5-42c0-baef-991ba6e90dd1#100ad-vms-mgmt//ServerConnector#</cen:token>

 <cen:maxCount>10</cen:maxCount>

 <cen:sessionId>82b3df05-1e16-405c-8561-dbd17dc6a661</cen:sessionId>

</cen:GetSessionEventLines>

</soapenv:Body>

</soapenv:Envelope>

The response we get ----

<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/”>

<s:Body>

<s:Fault>

 <faultcode>s:Client</faultcode>

 <faultstring>Unhandled exception: System.ArgumentNullException: Value cannot be null.

Parameter name: filter

at VideoOS.Event.Server.DB.AlarmDbHandlers.EventLineHandler.Read(EventFilter filter, String[] sids, Guid[] roleIds, Int32 count, Int32 from)

at VideoOS.Event.Server.Event.EventLineFetchSession.GetDataFromDb(Int32 maxCount)

at VideoOS.Event.Server.Event.EventLineFetchSession.GetLines(Int32 maxCount)

at VideoOS.Event.Server.Alarm.LineFetchManager.GetLines(Guid sessionId, Int32 maxCount)

at VideoOS.Event.Server.DB.AlarmDbManager.Get(Int32 maxCount, Guid sessionId, UserId[] userIds)

at VideoOS.Event.Server.WebService.Alarm.AlarmCommandToken.GetSessionEventLines(String token, Int32 maxCount, Guid sessionId)

 <detail>

  <AlarmServiceFault xmlns="[http://schemas.datacontract.org/2004/07/VideoOS.Platform.Proxy.Alarm](http://schemas.datacontract.org/2004/07/VideoOS.Platform.Proxy.Alarm)" xmlns:i="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)">

    <ErrorDescription>Unhandled exception: System.ArgumentNullException: Value cannot be null.

Parameter name: filter

at VideoOS.Event.Server.DB.AlarmDbHandlers.EventLineHandler.Read(EventFilter filter, String[] sids, Guid[] roleIds, Int32 count, Int32 from)

at VideoOS.Event.Server.Event.EventLineFetchSession.GetDataFromDb(Int32 maxCount)

at VideoOS.Event.Server.Event.EventLineFetchSession.GetLines(Int32 maxCount)

at VideoOS.Event.Server.Alarm.LineFetchManager.GetLines(Guid sessionId, Int32 maxCount)

at VideoOS.Event.Server.DB.AlarmDbManager.Get(Int32 maxCount, Guid sessionId, UserId[] userIds)

at VideoOS.Event.Server.WebService.Alarm.AlarmCommandToken.GetSessionEventLines(String token, Int32 maxCount, Guid sessionId)

    <ErrorReason>Unknown</ErrorReason>

  </AlarmServiceFault>

 </detail>

</s:Fault>

</s:Body>

</s:Envelope>

Thanks Bo, the problem got solved. I reloaded the wsdl file and it worked.

Do we need to run the milestone management client application on the milestone management server for this to be working.

No, the Management Client should not be involved. (I assume the code you have shown is not implemented in a Management Client MIP plugin.)

Thanks Bo.

We are using AlarmCommandToken wsdl file to communicate with Event server