as we had several inquiries for a web services example I posted one on CA-APM/ca-apm-example-webservice · GitHub.
I created these classes by downloading the WSDL from (http://<em_host>:8081/introscope-web-services/services/MetricsDataService?wsdl) and generating an Axis client with Eclipse. Starting from this example you can
- get data for other metrics
- call other methods of this service or
- create web service clients from the other CA APM web services as well.
See CA APM API Guide for more information.
Please be aware the web service calls put additional load on your CA APM Enterprise Managers. So keep the number of calls and the amount of metrics collected to the minimum required for your use case. If you try to "copy" the EM data you will crash your system for sure!