How to get a list of Services published on arcgis server for Add Layer functionality?

468
1
05-19-2014 02:22 AM
GauriDeshmukh
New Contributor III
I am working with web application using java-script api. I want to build  "add layer"  functionality.
How do I get a list of services published on server and add service to my application and also
remove service form TOC.
How do I use services directory in my code.

Please provide me at least some reference or any example.
0 Kudos
1 Reply
GauriDeshmukh
New Contributor III
0 Kudos