axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cha...@apache.org
Subject svn commit: r398126 - in /webservices/axis2/trunk/java/modules/webapp: ActivateService.jsp InActivateService.jsp SelectService.jsp ViewGlobalHandlers.jsp ViewServiceHandlers.jsp listService.jsp viewphases.jsp
Date Sat, 29 Apr 2006 12:07:22 GMT
Author: chatra
Date: Sat Apr 29 05:07:19 2006
New Revision: 398126

URL: http://svn.apache.org/viewcvs?rev=398126&view=rev
Log:
made corrections and improvements to web app UT text

Modified:
    webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp
    webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp
    webservices/axis2/trunk/java/modules/webapp/SelectService.jsp
    webservices/axis2/trunk/java/modules/webapp/ViewGlobalHandlers.jsp
    webservices/axis2/trunk/java/modules/webapp/ViewServiceHandlers.jsp
    webservices/axis2/trunk/java/modules/webapp/listService.jsp
    webservices/axis2/trunk/java/modules/webapp/viewphases.jsp

Modified: webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp?rev=398126&r1=398125&r2=398126&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/ActivateService.jsp Sat Apr 29 05:07:19 2006
@@ -1,52 +1,52 @@
-<%@ page import="org.apache.axis2.Constants,
-                 org.apache.axis2.description.AxisService,
-                 java.util.Collection,
-                 java.util.HashMap,
-                 java.util.Iterator"%>
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<jsp:include page="include/adminheader.jsp"></jsp:include>
-<h1>Turn on Axis Service</h1>
-<form method="get" name="serviceActivate" action="axis2-admin/activateService">
-  <table width="100%"  border="0">
-<tr>
-  <td colspan="2" >
-     <p>The Axis Service will be marked as active , and only display the in-active
services</p>
-<%--    <b>Remove Service :</b> The selected axisService will be removed from
the file system and if the--%>
-<%--    &nbsp; system restart it wont be there next time--%>
-  </td>
-  </tr>
-  <tr>
-    <td width="20%"> Select Service : </td>
-    <td width="80%">
-       <select name="axisService" class="selectBoxes" >
-
-                           <%
-                       HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
-                       Collection col = services.values();
-                       for (Iterator iterator = col.iterator(); iterator.hasNext();) {
-                           AxisService axisServices = (AxisService) iterator.next();
-                           if(!axisServices.isActive()){
-                               %> <option value="<%=axisServices.getName()%>">
-                           <%=axisServices.getName()%></option> <%
-                           }
-                       }
-                       request.getSession().setAttribute(Constants.SERVICE_MAP,null);
-                           %>
-                  </td>
-  </tr>
-  <tr>
-    <td width="20%">Activate Service </td>
-    <td width="80%"><input type="checkbox" name="turnon">
-    </td>
-  </tr>
-  <tr>
-  <td>&nbsp;</td>
-  <td>
-    <input name="submit" type="submit" value=" Activate " >
-   <input name="reset" type="reset" value=" Clear " >
-  </td>
-  </tr>
-
-</table>
-</form>
-<jsp:include page="include/adminfooter.jsp"></jsp:include>
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.description.AxisService,
+                 java.util.Collection,
+                 java.util.HashMap,
+                 java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Turn On Service</h1>
+<form method="get" name="serviceActivate" action="axis2-admin/activateService">
+  <table width="100%"  border="0">
+<tr>
+  <td colspan="2" >
+     <p>The services that are inactive are listed below. Although you can activate
the services from this page, once system is restarted the services will be inactive again</p>
+<%--    <b>Remove Service :</b> The selected axisService will be removed from
the file system and if the--%>
+<%--    &nbsp; system restart it wont be there next time--%>
+  </td>
+  </tr>
+  <tr>
+    <td width="20%"> Select Service : </td>
+    <td width="80%">
+       <select name="axisService" class="selectBoxes" >
+
+                           <%
+                       HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
+                       Collection col = services.values();
+                       for (Iterator iterator = col.iterator(); iterator.hasNext();) {
+                           AxisService axisServices = (AxisService) iterator.next();
+                           if(!axisServices.isActive()){
+                               %> <option value="<%=axisServices.getName()%>">
+                           <%=axisServices.getName()%></option> <%
+                           }
+                       }
+                       request.getSession().setAttribute(Constants.SERVICE_MAP,null);
+                           %>
+                  </td>
+  </tr>
+  <tr>
+    <td width="20%">Activate Service </td>
+    <td width="80%"><input type="checkbox" name="turnon">
+    </td>
+  </tr>
+  <tr>
+  <td>&nbsp;</td>
+  <td>
+    <input name="submit" type="submit" value=" Activate " >
+   <input name="reset" type="reset" value=" Clear " >
+  </td>
+  </tr>
+
+</table>
+</form>
+<jsp:include page="include/adminfooter.jsp"></jsp:include>

