emsWSDemo: A Client Application to Test the Web Services

emsWSDemo is a demo application available with Sentinel LDK-EMS, using which you can test the Sentinel LDK-EMS web services. Using emsWSDemo, you can also generate sample codes for the web services. To use the tool, first you need to deploy it in your Sentinel LDK-EMS Server.

Deploying emsWSDemo

1.Copy the file emsWSDemo.war from %EMS_HOME%\samples\EmsWSDemo\bin to %EMS_HOME%\EMSServer\webapps.

2.Wait for some time (approximately 2 minutes) before Tomcat extracts this war file.

3.Edit %EMS_HOME%\EMSServer\webapps\emsWSDemo\WEB-INF\classes\emsWSDemo.properties and update values for the following properties:

useSSL—if you have configured Sentinel LDK-EMS to use SSL, set the value to true (default value: false

server—specify the machine name and port for (default value: localhost:80)

trustStore—Provide the path of the certificate keystore file

trustStorePass—provide the trust store password (default value: changeit)

4.Re-start Sentinel LDK-EMS service.

Accessing the emsWSDemo URL

Make sure that the Sentinel LDK-EMS service is started. Use the URL http://host:port/emsWSDemo from any client machine in the network to access the tool.

Where,

>host - IP address or name of the machine where emsWSDemo tool is deployed.

>port - Sentinel LDK-EMS Server port.

Example: http://localhost:8080/emsWSDemo