You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2017/09/08 21:50:14 UTC

svn commit: r1807831 - in /axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views: admin/listServices.jsp admin/listSingleService.jsp listServices.jsp

Author: veithen
Date: Fri Sep  8 21:50:14 2017
New Revision: 1807831

URL: http://svn.apache.org/viewvc?rev=1807831&view=rev
Log:
Remove dead code left over from r525469.

Modified:
    axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listServices.jsp
    axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listSingleService.jsp
    axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp

Modified: axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listServices.jsp
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listServices.jsp?rev=1807831&r1=1807830&r2=1807831&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listServices.jsp (original)
+++ axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listServices.jsp Fri Sep  8 21:50:14 2017
@@ -23,9 +23,6 @@
                  org.apache.axis2.description.AxisModule" %>
 <%@ page import="org.apache.axis2.description.AxisOperation" %>
 <%@ page import="org.apache.axis2.description.AxisService" %>
-<%@ page import="org.apache.axis2.description.Parameter" %>
-<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
-<%@ page import="org.apache.axis2.util.JavaUtils" %>
 <%@ page import="java.util.Collection" %>
 <%@ page import="java.util.Enumeration" %>
 <%@ page import="java.util.HashMap" %>
@@ -52,26 +49,6 @@
             serviceName = axisService.getName();
 %><h2><a style="color:blue" href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></h2>
 <%
-    // do we need to enable REST in the main servlet so that it handles both REST and SOAP messages
-    boolean disableREST = false;
-    AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
-
-    Parameter parameter ;
-
-    // do we need to completely disable REST support
-    parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
-    if (parameter != null) {
-        disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
-    }
-    if (!disableREST) {
-%>
-
-<%
-%>
-<%
-    }
-
-
     String serviceDescription = axisService.getDocumentation();
     if (serviceDescription == null || "".equals(serviceDescription)) {
         serviceDescription = "No description available for this service";

Modified: axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listSingleService.jsp
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listSingleService.jsp?rev=1807831&r1=1807830&r2=1807831&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listSingleService.jsp (original)
+++ axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/admin/listSingleService.jsp Fri Sep  8 21:50:14 2017
@@ -20,9 +20,6 @@
 <%@ page import="org.apache.axis2.Constants,
                  org.apache.axis2.description.AxisOperation" %>
 <%@ page import="org.apache.axis2.description.AxisService" %>
-<%@ page import="org.apache.axis2.description.Parameter" %>
-<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
-<%@ page import="org.apache.axis2.util.JavaUtils" %>
 <%@ page import="java.util.Hashtable" %>
 <%@ page import="java.util.Iterator" %>
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
@@ -56,22 +53,6 @@
 <span style="color:black"><%=prefix + axisService.getName()%></span>
 </p>
 <%
-    boolean disableREST = false;
-    AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
-
-    Parameter parameter;
-
-    // do we need to completely disable REST support
-    parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
-    if (parameter != null) {
-        disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
-    }
-    if (!disableREST ) {
-%>
-<%
-    }
-
-
     String serviceDescription = axisService.getDocumentation();
     if (serviceDescription == null || "".equals(serviceDescription)) {
         serviceDescription = "No description available for this service";

Modified: axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp?rev=1807831&r1=1807830&r2=1807831&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp (original)
+++ axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp Fri Sep  8 21:50:14 2017
@@ -21,10 +21,7 @@
 <%@ page import="org.apache.axis2.Constants,
                  org.apache.axis2.description.AxisOperation" %>
 <%@ page import="org.apache.axis2.description.AxisService" %>
-<%@ page import="org.apache.axis2.description.Parameter" %>
-<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
 <%@ page import="org.apache.axis2.util.Utils" %>
-<%@ page import="org.apache.axis2.util.JavaUtils" %>
 <%@ page import="java.util.Collection" %>
 <%@ page import="java.util.Enumeration" %>
 <%@ page import="java.util.HashMap" %>
@@ -63,24 +60,6 @@
             serviceName = axisService.getName();
 %><h2><a style="color:blue" href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></h2>
 <%
-    boolean disableREST = false;
-    AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
-
-    Parameter parameter ;
-
-    // do we need to completely disable REST support
-    parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
-    if (parameter != null) {
-        disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
-    }
-
-    if (!disableREST ) {
-
-%>
-<%
-    }
-
-
     String serviceDescription = axisService.getDocumentation();
     if (serviceDescription == null || "".equals(serviceDescription)) {
         serviceDescription = "No description available for this service";