Modified: webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp?rev=398126&r1=398125&r2=398126&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/InActivateService.jsp Sat Apr 29 05:07:19
2006
@@ -1,52 +1,52 @@
-<%@ page import="org.apache.axis2.Constants,
-                 org.apache.axis2.description.AxisService,
-                 java.util.Collection,
-                 java.util.HashMap,
-                 java.util.Iterator"%>
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<jsp:include page="include/adminheader.jsp"></jsp:include>
-<h1>Turn off Axis Service</h1>
-<form method="get" name="serviceInActivate" action="axis2-admin/deactivateService">
-  <table width="100%"  border="0">
-<tr>
-  <td colspan="2" >
-     <p>The Axis Service will be marked as in-active , but if the system restarts then
the Axis Service will be active again</p>
-<%--    <b>Remove Service :</b> The selected axisService will be removed from
the file system and if the--%>
-<%--    &nbsp; system restart it wont be there next time--%>
-  </td>
-  </tr>
-  <tr>
-    <td width="20%"> Select Service : </td>
-    <td width="80%">
-       <select name="axisService" class="selectBoxes" >
-
-                           <%
-                       HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
-                       Collection col = services.values();
-                       for (Iterator iterator = col.iterator(); iterator.hasNext();) {
-                           AxisService axisServices = (AxisService) iterator.next();
-                           if(axisServices.isActive()){
-                               %> <option value="<%=axisServices.getName()%>">
-                           <%=axisServices.getName()%></option> <%
-                           }
-                       }
-                       request.getSession().setAttribute(Constants.SERVICE_MAP,null);
-                           %>
-                  </td>
-  </tr>
-  <tr>
-    <td width="20%">In-activate Service </td>
-    <td width="80%"><input type="checkbox" name="turnoff">
-    </td>
-  </tr>
-  <tr>
-  <td>&nbsp;</td>
-  <td>
-    <input name="submit" type="submit" value=" In-activate " >
-   <input name="reset" type="reset" value=" Clear " >
-  </td>
-  </tr>
-
-</table>
-</form>
-<jsp:include page="include/adminfooter.jsp"></jsp:include>
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.description.AxisService,
+                 java.util.Collection,
+                 java.util.HashMap,
+                 java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Turn Off Service</h1>
+<form method="get" name="serviceInActivate" action="axis2-admin/deactivateService">
+  <table width="100%"  border="0">
+<tr>
+  <td colspan="2" >
+     <p>Only the services that are active are listed below. Note that although you
can activate a service from this page,once system is restarted the service will be active
again</p>
+<%--    <b>Remove Service :</b> The selected axisService will be removed from
the file system and if the--%>
+<%--    &nbsp; system restart it wont be there next time--%>
+  </td>
+  </tr>
+  <tr>
+    <td width="20%"> Select Service : </td>
+    <td width="80%">
+       <select name="axisService" class="selectBoxes" >
+
+                           <%
+                       HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
+                       Collection col = services.values();
+                       for (Iterator iterator = col.iterator(); iterator.hasNext();) {
+                           AxisService axisServices = (AxisService) iterator.next();
+                           if(axisServices.isActive()){
+                               %> <option value="<%=axisServices.getName()%>">
+                           <%=axisServices.getName()%></option> <%
+                           }
+                       }
+                       request.getSession().setAttribute(Constants.SERVICE_MAP,null);
+                           %>
+                  </td>
+  </tr>
+  <tr>
+    <td width="20%">Inactivate Service </td>
+    <td width="80%"><input type="checkbox" name="turnoff">
+    </td>
+  </tr>
+  <tr>
+  <td>&nbsp;</td>
+  <td>
+    <input name="submit" type="submit" value=" Inactivate " >
+   <input name="reset" type="reset" value=" Clear " >
+  </td>
+  </tr>
+
+</table>
+</form>
+<jsp:include page="include/adminfooter.jsp"></jsp:include>

