XQUERY Sample to get events and performance data of a virtual service from Centrasite

Hi,
any one have hava a sample to get events and performance data of a virtual service from Centrasite through http call

thanks

Hi,

Please find the sample XQuery for performance data and events of a Virtual Service. Replace “uddi:id” with your uddi key of the Virtual Service.

declare namespace cs=‘http://namespaces.CentraSite.com/Schema/SOALink
declare namespace tf=‘http://namespaces.softwareag.com/tamino/TaminoFunction
(for $a in collection (‘RuntimeMetrics’)/*
where $a/cs:serviceKey=“uddi:id”
return $a)

declare namespace cs=‘http://namespaces.CentraSite.com/Schema/SOALink
declare namespace tf=‘http://namespaces.softwareag.com/tamino/TaminoFunction
(for $a in collection (‘RuntimeEvents’)/cs:events
where $a/cs:eventKey=“uddi:id”
return $a)

Thanks,
Adhithya.