String type = (String)handlerCtx.getInputValue("Type");
Boolean isStandalone = (Boolean)handlerCtx.getInputValue("IsStandalone");
String level = (String)handlerCtx.getInputValue("Level");
String history = (String)handlerCtx.getInputValue("History");
try{
WebServiceEndpointConfig wsConfig
= getWebServiceEndpointConfig(appName, bundleName, wsName, type, isStandalone);
if (wsConfig == null) {
try {
wsConfig = createWebServiceEndpointConfig(appName, bundleName, wsName, type, isStandalone);
} catch(Exception ex) {
GuiUtil.handleException(handlerCtx, ex);
}
}
if (wsConfig != null) {
wsConfig.setMonitoringLevel(level);
wsConfig.setMaxHistorySize(history);
}
}catch(Exception ex){
GuiUtil.handleException(handlerCtx, ex);
}
}