Modified: webservices/axis2/trunk/java/modules/webapp/SelectService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/SelectService.jsp?rev=398126&r1=398125&r2=398126&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/SelectService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/SelectService.jsp Sat Apr 29 05:07:19 2006
@@ -1,85 +1,85 @@
-<%@ page import="org.apache.axis2.Constants,
-                 org.apache.axis2.description.AxisService,
-                 java.util.Collection,
-                 java.util.HashMap,
-                 java.util.Iterator"%>
-  <%
-           /*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*      http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author : Deepal Jayasinghe
- * Date: May 26, 2005
- * Time: 7:14:26 PM
- */
-%>
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<jsp:include page="include/adminheader.jsp"></jsp:include>
-
-  <%
-      String action ="";
-      String buttonName="" ;
-      String status = (String)request.getSession().getAttribute(Constants.SELECT_SERVICE_TYPE);
-      String heading = "";
-      String disc = "";
-      if(status != null && status.equals("MODULE")) {
-          action = "listOperations";
-          buttonName = " View Operations";
-          heading = "Select a Service to view Operation specific Chains";
-          disc = "Select a axisService from the combo and click on the 'View Operations'
button to view Operation specific Chains.";
-      } else if(status != null && status.equals("VIEW")){
-          buttonName = " View ";
-          action = "viewServiceHandlers";
-          heading = "Select a Service to view Service Handlers";
-          disc = "Select a axisService from the combo and click on the 'View' button to view
Service Handlers.";
-      } else if (status != null && status.equals("SERVICE_PARAMETER")){
-          buttonName = " Edit Parameters ";
-          action = Constants.EDIR_SERVICE_PARA;
-          heading = "Select a Service to Edit Parameters";
-          disc = "Select a axisService from the combo and click on the 'Edit Parameters'
button to Edit Parameters.";
-      }
-  %>
-<h1><%=heading%></h1>
-<p><%=disc%></p>
-<form method="get" name="selectServiceForm" action="axis2-admin/<%=action%>">
-<table border="0" width="50%" cellspacing="1" cellpadding="1">
-         <tr>
-        <td width="35%">Select a Service :</td><td width="65%">
-            <select name="axisService">
-            <%
-                HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
-                Collection serviceCol =  services.values();
-                for (Iterator iterator = serviceCol.iterator(); iterator.hasNext();) {
-                    AxisService axisService = (AxisService)iterator.next();
-                    String serviceName = axisService.getName();
-            %> <option  align="left" value="<%=serviceName%>"><%=serviceName%></option>
-             <%
-                }
-                request.getSession().setAttribute(Constants.SERVICE_MAP,null);
-             %>
-           </td>
-        </tr>
-	<tr><td colspan="2">&nbsp;</td></tr>
-        <tr><td>&nbsp;</td>
-             <td colspan="2" align="left">
-                <input name="submit" type="submit" value="<%=buttonName%>" >
-             </td>
-         </tr>
-      </table>
-   </form>
-<jsp:include page="include/adminfooter.jsp"></jsp:include>
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.description.AxisService,
+                 java.util.Collection,
+                 java.util.HashMap,
+                 java.util.Iterator"%>
+  <%
+           /*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*      http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: May 26, 2005
+ * Time: 7:14:26 PM
+ */
+%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+
+  <%
+      String action ="";
+      String buttonName="" ;
+      String status = (String)request.getSession().getAttribute(Constants.SELECT_SERVICE_TYPE);
+      String heading = "";
+      String disc = "";
+      if(status != null && status.equals("MODULE")) {
+          action = "listOperations";
+          buttonName = " View Operations";
+          heading = "Select a Service to View Operation Specific Chains";
+          disc = "Select a axisService from the combo and click on the 'View Operations'
button to view Operation specific Chains.";
+      } else if(status != null && status.equals("VIEW")){
+          buttonName = " View ";
+          action = "viewServiceHandlers";
+          heading = "Select a Service to View Service Handlers";
+          disc = "Select a axisService from the combo and click on the 'View' button to view
Service Handlers.";
+      } else if (status != null && status.equals("SERVICE_PARAMETER")){
+          buttonName = " Edit Parameters ";
+          action = Constants.EDIR_SERVICE_PARA;
+          heading = "Select a Service to Edit Parameters";
+          disc = "Select a axisService from the combo and click on the 'Edit Parameters'
button to Edit Parameters.";
+      }
+  %>
+<h1><%=heading%></h1>
+<p><%=disc%></p>
+<form method="get" name="selectServiceForm" action="axis2-admin/<%=action%>">
+<table border="0" width="50%" cellspacing="1" cellpadding="1">
+         <tr>
+        <td width="35%">Select a Service :</td><td width="65%">
+            <select name="axisService">
+            <%
+                HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
+                Collection serviceCol =  services.values();
+                for (Iterator iterator = serviceCol.iterator(); iterator.hasNext();) {
+                    AxisService axisService = (AxisService)iterator.next();
+                    String serviceName = axisService.getName();
+            %> <option  align="left" value="<%=serviceName%>"><%=serviceName%></option>
+             <%
+                }
+                request.getSession().setAttribute(Constants.SERVICE_MAP,null);
+             %>
+           </td>
+        </tr>
+	<tr><td colspan="2">&nbsp;</td></tr>
+        <tr><td>&nbsp;</td>
+             <td colspan="2" align="left">
+                <input name="submit" type="submit" value="<%=buttonName%>" >
+             </td>
+         </tr>
+      </table>
+   </form>
+<jsp:include page="include/adminfooter.jsp"></jsp:include>

