2 ~ Licensed to the Apache Software Foundation (ASF) under one
3 ~ or more contributor license agreements. See the NOTICE file
4 ~ distributed with this work for additional information
5 ~ regarding copyright ownership. The ASF licenses this file
6 ~ to you under the Apache License, Version 2.0 (the
7 ~ "License"); you may not use this file except in compliance
8 ~ with the License. You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~ Unless required by applicable law or agreed to in writing,
13 ~ software distributed under the License is distributed on an
14 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ~ KIND, either express or implied. See the License for the
16 ~ specific language governing permissions and limitations
20 <%@ page import="org.apache.axis2.Constants,
21 org.apache.axis2.description.AxisService,
25 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
26 <jsp:include page="include/adminheader.jsp"></jsp:include>
30 String buttonName="" ;
31 String status = (String)request.getSession().getAttribute(Constants.SELECT_SERVICE_TYPE);
34 if(status != null && status.equals("MODULE")) {
35 action = "listOperations";
36 buttonName = " View Operations";
37 heading = "Select a service to view operation specific chains";
38 disc = "Select an Axis service from the combo and click on the 'View Operations' button to view operation specific Chains.";
39 } else if(status != null && status.equals("VIEW")){
40 buttonName = " View ";
41 action = "viewServiceHandlers";
42 heading = "Select a service to view service handlers";
43 disc = "Select an Axis service from the combo and click on the 'View' button to view service handlers.";
44 } else if (status != null && status.equals("SERVICE_PARAMETER")){
45 buttonName = " Edit Parameters ";
46 action = "editServicePara"; // Constants.EDIR_SERVICE_PARA;
47 heading = "Select a Service to Edit Parameters";
48 disc = "Select an Axis service from the combo and click on the 'Edit Parameters' button to edit parameters.";
53 <form method="get" name="selectServiceForm" action="axis2-admin/<%=action%>">
54 <table border="0" width="50%" cellspacing="1" cellpadding="1">
56 <td width="35%">Select a Service :</td><td width="65%">
57 <select name="axisService">
59 HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
60 Collection serviceCol = services.values();
61 for (Iterator iterator = serviceCol.iterator(); iterator.hasNext();) {
62 AxisService axisService = (AxisService)iterator.next();
63 String serviceName = axisService.getName();
64 %> <option align="left" value="<%=serviceName%>"><%=serviceName%></option>
67 request.getSession().setAttribute(Constants.SERVICE_MAP,null);
71 <tr><td colspan="2"> </td></tr>
73 <td colspan="2" align="left">
74 <input name="submit" type="submit" value="<%=buttonName%>" >
79 <jsp:include page="include/adminfooter.inc"></jsp:include>