public SOAPService getService(QName qname) throws ConfigurationException { SOAPService service = (SOAPService)services.get(qname); if ((defaultConfiguration != null) && (service == null)) service = defaultConfiguration.getService(qname); return service; }
/** * Get the <code>SOAPService</code> for a particular local name. * * @param name the local name of the request type * @return the <code>SOAPService</code> for this request type * @throws AxisFault */ public SOAPService getService(String name) throws AxisFault { try { return config.getService(new QName(null, name)); } catch (ConfigurationException e) { try { return config.getServiceByNamespaceURI(name); } catch (ConfigurationException e1) { throw new AxisFault(e); } } }
public SOAPService getService(QName qname) throws ConfigurationException { SOAPService service = (SOAPService)services.get(qname); if ((defaultConfiguration != null) && (service == null)) service = defaultConfiguration.getService(qname); return service; }
/** * Get the <code>SOAPService</code> for a particular local name. * * @param name the local name of the request type * @return the <code>SOAPService</code> for this request type * @throws AxisFault */ public SOAPService getService(String name) throws AxisFault { try { return config.getService(new QName(null, name)); } catch (ConfigurationException e) { try { return config.getServiceByNamespaceURI(name); } catch (ConfigurationException e1) { throw new AxisFault(e); } } }
public SOAPService getService(QName qname) throws ConfigurationException { SOAPService service = (SOAPService)services.get(qname); if ((defaultConfiguration != null) && (service == null)) service = defaultConfiguration.getService(qname); return service; }
/** * Get the <code>SOAPService</code> for a particular local name. * * @param name the local name of the request type * @return the <code>SOAPService</code> for this request type * @throws AxisFault */ public SOAPService getService(String name) throws AxisFault { try { return config.getService(new QName(null, name)); } catch (ConfigurationException e) { try { return config.getServiceByNamespaceURI(name); } catch (ConfigurationException e1) { throw new AxisFault(e); } } }
String name = request.getParameter("service"); log.info(Messages.getMessage("adminServiceSuspend", name, callerIP)); SOAPService service = server.getConfig().getService(new QName("",name)); service.stop(); String name = request.getParameter("service"); log.info(Messages.getMessage("adminServiceResume", name, callerIP)); SOAPService service = server.getConfig().getService(new QName("",name)); service.start(); String name = sd.getName(); sb.append(name); SOAPService service = server.getConfig().getService(new QName("",name)); if(service.isRunning()) { sb.append(" <a href=\"AdminServlet?cmd=suspend&service=" + name + "\">suspend</a>\n");
String name = request.getParameter("service"); log.info(Messages.getMessage("adminServiceSuspend", name, callerIP)); SOAPService service = server.getConfig().getService(new QName("",name)); service.stop(); String name = request.getParameter("service"); log.info(Messages.getMessage("adminServiceResume", name, callerIP)); SOAPService service = server.getConfig().getService(new QName("",name)); service.start(); String name = sd.getName(); sb.append(name); SOAPService service = server.getConfig().getService(new QName("",name)); if(service.isRunning()) { sb.append(" <a href=\"AdminServlet?cmd=suspend&service=" + name + "\">suspend</a>\n");
/** * Stop the Service * * @param serviceName * @throws AxisFault ConfigurationException */ static public void stopService(String serviceName) throws AxisFault, ConfigurationException { AxisServer server = getEngine(); try { SOAPService service = server.getConfig().getService( new QName("", serviceName)); service.stop(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException();//Throw Axis fault if ist. of } else { throw configException; } } }
String name = request.getParameter("service"); log.info(Messages.getMessage("adminServiceSuspend", name, callerIP)); SOAPService service = server.getConfig().getService(new QName("",name)); service.stop(); String name = request.getParameter("service"); log.info(Messages.getMessage("adminServiceResume", name, callerIP)); SOAPService service = server.getConfig().getService(new QName("",name)); service.start(); String name = sd.getName(); sb.append(name); SOAPService service = server.getConfig().getService(new QName("",name)); if(service.isRunning()) { sb.append(" <a href=\"AdminServlet?cmd=suspend&service=" + name + "\">suspend</a>\n");
/** * Stop the Service * * @param serviceName * @throws AxisFault ConfigurationException */ static public void stopService(String serviceName) throws AxisFault, ConfigurationException { AxisServer server = getEngine(); try { SOAPService service = server.getConfig().getService( new QName("", serviceName)); service.stop(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException();//Throw Axis fault if ist. of } else { throw configException; } } }
/** * Start the Service * * @param serviceName * @throws AxisFault ConfigurationException */ static public void startService(String serviceName) throws AxisFault, ConfigurationException { AxisServer server = getEngine(); try { SOAPService service = server.getConfig().getService( new QName("", serviceName)); service.start(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException(); } else { throw configException; } } }
/** * Start the Service * * @param serviceName * @throws AxisFault ConfigurationException */ static public void startService(String serviceName) throws AxisFault, ConfigurationException { AxisServer server = getEngine(); try { SOAPService service = server.getConfig().getService( new QName("", serviceName)); service.start(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException(); } else { throw configException; } } }
/** * Stop the Service * * @param serviceName * @throws AxisFault ConfigurationException */ static public void stopService(String serviceName) throws AxisFault, ConfigurationException { AxisServer server = getEngine(); try { SOAPService service = server.getConfig().getService( new QName("", serviceName)); service.stop(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException();//Throw Axis fault if ist. of } else { throw configException; } } }
/** * Start the Service * * @param serviceName * @throws AxisFault ConfigurationException */ static public void startService(String serviceName) throws AxisFault, ConfigurationException { AxisServer server = getEngine(); try { SOAPService service = server.getConfig().getService( new QName("", serviceName)); service.start(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException(); } else { throw configException; } } }