Modified: webservices/axis2/trunk/java/modules/webapp/ViewGlobalHandlers.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/ViewGlobalHandlers.jsp?rev=398126&r1=398125&r2=398126&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/ViewGlobalHandlers.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/ViewGlobalHandlers.jsp Sat Apr 29 05:07:19
2006
@@ -1,143 +1,143 @@
-<%@ page import="org.apache.axis2.Constants,
-                 org.apache.axis2.engine.AxisConfiguration,
-                 org.apache.axis2.engine.Handler,
-                 org.apache.axis2.engine.Phase,
-                 java.util.ArrayList"%>
- <%--
- /*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*      http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author : Deepal Jayasinghe
- * Date: May 26, 2005
- * Time: 7:14:26 PM
- */
---%>
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<jsp:include page="include/adminheader.jsp"></jsp:include>
-<h1>View Global Execution Chains</h1>
-   <%
-            AxisConfiguration axisConfig = (AxisConfiguration)request.getSession().
-                    getAttribute(Constants.GLOBAL_HANDLERS);
-             if(axisConfig != null ){
-                 ArrayList handlers ;
-                 ArrayList phases = axisConfig.getGlobalInFlow();
-                 %>
-                 <h3> In Flow up to and including dispatcher </h3>
-                 <ul>
-                 <%
-                 for (int i = 0; i < phases.size(); i++) {
-                     Phase phase = (Phase) phases.get(i);
-                     %>
-                     <li>Phase Name :  <%=phase.getPhaseName()%></li>
-                     <ul>
-                     <%
-                      handlers = phase.getHandlers();
-                      for (int j = 0; j < handlers.size(); j++) {
-                          Handler handler = (Handler) handlers.get(j);
-                          %>
-                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
-                          <%
-                      }
-                     %>
-                     </ul>
-                 <%
-                 }
-                 %>
-                 </ul>
-                 <%
-                 phases = axisConfig.getInFaultFlow();
-                 %>
-                 <h3> In Fault Flow </h3>
-                 <ul>
-                 <%
-                 for (int i = 0; i < phases.size(); i++) {
-                     Phase phase = (Phase) phases.get(i);
-                     %>
-                     <li>Phase Name  : <%=phase.getPhaseName()%></li>
-                     <ul>
-                     <%
-                      handlers = phase.getHandlers();
-                      for (int j = 0; j < handlers.size(); j++) {
-                          Handler handler = (Handler) handlers.get(j);
-                          %>
-                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
-                          <%
-                      }
-                     %>
-                     </ul>
-                 <%
-                 }
-                 %>
-                 </ul>
-                 <%
-
-                 phases = axisConfig.getGlobalOutPhases();
-                 %>
-                 <h3> Out Flow </h3>
-                 <ul>
-                 <%
-                 for (int i = 0; i < phases.size(); i++) {
-                     Phase phase = (Phase) phases.get(i);
-                     %>
-                     <li>Phase Name : <%=phase.getPhaseName()%></li>
-                     <ul>
-                     <%
-                      handlers = phase.getHandlers();
-                      for (int j = 0; j < handlers.size(); j++) {
-                          Handler handler = (Handler) handlers.get(j);
-                          %>
-                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
-                          <%
-                      }
-                     %>
-                     </ul>
-                 <%
-                 }
-                 %>
-                 </ul>
-                 <%
-                 phases = axisConfig.getOutFaultFlow();
-                 %>
-                 <h3> Out Fault Flow </h3>
-                 <ul>
-                 <%
-                 for (int i = 0; i < phases.size(); i++) {
-                     Phase phase = (Phase) phases.get(i);
-                     %>
-                     <li>Phase Name : <%=phase.getPhaseName()%></li>
-                     <ul>
-                     <%
-                      handlers = phase.getHandlers();
-                      for (int j = 0; j < handlers.size(); j++) {
-                          Handler handler = (Handler) handlers.get(j);
-                          %>
-                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
-                          <%
-                      }
-                     %>
-                     </ul>
-                 <%
-                 }
-                 %>
-                 </ul>
-                 <%
-
-             }
-              %>
-<jsp:include page="include/adminfooter.jsp"></jsp:include>
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.engine.AxisConfiguration,
+                 org.apache.axis2.engine.Handler,
+                 org.apache.axis2.engine.Phase,
+                 java.util.ArrayList"%>
+ <%--
+ /*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*      http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: May 26, 2005
+ * Time: 7:14:26 PM
+ */
+--%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>View Global Execution Chains</h1>
+   <%
+            AxisConfiguration axisConfig = (AxisConfiguration)request.getSession().
+                    getAttribute(Constants.GLOBAL_HANDLERS);
+             if(axisConfig != null ){
+                 ArrayList handlers ;
+                 ArrayList phases = axisConfig.getGlobalInFlow();
+                 %>
+                 <h3> In Flow Up To and Including Dispatcher </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name :  <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+                 phases = axisConfig.getInFaultFlow();
+                 %>
+                 <h3> In Fault Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name  : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+
+                 phases = axisConfig.getGlobalOutPhases();
+                 %>
+                 <h3> Out Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+                 phases = axisConfig.getOutFaultFlow();
+                 %>
+                 <h3> Out Fault Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+
+             }
+              %>
+<jsp:include page="include/adminfooter.jsp"></jsp:include>

