Fetching Analytics Event Port

Hi,

Is there a way to fetch the Analytics Events Port number (which is 9090 by default) via Protocol Integration?

I’m aware of the way to do via Component Integration (ConfigAPI) but I’m trying to explore the same in Protocol Integration.

Regards,

Treyambak

You can use the Configuration API using protocol methods.

In essence the Configuration API is a Soap Service. https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_soap_protocols.html&tree=tree_3.html

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_configurationapi.html&tree=tree_4.html

I tried checking into this but couldn’t find any information on the analytics event port at all. Could you please let me know which is the node in the XML that denotes this?

I am confused in that you say you have found it, and now that you cannot find it.

I guess the issue is that there is no sample showing pure protocols on this, only this explanation: https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_configurationapi.html&tree=tree_4.html

And the option to see the structure of it using the sample:

That’s right. There’s no sample showing how to use Protocol to parse this event port data. There are samples to show the event port parsing using the Component Integration.

So, we had changed the port to 9091 in our setup (due to conflict) and when we tried to parse the GetConfigurations API response, we didn’t find this 9091 anywhere in the response.

In the Protocol Integration based samples, particularly the TriggerAnalyticsEventXML, the port is being entered by the user (user input fields given). So, we were wondering if there’s no support to get the analytics event port via Protocol or it’s there but the information isn’t available on how to parse it?

We didn’t want the user to enter this additional information. This was the main reason behind this query.

When we can find the information using the Config API Client sample we can find the same information if developing an application using the Configuration API.

Okay, if that’s the case, please point me to that information in the API response. I’ll attach the API response here:

It does not look right, what was the request you made to ConfigurationApiService.svc?

I think you must make several requests letting the service lead you to “MIPKinds”, “Analytics Options” etc.

-

I think I understand now! You think the answer should be in ServerCommandService GetConfiguration. No, sorry. The Configuration API is another service..

Can you please let me know how to get this information using Protocol Integration?

The set of SOAP requests to make in order to get this information. I haven’t been able to find this information in any documents provided in the SDK.

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_configurationapi.html&tree=tree_4.html

Sorry, I didn’t get any information on the SOAP requests in this documentation. There’s only information on the /ManagementServer/ConfigurationApiService.svc API and the response of which I had posted above.

Which is the equivalent API for Protocol integration to get this information on Event Port?

/ManagementServer/ConfigurationApiService.svc is a SOAP service but unfortunately there is no sample using it direct, Config API Client uses a proxy generated from the SOAP service but this is as close as we get.

PS.

The response you posted is not Configuration API but Server Command as you can see in the response “<GetConfigurationResponse xmlns=“http://videoos.net/2/XProtectCSServerCommand””