Error while loading ServerAPI/ServerCommandService.asmx?wsdl

I’m using the SOAP API of XProtect for quite some time. My python client is usually dynamically loaded using the wsdl here : http://{server-name}/ServerAPI/ServerCommandService.asmx?wsdl and now I get a 500 HTTP Error.

  • I installed this : Milestone XProtect VMS Products 2025 R2 System Installer.iso
  • I got a free license for Essential +

Here is what I get when I try to display the wsdl on a browser

HTTP Error 500.19 - Internal Server Error

Module IIS Web Core

Requested URL http://xprotect:80/ServerAPI/ServerCommandService.asmx?wsdl

Physical Path [C:\Program](file:C:/Program) Files\Milestone\XProtect Management Server\IIS\ServerAPI\ServerCommandService.asmx

Config Error Cannot read configuration file

Config File \\?\[C:\Program](file:C:/Program) Files\Milestone\XProtect Management Server\IIS\ServerAPI\web.config

Indeed there is no “ServerAPI” folder in IIS, only rcserver.

Do someone know what I did wrong ?

ServerCommandService.asmx has been deprecated long but is now removed.

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/mip2025r2_intro.html&tree=tree_home.html

Thanks !

@Bo Ellegård Andersen (Milestone Systems)​ Can you share the reason it was deprecated and removed?

ServerCommandService.asmx was dropped for security reasons.

As mentioned ServerCommandService.asmx has been deprecated very long, at least since 2021.

Internally it hasn’t been used by Milestone for this long.

It would be possible for Milestone to design and implement a new better and more secure ASMX service but as Milestone hasn’t used it and the assumption was that it being deprecated meant that it was no longer in use no new development has been made on this.