Error loading WSDL file

I’m a beginner,

I want to work with MIP SDK via SOAP protocol.

The Documentation https://doc.developer.milestonesys.com/html/index.html

provides a link to the wsdl file.

The WSDL specification may be downloaded from the server either dynamically (only XProtect Corporate) using the URL:

http://{host:port}/ServerAPI/ServerCommandService.asmx?wsdl

file in attach.

When I tried to open the file with SoapUI I get an error.

*** Error loading [fil[e:\Z](file:e:/Z):\MileStone\milestone.wsdl]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Use of undefined namespace prefix: wsd

Help me, please find the error.

regards

Andrey

Can you please try this URL ?

http://{host:port}/ServerAPI/ServerCommandService.asmx?singleWsdl

Hi, It works,

I received a list of requests and responses,

But, How do I get a wsdl file?

Thank you a lot,

Hi,

Could you help me, please.

For a project I need to get a list of cameras, and get a video from the selected camera. What methods can be used to do this?

regards

Andrey

You get the configuration on ServerCommandService using the GetConfiguration method.

You get video on the recording servers Image Server protocol.

The sample TCPVideoViewer shows how to do it all, the sample is c# .Net but it uses protocol methods so that you can implement the same in other languages and environments.

https://doc.developer.milestonesys.com/html/index.html?base=samples/tcpviewer_sample.html&tree=tree_3.html

Thank you a lot,

Is it possible to call a GetConfiguration method using a SOAP web service or REST ?

regards

Yes, the ServerCommandService is a SOAP web service.

The mentioned sample shows using it but you can also find information at-

https://doc.developer.milestonesys.com/html/index.html?base=content_3.html&tree=tree_3.html

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=serversoaphelp/index.html&tree=tree_3.html

Hi Bo,

I found ServerCommandService.wsdl file, all wsdl are located in the C: \ Program Files \ Milestone \ MIPSDK \ WSDL subdirectory. Life is beautiful and it goes on. Thank you a lot.

Hi Bo,

I created a project butб еhere are no SDK libraries in the project and I get an error while building the project.

using ServerCommandWrapper;

using ServerCommandWrapper.Ntlm;

using ServerCommandWrapper.Basic;

Where can I get a .Net sdk libraries for importing into a project?

regards

Andrey

Hi Andrey,

You can find a link to download the MIP SDK (which contains all the needed binaries) here:

https://www.milestonesys.com/community/developer-tools/sdk/

Best regards,

Simon

Please note that the sample TCPVideoViewer (and other samples) references the ServerCommandWrapper sample.

This means that you cannot build the TCPVideoViewer sample without first building the ServerCommandWrapper. If you try you will get the error you have experienced.