Set<WebServiceEndpoint> wsSet
= AMXUtil.getWebServiceMgr().getWebServiceEndpointSet(webServiceKey, server);
Iterator it = wsSet.iterator();
while (it.hasNext()){
WebServiceEndpoint wsEndpoint = (WebServiceEndpoint) it.next();
WebServiceEndpointMonitor wsMonitor = (WebServiceEndpointMonitor)wsEndpoint.getMonitoringPeer();
if (wsMonitor != null){
String serverRoot = wsMonitor.getServerRootMonitor().getName();
serverRootList.add(serverRoot);
}
}
if (serverRootList.size() != 0){
handlerCtx.setOutputValue("DisplayServer", (String)serverRootList.get(0));