private Set getDeployedServiceNames(MessageContext msgContext) throws ConfigurationException { Set serviceNames = new HashSet(); Iterator deployedServicesIter = msgContext.getAxisEngine().getConfig().getDeployedServices(); while (deployedServicesIter.hasNext()) { ServiceDesc serviceDesc = (ServiceDesc) deployedServicesIter.next(); serviceNames.add(serviceDesc.getName()); } return serviceNames; }
private Set getDeployedServiceNames(MessageContext msgContext) throws ConfigurationException { Set serviceNames = new HashSet(); Iterator deployedServicesIter = msgContext.getAxisEngine().getConfig().getDeployedServices(); while (deployedServicesIter.hasNext()) { ServiceDesc serviceDesc = (ServiceDesc) deployedServicesIter.next(); serviceNames.add(serviceDesc.getName()); } return serviceNames; }
private Set getDeployedServiceNames(MessageContext msgContext) throws ConfigurationException { Set serviceNames = new HashSet(); Iterator deployedServicesIter = msgContext.getAxisEngine().getConfig().getDeployedServices(); while (deployedServicesIter.hasNext()) { ServiceDesc serviceDesc = (ServiceDesc) deployedServicesIter.next(); serviceNames.add(serviceDesc.getName()); } return serviceNames; }
/** * List all registered services * * @return Map of Services (SOAPService objects, Key is the ServiceName) * @throws AxisFault ConfigurationException */ static public String[] listServices() throws AxisFault, ConfigurationException { ArrayList list = new ArrayList(); AxisServer server = getEngine(); Iterator iter; // get list of ServiceDesc objects try { iter = server.getConfig().getDeployedServices(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException();//Throw Axis fault if inst. of } else { throw configException; } } while (iter.hasNext()) { ServiceDesc sd = (ServiceDesc) iter.next(); String name = sd.getName(); list.add(name); } return (String[]) list.toArray(new String[list.size()]); }
/** * List all registered services * * @return Map of Services (SOAPService objects, Key is the ServiceName) * @throws AxisFault ConfigurationException */ static public String[] listServices() throws AxisFault, ConfigurationException { ArrayList list = new ArrayList(); AxisServer server = getEngine(); Iterator iter; // get list of ServiceDesc objects try { iter = server.getConfig().getDeployedServices(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException();//Throw Axis fault if inst. of } else { throw configException; } } while (iter.hasNext()) { ServiceDesc sd = (ServiceDesc) iter.next(); String name = sd.getName(); list.add(name); } return (String[]) list.toArray(new String[list.size()]); }
/** * List all registered services * * @return Map of Services (SOAPService objects, Key is the ServiceName) * @throws AxisFault ConfigurationException */ static public String[] listServices() throws AxisFault, ConfigurationException { ArrayList list = new ArrayList(); AxisServer server = getEngine(); Iterator iter; // get list of ServiceDesc objects try { iter = server.getConfig().getDeployedServices(); } catch (ConfigurationException configException) { if (configException.getContainedException() instanceof AxisFault) { throw (AxisFault) configException.getContainedException();//Throw Axis fault if inst. of } else { throw configException; } } while (iter.hasNext()) { ServiceDesc sd = (ServiceDesc) iter.next(); String name = sd.getName(); list.add(name); } return (String[]) list.toArray(new String[list.size()]); }
i = engine.getConfig().getDeployedServices(); } catch (ConfigurationException configException) {
i = engine.getConfig().getDeployedServices(); } catch (ConfigurationException configException) {
i = engine.getConfig().getDeployedServices(); } catch (ConfigurationException configException) {
i = server.getConfig().getDeployedServices(); } catch (ConfigurationException configException) {
i = server.getConfig().getDeployedServices(); } catch (ConfigurationException configException) {
i = server.getConfig().getDeployedServices(); } catch (ConfigurationException configException) {
StringBuffer sb = new StringBuffer(); sb.append("<h2>And now... Some Services</h2>\n"); Iterator i = engine.getConfig().getDeployedServices(); sb.append("<ul>\n"); while (i.hasNext()) {
StringBuffer sb = new StringBuffer(); sb.append("<h2>And now... Some Services</h2>\n"); Iterator i = engine.getConfig().getDeployedServices(); sb.append("<ul>\n"); while (i.hasNext()) {
StringBuffer sb = new StringBuffer(); sb.append("<h2>And now... Some Services</h2>\n"); Iterator i = engine.getConfig().getDeployedServices(); sb.append("<ul>\n"); while (i.hasNext()) {