File tree Expand file tree Collapse file tree 3 files changed +0
-63
lines changed
modules/webapp/src/main/webapp/WEB-INF/views Expand file tree Collapse file tree 3 files changed +0
-63
lines changed Original file line number Diff line number Diff line change 2323 org.apache.axis2.description.AxisModule" %>
2424<%@ page import =" org.apache.axis2.description.AxisOperation" %>
2525<%@ page import =" org.apache.axis2.description.AxisService" %>
26- <%@ page import =" org.apache.axis2.description.Parameter" %>
27- <%@ page import =" org.apache.axis2.engine.AxisConfiguration" %>
28- <%@ page import =" org.apache.axis2.util.JavaUtils" %>
2926<%@ page import =" java.util.Collection" %>
3027<%@ page import =" java.util.Enumeration" %>
3128<%@ page import =" java.util.HashMap" %>
5249 serviceName = axisService. getName();
5350% > <h2 ><a style =" color :blue " href =" <%= prefix + axisService. getName() % > ?wsdl" ><%= serviceName % > </a ></h2 >
5451<%
55- // do we need to enable REST in the main servlet so that it handles both REST and SOAP messages
56- boolean disableREST = false ;
57- AxisConfiguration axisConfiguration = axisService. getAxisConfiguration();
58-
59- Parameter parameter ;
60-
61- // do we need to completely disable REST support
62- parameter = axisConfiguration. getParameter(Constants . Configuration . DISABLE_REST );
63- if (parameter != null ) {
64- disableREST = ! JavaUtils . isFalseExplicitly(parameter. getValue());
65- }
66- if (! disableREST) {
67- % >
68-
69- <%
70- % >
71- <%
72- }
73-
74-
7552 String serviceDescription = axisService. getDocumentation();
7653 if (serviceDescription == null || " " . equals(serviceDescription)) {
7754 serviceDescription = " No description available for this service" ;
Original file line number Diff line number Diff line change 2020<%@ page import="org.apache.axis2.Constants,
2121 org.apache.axis2.description.AxisOperation" %>
2222<%@ page import =" org.apache.axis2.description.AxisService" %>
23- <%@ page import =" org.apache.axis2.description.Parameter" %>
24- <%@ page import =" org.apache.axis2.engine.AxisConfiguration" %>
25- <%@ page import =" org.apache.axis2.util.JavaUtils" %>
2623<%@ page import =" java.util.Hashtable" %>
2724<%@ page import =" java.util.Iterator" %>
2825<%@ page contentType =" text/html;charset=UTF-8" language =" java" %>
5653<span style =" color :black " ><%= prefix + axisService. getName() % > </span >
5754</p >
5855<%
59- boolean disableREST = false ;
60- AxisConfiguration axisConfiguration = axisService. getAxisConfiguration();
61-
62- Parameter parameter;
63-
64- // do we need to completely disable REST support
65- parameter = axisConfiguration. getParameter(Constants . Configuration . DISABLE_REST );
66- if (parameter != null ) {
67- disableREST = ! JavaUtils . isFalseExplicitly(parameter. getValue());
68- }
69- if (! disableREST ) {
70- % >
71- <%
72- }
73-
74-
7556 String serviceDescription = axisService. getDocumentation();
7657 if (serviceDescription == null || " " . equals(serviceDescription)) {
7758 serviceDescription = " No description available for this service" ;
Original file line number Diff line number Diff line change 2121<%@ page import="org.apache.axis2.Constants,
2222 org.apache.axis2.description.AxisOperation" %>
2323<%@ page import =" org.apache.axis2.description.AxisService" %>
24- <%@ page import =" org.apache.axis2.description.Parameter" %>
25- <%@ page import =" org.apache.axis2.engine.AxisConfiguration" %>
2624<%@ page import =" org.apache.axis2.util.Utils" %>
27- <%@ page import =" org.apache.axis2.util.JavaUtils" %>
2825<%@ page import =" java.util.Collection" %>
2926<%@ page import =" java.util.Enumeration" %>
3027<%@ page import =" java.util.HashMap" %>
6360 serviceName = axisService. getName();
6461% > <h2 ><a style =" color :blue " href =" <%= prefix + axisService. getName() % > ?wsdl" ><%= serviceName % > </a ></h2 >
6562<%
66- boolean disableREST = false ;
67- AxisConfiguration axisConfiguration = axisService. getAxisConfiguration();
68-
69- Parameter parameter ;
70-
71- // do we need to completely disable REST support
72- parameter = axisConfiguration. getParameter(Constants . Configuration . DISABLE_REST );
73- if (parameter != null ) {
74- disableREST = ! JavaUtils . isFalseExplicitly(parameter. getValue());
75- }
76-
77- if (! disableREST ) {
78-
79- % >
80- <%
81- }
82-
83-
8463 String serviceDescription = axisService. getDocumentation();
8564 if (serviceDescription == null || " " . equals(serviceDescription)) {
8665 serviceDescription = " No description available for this service" ;
You can’t perform that action at this time.
0 commit comments