Modified: webservices/axis2/trunk/java/modules/webapp/ViewServiceHandlers.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/ViewServiceHandlers.jsp?rev=398126&r1=398125&r2=398126&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/ViewServiceHandlers.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/ViewServiceHandlers.jsp Sat Apr 29 05:07:19
2006
@@ -1,152 +1,152 @@
-<%@ page import="org.apache.axis2.Constants,
-                 org.apache.axis2.description.AxisOperation,
-                 org.apache.axis2.description.AxisService,
-                 org.apache.axis2.engine.Handler,
-                 org.apache.axis2.engine.Phase,
-                 java.util.ArrayList,
-                 java.util.Iterator"%>
-<%
-         /*
-         * Copyright 2004,2005 The Apache Software Foundation.
-         *
-         * Licensed under the Apache License, Version 2.0 (the "License");
-         * you may not use this file except in compliance with the License.
-         * You may obtain a copy of the License at
-         *
-         *      http://www.apache.org/licenses/LICENSE-2.0
-         *
-         * Unless required by applicable law or agreed to in writing, software
-         * distributed under the License is distributed on an "AS IS" BASIS,
-         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-         * See the License for the specific language governing permissions and
-         * limitations under the License.
-         *
-         *
-         */
-
-/**
-* Author : Deepal Jayasinghe
-* Date: May 26, 2005
-* Time: 7:14:26 PM
-*/
-      %>
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<html>
-<jsp:include page="include/adminheader.jsp"></jsp:include>
-<h1>View Operation specific Chains</h1>
-   <%
-            AxisService axisService = (AxisService)request.getSession().
-                    getAttribute(Constants.SERVICE_HANDLERS);
-             if(axisService != null ){
-                 ArrayList handlers ;
-                Iterator operations =  axisService.getOperations();
-                 while (operations.hasNext()) {
-                     AxisOperation axisOperationon = (AxisOperation) operations.next();
-                     %><h2>Operation Name : <%=axisOperationon.getName().getLocalPart()%></h2><%
-                     ArrayList phases = axisOperationon.getRemainingPhasesInFlow();
-                 %>
-                 <h3> In Flow </h3>
-                 <ul>
-                 <%
-                 for (int i = 0; i < phases.size(); i++) {
-                     Phase phase = (Phase) phases.get(i);
-                     %>
-                     <li>Phase Name :  <%=phase.getPhaseName()%></li>
-                     <ul>
-                     <%
-                      handlers = phase.getHandlers();
-                      for (int j = 0; j < handlers.size(); j++) {
-                          Handler handler = (Handler) handlers.get(j);
-                          %>
-                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
-                          <%
-                      }
-                     %>
-                     </ul>
-                 <%
-                 }
-                 %>
-                 </ul>
-                 <%
-                 phases = axisOperationon.getPhasesInFaultFlow();
-                 %>
-                 <h3> In Fault Flow </h3>
-                 <ul>
-                 <%
-                 for (int i = 0; i < phases.size(); i++) {
-                     Phase phase = (Phase) phases.get(i);
-                     %>
-                     <li>Phase Name  : <%=phase.getPhaseName()%></li>
-                     <ul>
-                     <%
-                      handlers = phase.getHandlers();
-                      for (int j = 0; j < handlers.size(); j++) {
-                          Handler handler = (Handler) handlers.get(j);
-                          %>
-                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
-                          <%
-                      }
-                     %>
-                     </ul>
-                 <%
-                 }
-                 %>
-                 </ul>
-                 <%
-
-                 phases = axisOperationon.getPhasesOutFlow();
-                 %>
-                 <h3> Out Flow </h3>
-                 <ul>
-                 <%
-                 for (int i = 0; i < phases.size(); i++) {
-                     Phase phase = (Phase) phases.get(i);
-                     %>
-                     <li>Phase Name : <%=phase.getPhaseName()%></li>
-                     <ul>
-                     <%
-                      handlers = phase.getHandlers();
-                      for (int j = 0; j < handlers.size(); j++) {
-                          Handler handler = (Handler) handlers.get(j);
-                          %>
-                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
-                          <%
-                      }
-                     %>
-                     </ul>
-                 <%
-                 }
-                 %>
-                 </ul>
-                 <%
-                 phases = axisOperationon.getPhasesOutFaultFlow();
-                 %>
-                 <h3> Out Fault Flow </h3>
-                 <ul>
-                 <%
-                 for (int i = 0; i < phases.size(); i++) {
-                     Phase phase = (Phase) phases.get(i);
-                     %>
-                     <li>Phase Name : <%=phase.getPhaseName()%></li>
-                     <ul>
-                     <%
-                      handlers = phase.getHandlers();
-                      for (int j = 0; j < handlers.size(); j++) {
-                          Handler handler = (Handler) handlers.get(j);
-                          %>
-                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
-                          <%
-                      }
-                     %>
-                     </ul>
-                 <%
-                 }
-                 %>
-                 </ul>
-                 <%
-
-             }
-                 }
-
-              %>
+<%@ page import="org.apache.axis2.Constants,
+                 org.apache.axis2.description.AxisOperation,
+                 org.apache.axis2.description.AxisService,
+                 org.apache.axis2.engine.Handler,
+                 org.apache.axis2.engine.Phase,
+                 java.util.ArrayList,
+                 java.util.Iterator"%>
+<%
+         /*
+         * Copyright 2004,2005 The Apache Software Foundation.
+         *
+         * Licensed under the Apache License, Version 2.0 (the "License");
+         * you may not use this file except in compliance with the License.
+         * You may obtain a copy of the License at
+         *
+         *      http://www.apache.org/licenses/LICENSE-2.0
+         *
+         * Unless required by applicable law or agreed to in writing, software
+         * distributed under the License is distributed on an "AS IS" BASIS,
+         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+         * See the License for the specific language governing permissions and
+         * limitations under the License.
+         *
+         *
+         */
+
+/**
+* Author : Deepal Jayasinghe
+* Date: May 26, 2005
+* Time: 7:14:26 PM
+*/
+      %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>View Operation Specific Chains</h1>
+   <%
+            AxisService axisService = (AxisService)request.getSession().
+                    getAttribute(Constants.SERVICE_HANDLERS);
+             if(axisService != null ){
+                 ArrayList handlers ;
+                Iterator operations =  axisService.getOperations();
+                 while (operations.hasNext()) {
+                     AxisOperation axisOperationon = (AxisOperation) operations.next();
+                     %><h2>Operation Name : <%=axisOperationon.getName().getLocalPart()%></h2><%
+                     ArrayList phases = axisOperationon.getRemainingPhasesInFlow();
+                 %>
+                 <h3> In Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name :  <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+                 phases = axisOperationon.getPhasesInFaultFlow();
+                 %>
+                 <h3> In Fault Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name  : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+
+                 phases = axisOperationon.getPhasesOutFlow();
+                 %>
+                 <h3> Out Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+                 phases = axisOperationon.getPhasesOutFaultFlow();
+                 %>
+                 <h3> Out Fault Flow </h3>
+                 <ul>
+                 <%
+                 for (int i = 0; i < phases.size(); i++) {
+                     Phase phase = (Phase) phases.get(i);
+                     %>
+                     <li>Phase Name : <%=phase.getPhaseName()%></li>
+                     <ul>
+                     <%
+                      handlers = phase.getHandlers();
+                      for (int j = 0; j < handlers.size(); j++) {
+                          Handler handler = (Handler) handlers.get(j);
+                          %>
+                          <li>Handler Name : <%=handler.getHandlerDesc().getName().getLocalPart()%></li>
+                          <%
+                      }
+                     %>
+                     </ul>
+                 <%
+                 }
+                 %>
+                 </ul>
+                 <%
+
+             }
+                 }
+
+              %>
 <jsp:include page="include/adminfooter.jsp"></jsp:include>

