%@ page import="java.util.*, org.apache.soap.Constants, org.apache.soap.server.*" %>
Service Listing
<%
String configFilename = config.getInitParameter(Constants.CONFIGFILENAME);
if (configFilename == null)
configFilename = application.getInitParameter(Constants.CONFIGFILENAME);
ServiceManager serviceManager =
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(application, configFilename);
String[] serviceNames = serviceManager.list ();
if (serviceNames.length == 0) {
out.println ("Sorry, there are no services currently deployed.
");
} else {
out.println ("Here are the deployed services (select one to see");
out.println ("details)
");
%>
<%
for (int i = 0; i < serviceNames.length; i++) {
String id = serviceNames[i];
%>
- <%= id%>
<%
}
%>
<%
}
%>