Modified: webservices/axis2/trunk/java/modules/webapp/listService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/listService.jsp?rev=398126&r1=398125&r2=398126&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/listService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/listService.jsp Sat Apr 29 05:07:19 2006
@@ -35,7 +35,7 @@
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <jsp:include page="include/adminheader.jsp" />
 
-  <h1>Available services</h1>
+  <h1>Available Services</h1>
     <%  String prifix = request.getAttribute("frontendHostUrl") + "services/";
         String restprefix = request.getAttribute("frontendHostUrl") + "rest/";
     %>

Modified: webservices/axis2/trunk/java/modules/webapp/viewphases.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/viewphases.jsp?rev=398126&r1=398125&r2=398126&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/viewphases.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/viewphases.jsp Sat Apr 29 05:07:19 2006
@@ -33,7 +33,7 @@
          ArrayList phases = (ArrayList)request.getSession().getAttribute(Constants.PHASE_LIST);
          request.getSession().setAttribute(Constants.PHASE_LIST,null);
          ArrayList tempList;
-     %><h2><font color="blue">System pre-defined phases</font></h2>
+     %><h2><font color="blue">System Pre-defined Phases</font></h2>
      <b>InFlow Up to Dispatcher</b>
      <blockquote>
          <%
@@ -75,7 +75,7 @@
 <%--         %>--%>
          </blockquote>
          <br>
-         <h2><font color="blue">User defined phases</font></h2>
+         <h2><font color="blue">User Defined Phases</font></h2>
          <b>Inflow after Dispatcher</b>
          <blockquote>
          <%



Mime
View raw message