You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2011/07/11 23:10:56 UTC
svn commit: r1145356 [27/28] - in /incubator/airavata/trunk/ws-messaging: ./
distribution/ distribution/axis2_releases/
distribution/axis2_releases/axis2-1.6.0/
distribution/axis2_releases/axis2-1.6.0/bin/
distribution/axis2_releases/axis2-1.6.0/conf/ ...
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/disengage.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/disengage.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/disengage.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/disengage.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,22 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"/>
+<%=request.getSession().getAttribute("status")%>
+<jsp:include page="include/adminfooter.inc" />
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingglobally.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingglobally.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingglobally.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingglobally.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,72 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.Constants,
+ org.apache.axis2.description.AxisModule,
+ java.util.Collection,
+ java.util.HashMap,
+ java.util.Iterator" %>
+<%@ page import="org.apache.axis2.util.Utils" %>
+<html>
+<jsp:include page="include/adminheader.jsp"/>
+<%
+ String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS);
+%>
+<h1>Engage Module Globally</h1>
+
+<p>To engage a module on all services across the system, select a module from the combo box below
+ and click on the "Engage" button. Any module that needs to place handlers into the pre-dispatch
+ phase needs to be engaged globally.</p>
+
+<form method="get" name="selectModuleForm" action="axis2-admin/engagingglobally">
+ <table border="0" width="100%" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="15%">Select a Module :</td>
+ <td width="75%" align="left">
+ <select name="modules">
+ <%
+ HashMap modules = (HashMap) request.getSession().getAttribute(Constants.MODULE_MAP);
+ request.getSession().setAttribute(Constants.MODULE_MAP,null);
+ Collection moduleCol = modules.values();
+ for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
+ AxisModule axisOperation = (AxisModule) iterator.next();
+ String modulename = axisOperation.getName();
+ %>
+ <option align="left" value="<%=modulename%>"><%=modulename%>
+ </option>
+ <%
+ }
+ %>
+ </select>
+ </td>
+ </tr>
+ <tr><td> </td>
+ <td>
+ <input name="submit" type="submit" value=" Engage ">
+ </td>
+ </tr>
+ </table>
+</form>
+<%
+ if (status != null) {
+%>
+<p style="color:blue"><%=Utils.sanitizeWebOutput(status)%></p>
+<%
+ } %>
+<jsp:include page="include/adminfooter.inc"/>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingtoanoperation.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingtoanoperation.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingtoanoperation.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingtoanoperation.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,126 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants,
+ org.apache.axis2.description.AxisModule,
+ org.apache.axis2.description.AxisOperation,
+ org.apache.axis2.util.Utils,
+ java.util.Collection,
+ java.util.HashMap,
+ java.util.Iterator"%>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<%
+ String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS);
+%>
+<h1>Engage Module for an Operation</h1>
+<p>To engage a module for an axis operation,</p>
+ <ol>
+ <li>select the module you want to engage </li>
+ <li>select the axis operation you like the module to be engaged.</li>
+ <li>click "Engage".</li>
+ </ol>
+
+<form method="get" name="selectModuleForm" action="axis2-admin/listOperations">
+<table border="0" width="100%" cellspacing="1" cellpadding="1">
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>Select a Module :</td>
+ </tr>
+ <tr>
+ <td>
+ <select name="modules">
+ <%
+ HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+ request.getSession().setAttribute(Constants.MODULE_MAP,null);
+ Collection moduleCol = moduels.values();
+ for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
+ AxisModule axisOperation = (AxisModule) iterator.next();
+ String modulename = axisOperation.getName();
+ %> <option align="left" value="<%=modulename%>"><%=modulename%></option>
+ <%
+ }
+ %>
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>Select an Operation :</td>
+ </tr>
+ <tr>
+ <td>
+ <select name="axisOperation">
+ <%
+ Iterator operations = (Iterator)request.getSession().getAttribute(Constants.OPERATION_MAP);
+ while (operations.hasNext()) {
+ AxisOperation axisOperationtion = (AxisOperation)operations.next();
+ String opname = axisOperationtion.getName().getLocalPart();
+ %> <option align="left" value="<%=opname%>"><%=opname%></option>
+ <%
+ }
+ request.getSession().setAttribute(Constants.OPERATION_MAP,null);
+ %>
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <input name="submit" type="submit" value=" Engage " >
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <textarea cols="50" <%
+ if(status == null){
+ %>
+ style="display:none"
+ <%
+ } %>
+ ><%=Utils.sanitizeWebOutput(status)%></textarea>
+ </td>
+ </tr>
+ </table>
+ </form>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingtoaservice.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingtoaservice.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingtoaservice.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/engagingtoaservice.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,144 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants,
+ org.apache.axis2.description.AxisModule,
+ org.apache.axis2.description.AxisService,
+ java.util.Collection,
+ java.util.HashMap,
+ java.util.Iterator"
+ %>
+<%@ page import="org.apache.axis2.util.Utils" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<%
+ String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS);
+%>
+<h1>Engage Module for a Service</h1>
+
+<p>To engage a module for a axis service,</p>
+
+ <ol>
+ <li>select the module you want to engage</li>
+ <li>select the axis service you like the module to be engaged.</li>
+ <li>click "Engage".</li>
+ </ol>
+
+<form method="get" name="selectModuleForm" action="axis2-admin/engageToService">
+ <table border="0" width="100%" cellspacing="1" cellpadding="1">
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>Select a Module :</td>
+ </tr>
+ <tr>
+ <td>
+ <select name="modules">
+ <%
+
+ HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+ request.getSession().setAttribute(Constants.MODULE_MAP,null);
+ Collection moduleCol = moduels.values();
+ for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
+ AxisModule axisOperation = (AxisModule) iterator.next();
+ String modulename = axisOperation.getName();
+
+ %>
+ <option align="left" value="<%=modulename%>"><%=modulename%>
+ </option>
+ <%
+
+ }
+
+ %>
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>Select a Service :</td>
+ </tr>
+ <tr>
+ <td>
+ <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>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <input name="submit" type="submit" value=" Engage ">
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <textarea cols="50" <%
+ if (status == null) {
+ %>
+ style="display:none"
+ <%
+ } %>
+ ><%=Utils.sanitizeWebOutput(status)%>
+ </textarea>
+ </td>
+ </tr>
+ </table>
+</form>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
+
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/error.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/error.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/error.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/error.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,31 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@page isErrorPage="true" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+ <table>
+ <tr>
+ <td align="center">An error has occured!. Please check the details below</td>
+ </tr>
+ <tr>
+ <td align="center"><%=exception.getMessage()%></td>
+ </tr>
+ </table>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/errorModule.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/errorModule.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/errorModule.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/errorModule.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,30 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.Constants,
+ java.util.Hashtable"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+ <%
+ Hashtable errornessModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP);
+ String moduleName = request.getParameter("moduleName");
+ %> <h3>The Module has deployment faults</h3><%
+ %><font color="red" ><%=(String)errornessModules.get(moduleName) %></font><%
+ %>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/globalModules.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/globalModules.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/globalModules.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/globalModules.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,55 @@
+ <%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%> <%@ page import="org.apache.axis2.Constants,
+ org.apache.axis2.description.AxisModule,
+ java.util.Collection,
+ java.util.Iterator"%>
+ <%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+<h1>Globally Engaged Modules</h1>
+ <%
+ boolean foundModules = false;
+ boolean wroteUL = false;
+ String modulename = "";
+ Collection moduleCol = (Collection) request.getSession().getAttribute(Constants.MODULE_MAP);
+ request.getSession().setAttribute(Constants.MODULE_MAP, null);
+ if (moduleCol != null && moduleCol.size() > 0) {
+ for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
+ AxisModule axisOperation = (AxisModule) iterator.next();
+ modulename = axisOperation.getName();
+ if (!wroteUL) {
+ wroteUL = true;
+ %>
+ <ul>
+<%
+ }
+ %><li><%=modulename%></li>
+ <br> <%
+ }
+ if (wroteUL){
+%>
+ </ul>
+<%
+ }
+ } else{
+ %>
+ <h2><font color="blue">There are no modules engaged globally</font></h2>
+ <%
+ }
+ %>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/asf-logo.gif
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/asf-logo.gif?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/asf-logo.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis.gif
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis.gif?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis.jpg
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis.jpg?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis_l.jpg
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis_l.jpg?rev=1145356&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/images/axis_l.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminfooter.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminfooter.inc?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminfooter.inc (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminfooter.inc Mon Jul 11 21:10:36 2011
@@ -0,0 +1,23 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+</td></tr>
+</table>
+<jsp:include page="footer.inc"></jsp:include>
+</body>
+</html>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminheader.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminheader.inc?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminheader.inc (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminheader.inc Mon Jul 11 21:10:36 2011
@@ -0,0 +1,28 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<table width="100%">
+ <tr>
+ <td align="left"><img src="axis2-web/images/asf-logo.gif"/><h1>Axis 2</h1></td>
+ <td align="right"><img src="axis2-web/images/axis.jpg"/></td>
+ </tr>
+ <tr>
+ <td>.</td>
+ <td align="right"><a href="logout" target="_parent" >Log out</a></td>
+ </tr>
+</table>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminheader.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminheader.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminheader.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/adminheader.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,81 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.Constants" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContext" %>
+<%@ page import="org.apache.axis2.context.ServiceContext" %>
+<%@ page import="org.apache.axis2.context.ServiceGroupContext" %>
+<%@ page import="org.apache.axis2.deployment.util.PhasesInfo" %>
+<%@ page import="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.AxisServiceGroup" %>
+<%@ page import="org.apache.axis2.description.Parameter" %>
+<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
+<%@ page import="org.apache.axis2.engine.Handler" %>
+<%@ page import="org.apache.axis2.engine.Phase" %>
+<%@ page import="org.apache.axis2.util.JavaUtils" %>
+<%@ page import="java.util.ArrayList" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="java.util.Enumeration" %>
+<%@ page import="java.util.HashMap" %>
+<%@ page import="java.util.Hashtable" %>
+<%@ page import="java.util.Iterator" %>
+<%--
+~ Licensed to the Apache Software Foundation (ASF) under one
+~ or more contributor license agreements. See the NOTICE file
+~ distributed with this work for additional information
+~ regarding copyright ownership. The ASF licenses this file
+~ to you 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.
+--%>
+<%@ page contentType="text/html;charset=iso-8859-1" language="java" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <jsp:include page="../include/httpbase.jsp"/>
+ <title>Axis2 :: Administration Page</title>
+ <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+ </head>
+
+ <body>
+ <jsp:include page="header.inc"/>
+ <table class="FULL_BLANK">
+ <tr>
+ <td valign="top" width="20%">
+ <jsp:include page="../LeftFrame.jsp"/>
+ </td>
+ <td valign="top" align="left" width="80%">
+ <table width="100%">
+ <tr>
+ <td align="right" colspan="2"><a href="#" onclick="javascript:history.back();">Back</a> | <a
+ href="axis2-admin/logout">Log out</a></td>
+ </tr>
+ </table>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/footer.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/footer.inc?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/footer.inc (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/footer.inc Mon Jul 11 21:10:36 2011
@@ -0,0 +1,37 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+</td>
+</tr>
+<tr height="20px">
+ <td>
+ <table width="100%">
+ <tr><td>
+ <table width="950px">
+ <tr><td><hr size="1" noshade="" /></td></tr>
+ <tr>
+ <td align="center">Copyright © 1999-2006, The Apache Software Foundation<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</td>
+ </tr>
+ </table>
+ </td>
+ <td> </td>
+ </tr>
+ </table>
+ </td>
+</tr>
+</table>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/header.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/header.inc?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/header.inc (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/header.inc Mon Jul 11 21:10:36 2011
@@ -0,0 +1,29 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<table class="FULL_BLANK"><tr height="100%"><td valign="top">
+<table width="100%">
+<tr><td>
+<table width="950px">
+ <tr>
+ <td align="left"><img src="axis2-web/images/asf-logo.gif"/></td>
+ <td align="right"><img src="axis2-web/images/axis_l.jpg"/></td>
+ </tr>
+</table>
+</td>
+<td> </td></tr></table>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/httpbase.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/httpbase.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/httpbase.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/httpbase.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,71 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.Constants" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContext" %>
+<%@ page import="org.apache.axis2.description.Parameter" %>
+<%@ page import="org.apache.axis2.transport.http.AxisServlet" %>
+<%@ page import="org.apache.axis2.transport.TransportListener" %>
+<%!
+ private String frontendHostUrl;
+ private String hostname;
+
+ public void jspInit() {
+ ServletContext context = this.getServletConfig().getServletContext();
+ ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT);
+ if (configctx != null) {
+ Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL);
+ if (parameter != null) {
+ frontendHostUrl = (String) parameter.getValue();
+ }
+ Parameter hostnameParam = configctx.getAxisConfiguration().getParameter(TransportListener.HOST_ADDRESS);
+ if (hostnameParam != null) {
+ hostname = (String) hostnameParam.getValue();
+ }
+ }
+ }
+
+ public String calculateHttpBase(HttpServletRequest aRequest) {
+ StringBuffer stringBuffer = new StringBuffer();
+ if (frontendHostUrl != null) {
+ stringBuffer.append(frontendHostUrl);
+ } else {
+ String scheme = aRequest.getScheme();
+ stringBuffer.append(scheme);
+ stringBuffer.append("://");
+ stringBuffer.append(hostname != null ? hostname : aRequest.getServerName());
+ if (("http".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 80) || "https".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 443) {
+ stringBuffer.append(":");
+ stringBuffer.append(aRequest.getServerPort());
+ }
+ // I think i saw web containers return null for root web context
+ if (aRequest.getContextPath() != null) {
+ stringBuffer.append(aRequest.getContextPath());
+ }
+ }
+ // append / char if needed
+ if (stringBuffer.charAt(stringBuffer.length() - 1) != '/') {
+ stringBuffer.append("/");
+ }
+ String curentUrl = stringBuffer.toString();
+ aRequest.setAttribute("frontendHostUrl", curentUrl);
+ return curentUrl;
+ }
+%>
+<base href="<%= calculateHttpBase(request)%>"/>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/link-footer.inc
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/link-footer.inc?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/link-footer.inc (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/link-footer.inc Mon Jul 11 21:10:36 2011
@@ -0,0 +1,23 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ -->
+<table width="100%">
+ <tr>
+ <td align="center"><a href="index.jsp">Back Home</a></td>
+ </tr>
+</table>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/link-footer.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/link-footer.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/link-footer.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/include/link-footer.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,69 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.AxisFault" %>
+<%@ page import="org.apache.axis2.Constants" %>
+<%@ page import="org.apache.axis2.addressing.EndpointReference" %>
+<%@ page import="org.apache.axis2.client.Options" %>
+<%@ page import="org.apache.axis2.client.ServiceClient" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContext" %>
+<%@ page import="org.apache.axis2.context.ConfigurationContextFactory" %>
+<%@ 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="javax.xml.parsers.SAXParser" %>
+<%@ page import="javax.xml.parsers.SAXParserFactory" %>
+<%@ page import="java.io.IOException" %>
+<%@ page import="java.io.InputStream" %>
+<%@ page import="java.io.StringWriter" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="java.util.Enumeration" %>
+<%@ page import="java.util.HashMap" %>
+<%@ page import="java.util.Hashtable" %>
+<%@ page import="java.util.Iterator" %>
+<%--
+~ Licensed to the Apache Software Foundation (ASF) under one
+~ or more contributor license agreements. See the NOTICE file
+~ distributed with this work for additional information
+~ regarding copyright ownership. The ASF licenses this file
+~ to you 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.
+--%>
+<table width="100%">
+ <tr><td>
+ <table width="950px">
+ <tr>
+ <td align="right"><a href="axis2-web/index.jsp">Back Home</a> | <a href="#" onclick="javascript:window.location.reload(true);return false;">Refresh</a></td>
+ </tr>
+ </table>
+ </td>
+ <td> </td></tr>
+</table>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/index.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/index.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/index.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/index.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,58 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+ <head>
+ <jsp:include page="include/httpbase.jsp"/>
+ <title>Axis 2 - Home</title>
+ <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css"/>
+ </head>
+
+ <body>
+ <jsp:include page="include/header.inc" />
+ <br/>
+
+ <h1>Welcome!</h1>
+ Welcome to the new generation of Axis. If you can see this page you have
+ successfully deployed the Axis2 Web Application. However, to ensure that Axis2
+ is properly working, we encourage you to click on the validate link.
+ <br/>
+ <ul>
+ <li><a href="services/listServices">Services</a>
+ <br/>
+ View the list of all the available services deployed in this server.
+ </li>
+ <li><a href="axis2-web/HappyAxis.jsp">Validate</a>
+ <br/>
+ Check the system to see whether all the required libraries are in place
+ and view the system information.
+ </li>
+ <%--<li><a href="interop.jsp">Do an interop test</a>
+ <br/>
+ You can run Interoperability tests here
+ </li>--%>
+ <li><a href="axis2-admin/">Administration</a>
+ <br/>
+ Console for administering this Axis2 installation.
+ </li>
+ </ul>
+ <jsp:include page="include/footer.inc"/>
+ </body>
+</html>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listFaultyService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listFaultyService.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listFaultyService.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listFaultyService.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,85 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.Constants,
+ org.apache.axis2.description.AxisOperation"%>
+<%@ page import="org.apache.axis2.description.AxisService"%>
+<%@ page import="java.util.Hashtable"%>
+<%@ page import="java.util.Iterator"%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+ <head>
+ <jsp:include page="include/httpbase.jsp"/>
+ <title>List Single service</title>
+ <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css">
+ </head>
+ <body>
+ <jsp:include page="include/header.inc"></jsp:include>
+ <jsp:include page="include/link-footer.jsp"></jsp:include>
+ <%
+ String prifix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) +"services/";
+ %>
+ <%
+ String isFault = (String)request.getSession().getAttribute(Constants.IS_FAULTY);
+ String servicName = request.getParameter("serviceName");
+ if(Constants.IS_FAULTY.equals(isFault)){
+ Hashtable errornessservices =(Hashtable)request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
+ %>
+ <h3>This Web axisService has deployment faults</h3><%
+ %><font color="red" ><%=(String)errornessservices.get(servicName) %></font>
+ <%
+
+ }else {
+
+ AxisService axisService =
+ (AxisService) request.getSession().getAttribute(Constants.SINGLE_SERVICE);
+ if(axisService!=null){
+ Iterator opItr = axisService.getOperations();
+ //operationsList = operations.values();
+ String serviceName = axisService.getName();
+ %><h2><font color="blue"><a href="<%=prifix + axisService.getName()%>?wsdl"><%=serviceName%></a></font></h2>
+ <font color="blue">Service EPR : </font><font color="black"><%=prifix + axisService.getName()%></font><br>
+ <h4>Service Description : <font color="black"><%=axisService.getServiceDescription()%></font></h4>
+ <i><font color="blue">Service Status : <%=axisService.isActive()?"Active":"InActive"%></font></i><br>
+ <%
+ if (opItr.hasNext()) {
+ %><i>Available operations</i><%
+ } else {
+ %><i> There are no Operations specified</i><%
+ }
+ opItr = axisService.getOperations();
+ %><ul><%
+ while (opItr.hasNext()) {
+ AxisOperation axisOperation = (AxisOperation) opItr.next();
+ %><li><%=axisOperation.getName().getLocalPart()%></li>
+ <%
+ }
+ %></ul>
+ <%
+ } else{
+ %>
+ <h3><font color="red" >No services found in this location.</font></h3>
+ <%
+ }
+
+ }
+ %>
+<jsp:include page="include/footer.inc"></jsp:include>
+ </body>
+</html>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listGroupService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listGroupService.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listGroupService.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listGroupService.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,104 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.Constants" %>
+<%@ page import="org.apache.axis2.description.AxisModule" %>
+<%@ page import="org.apache.axis2.description.AxisOperation" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="java.util.HashMap" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+<head>
+ <jsp:include page="include/httpbase.jsp"/>
+ <title>List Services</title>
+ <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+<jsp:include page="include/adminheader.jsp"/>
+<h1>Available services</h1>
+<%
+ String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) +"/";
+%>
+<%
+ HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP);
+ request.getSession().setAttribute(Constants.SERVICE_MAP,null);
+ AxisService axisService = (AxisService) serviceMap.get(request.getParameter("serviceName"));
+ if (axisService != null) {
+ Iterator operations;
+ String serviceName;
+ operations = axisService.getOperations();
+ serviceName = axisService.getName();
+%><hr>
+
+<h2><font color="blue"><a href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a>
+</font></h2>
+<font color="blue">Service EPR :</font><font color="black"><%=prefix + axisService.getName()%></font>
+<h4>Service Description : <font color="black"><%=axisService.getServiceDescription()%></font></h4>
+<i><font color="blue">Service Status : <%=axisService.isActive() ? "Active" : "InActive"%></font></i><br/>
+<%
+ Collection engagedModules = axisService.getEngagedModules();
+ String moduleName;
+ if (engagedModules.size() > 0) {
+%>
+<i>Engaged Modules for the Axis Service</i><ul>
+ <%
+ for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) {
+ AxisModule axisOperation = (AxisModule) iteratorm.next();
+ moduleName = axisOperation.getName();
+ %><li><%=moduleName%></li>
+ <%
+ }%>
+</ul>
+<%
+ }
+ if (operations.hasNext()) {
+%><br><i>Available operations</i><%
+} else {
+%><i> There are no operations specified</i><%
+ }
+%><ul><%
+ operations = axisService.getOperations();
+ while (operations.hasNext()) {
+ AxisOperation axisOperation = (AxisOperation) operations.next();
+%><li><%=axisOperation.getName().getLocalPart()%></li>
+ <%
+ engagedModules = axisOperation.getEngagedModules();
+ if (engagedModules.size() > 0) {
+ %>
+ <br><i>Engaged Modules for the Operation</i><ul>
+ <%
+ for (Iterator iterator2 = engagedModules.iterator(); iterator2.hasNext();) {
+ AxisModule moduleDecription = (AxisModule) iterator2.next();
+ moduleName = moduleDecription.getName();
+ %><li><%=moduleName%></li><br><%
+ }
+%></ul><%
+ }
+
+ }
+%></ul>
+<%
+ }
+%>
+<jsp:include page="include/adminfooter.inc"/>
+</body>
+</html>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listModules.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listModules.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listModules.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listModules.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,81 @@
+ <%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%> <%@ page import="org.apache.axis2.Constants,
+ org.apache.axis2.description.AxisModule,
+ java.util.Collection"%>
+ <%@ page import="java.util.Enumeration"%>
+ <%@ page import="java.util.HashMap"%>
+ <%@ page import="java.util.Hashtable"%>
+ <%@ page import="java.util.Iterator"%>
+ <%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"></jsp:include>
+ <h1>Available Modules</h1>
+ <%
+ boolean foundModules = false;
+ boolean wroteUL = false;
+ HashMap moduleMap = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
+ request.getSession().setAttribute(Constants.MODULE_MAP,null);
+ Hashtable errornesModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP);
+ if (moduleMap!=null && !moduleMap.isEmpty()){
+ String modulename ;
+ String moduleDescription ;
+ Collection moduleNames = moduleMap.values();
+ for (Iterator iterator = moduleNames.iterator(); iterator.hasNext();) {
+ foundModules = true;
+ AxisModule moduleQName = (AxisModule) iterator.next();
+ modulename = moduleQName.getName();
+ moduleDescription = moduleQName.getModuleDescription();
+ if(moduleDescription==null){
+ moduleDescription = "[ -- No module description found --]";
+ }
+ if (!wroteUL){
+ wroteUL = true;
+%>
+ <ul>
+<%
+ }
+ %><li><b><%=modulename%></b> : <%=moduleDescription%></li>
+ <%
+ }
+ if (wroteUL){
+%>
+ </ul>
+<%
+ }
+ }
+ %>
+ <%if(errornesModules.size()>0){
+ %>
+ <h3><font color="red">Faulty Modules</font></h3>
+ <%
+ Enumeration faultyModules = errornesModules.keys();
+ while (faultyModules.hasMoreElements()) {
+ foundModules = true;
+ String faultyModuleName = (String) faultyModules.nextElement();
+ %><a href="errorModule.jsp?moduleName=<%=faultyModuleName%>">
+ <%=faultyModuleName%></a>
+ <%
+ }
+ }
+ if(! foundModules) {
+ %>
+ <h2><font color="blue">There are no modules deployed in the system.</font></h2>
+ <%
+ }
+ %>
+<jsp:include page="include/adminfooter.inc"></jsp:include>
\ No newline at end of file
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listService.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listService.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listService.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,158 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.Constants,
+ 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" %>
+<%@ page import="java.util.Hashtable" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"/>
+
+<h1>Available Services</h1>
+<% String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/";
+%>
+<%
+ HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP);
+ request.getSession().setAttribute(Constants.SERVICE_MAP, null);
+ Hashtable errornessservice = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
+ boolean status = false;
+ if (serviceMap != null && !serviceMap.isEmpty()) {
+ Iterator operations;
+ String serviceName;
+ Collection servicecol = serviceMap.values();
+ for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) {
+ AxisService axisService = (AxisService) iterator.next();
+ operations = axisService.getOperations();
+ serviceName = axisService.getName();
+%><h2><font color="blue"><a href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></font></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.getServiceDescription();
+ if (serviceDescription == null || "".equals(serviceDescription)) {
+ serviceDescription = "No description available for this service";
+ }
+%>
+<p>Service Description : <%=serviceDescription%><br/>
+Service EPR : <%=prefix + axisService.getName()%><br/>
+Service Status : <%=axisService.isActive() ? "Active" : "InActive"%>
+Actions : <a href="axis2-admin/deleteService?serviceName=<%=serviceName%>">Remove Service</a></p><br>
+<%
+ Collection engagedModules = axisService.getEngagedModules();
+ String moduleName;
+ boolean modules_present = false;
+ if (engagedModules.size() > 0) {
+%>
+<i>Engaged modules for the service</i>
+<%
+ for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) {
+ AxisModule axisOperation = (AxisModule) iteratorm.next();
+ moduleName = axisOperation.getName();
+ if (!modules_present) {
+ modules_present = true;
+%>
+<ul>
+ <% }
+ %><li><%=moduleName%> :: <a href="axis2-admin/disengageModule?type=service&serviceName=<%=serviceName%>&module=<%=moduleName%>">Disengage</a></li>
+ <br>
+ <%
+ }
+ if (modules_present) {%>
+</ul>
+<%
+ }
+ }
+ if (operations.hasNext()) {
+%><br><i>Available operations</i><%
+} else {
+%><i> There are no Operations specified</i><%
+ }
+%><ul><%
+ operations = axisService.getOperations();
+ while (operations.hasNext()) {
+ AxisOperation axisOperation = (AxisOperation) operations.next();
+%><li><%=axisOperation.getName().getLocalPart()%></li>
+ <%-- <br>Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%>
+ <%
+ engagedModules = axisOperation.getEngagedModules();
+ if (engagedModules.size() > 0) {
+ %>
+ <br><i>Engaged Modules for the Operation</i><ul>
+ <%
+ for (Iterator iterator2 = engagedModules.iterator(); iterator2.hasNext();) {
+ AxisModule moduleDecription = (AxisModule) iterator2.next();
+ moduleName = moduleDecription.getName();
+ %><li><%=moduleName%> :: <a href="axis2-admin/disengageModule?type=operation&serviceName=<%=serviceName%>&operation=<%=axisOperation.getName().getLocalPart()%>&module=<%=moduleName%>">Disengage</a></li><br><%
+ }
+%></ul><%
+ }
+
+ }
+%></ul>
+<%
+ status = true;
+ }
+ }
+ if (errornessservice != null) {
+ if (errornessservice.size() > 0) {
+ request.getSession().setAttribute(Constants.IS_FAULTY, Constants.IS_FAULTY);
+%>
+<h3><font color="red">Faulty Services</font></h3>
+<%
+ Enumeration faultyservices = errornessservice.keys();
+ while (faultyservices.hasMoreElements()) {
+ String faultyserviceName = (String) faultyservices.nextElement();
+%><h3><font color="blue"><a href="services/ListFaultyServices?serviceName=<%=faultyserviceName%>">
+ <%=faultyserviceName%></a></font></h3>
+<%
+ }
+ }
+ status = true;
+ }
+ if (!status) {
+%> No services listed! Try hitting refresh. <%
+ }
+%>
+<jsp:include page="include/adminfooter.inc" />
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listServices.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listServices.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listServices.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listServices.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,131 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ 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.Collection" %>
+<%@ page import="java.util.Enumeration" %>
+<%@ page import="java.util.HashMap" %>
+<%@ page import="java.util.Hashtable" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<html>
+<jsp:include page="include/httpbase.jsp"/>
+<head><title>List Services</title>
+ <link href="axis2-web/css/axis-style.css" rel="stylesheet" type="text/css"/>
+</head>
+
+<body>
+<jsp:include page="include/header.inc" />
+<jsp:include page="include/link-footer.jsp" />
+<h1>Available services</h1>
+<% String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/";
+%>
+<%
+ HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP);
+ request.getSession().setAttribute(Constants.SERVICE_MAP, null);
+ Hashtable errornessservice = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
+ boolean status = false;
+ if (serviceMap != null && !serviceMap.isEmpty()) {
+ Iterator opItr;
+ //HashMap operations;
+ String serviceName;
+ Collection servicecol = serviceMap.values();
+ // Collection operationsList;
+ for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) {
+ AxisService axisService = (AxisService) iterator.next();
+ opItr = axisService.getOperations();
+ //operationsList = operations.values();
+ serviceName = axisService.getName();
+%><h2><font color="blue"><a href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></font></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.getServiceDescription();
+ if (serviceDescription == null || "".equals(serviceDescription)) {
+ serviceDescription = "No description available for this service";
+ }
+%>
+<h5>Service Description : <font color="black"><%=serviceDescription%></font></h5>
+<h5>Service EPR : <%=prefix + axisService.getName()%></h5>
+<h5>Service Status : <%=axisService.isActive() ? "Active" : "InActive"%></h5><br>
+<%
+ if (opItr.hasNext()) {
+%><i>Available Operations</i><%
+} else {
+%><i> There are no Operations specified</i><%
+ }
+ opItr = axisService.getOperations();
+%><ul><%
+ while (opItr.hasNext()) {
+ AxisOperation axisOperation = (AxisOperation) opItr.next();
+%><li><%=axisOperation.getName().getLocalPart()%></li>
+ <%-- <br>Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%>
+ <%
+ }
+ %></ul>
+<%
+ status = true;
+ }
+ }
+ if (errornessservice != null) {
+ if (errornessservice.size() > 0) {
+ request.getSession().setAttribute(Constants.IS_FAULTY, Constants.IS_FAULTY);
+%>
+<hr>
+
+<h3><font color="blue">Faulty Services</font></h3>
+<%
+ Enumeration faultyservices = errornessservice.keys();
+ while (faultyservices.hasMoreElements()) {
+ String faultyserviceName = (String) faultyservices.nextElement();
+%><h3><font color="blue"><a href="services/ListFaultyServices?serviceName=<%=faultyserviceName%>">
+ <%=faultyserviceName%></a></font></h3>
+<%
+ }
+ }
+ status = true;
+ }
+ if (!status) {
+%> No services listed! Try hitting refresh. <%
+ }
+%>
+<jsp:include page="include/footer.inc" />
+</body>
+</html>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listSingleService.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listSingleService.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listSingleService.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/listSingleService.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,103 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ 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" %>
+<jsp:include page="include/adminheader.jsp"/>
+<h1>List Single Service</h1>
+<%
+ String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/";
+%>
+<%
+ String isFault = (String) request.getSession().getAttribute(Constants.IS_FAULTY);
+ String servicName = request.getParameter("serviceName");
+ if (Constants.IS_FAULTY.equals(isFault)) {
+ Hashtable errornessservices = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
+%>
+<h3>This Axis service has deployment faults.</h3><%
+%><font color="red"><%=(String) errornessservices.get(servicName) %></font>
+<%
+
+} else {
+
+ AxisService axisService =
+ (AxisService) request.getSession().getAttribute(Constants.SINGLE_SERVICE);
+ if (axisService != null) {
+ Iterator opItr = axisService.getOperations();
+ //operationsList = operations.values();
+ String serviceName = axisService.getName();
+%><h2><font color="blue"><a href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></font></h2>
+<font color="blue">Service EPR : </font><font color="black"><%=prefix + axisService.getName()%></font><br>
+<%
+ 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.getServiceDescription();
+ if (serviceDescription == null || "".equals(serviceDescription)) {
+ serviceDescription = "No description available for this service";
+ }
+%>
+<h4>Service Description : <font color="black"><%=serviceDescription%></font></h4>
+
+<i><font color="blue">Service Status : <%=axisService.isActive() ? "Active" : "InActive"%></font></i><br>
+<%
+ if (opItr.hasNext()) {
+%><i>Available operations</i><%
+} else {
+%><i> There are no Operations specified</i><%
+ }
+ opItr = axisService.getOperations();
+%><ul><%
+ while (opItr.hasNext()) {
+ AxisOperation axisOperation = (AxisOperation) opItr.next();
+%><li><%=axisOperation.getName().getLocalPart()%></li>
+ <%-- <br>Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%>
+ <%
+ }
+ %></ul>
+<%
+} else {
+%>
+<h3><font color="red">No services found in this location</font></h3>
+<%
+ }
+
+ }
+%>
+<jsp:include page="include/adminfooter.inc"/>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/upload.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/upload.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/upload.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/upload.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,69 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+
+<jsp:include page="include/adminheader.jsp"/>
+<script type="text/javascript">
+<!--
+ function checkFileUpload(){
+ if (document.getElementById('serviceUpload').value == '') {
+ alert('Please select a file before clicking the upload button.');
+ return false;
+ } else {
+ document.Axis2upload.submit();
+ }
+ }
+//-->
+</script>
+<h1>Upload an Axis Service Archive File</h1>
+
+<p>You can upload a packaged Axis2 service from this page in two small steps.</p>
+<ul>
+ <li>Browse to the location and select the axis service archive file you wish to upload</li>
+ <li>Click "Upload" button</li>
+</ul>
+<p>Simple as that!</p>
+
+<% if ("success".equals(request.getAttribute("status"))) { %>
+<font color="green">File <%= request.getAttribute("filename") %> successfully uploaded </font><br/><br/>
+<%
+} else if ("failure".equals(request.getAttribute("status"))) {
+%>
+<font color="red">The following error occurred <br/> <%= request.getAttribute("cause") %></font><br/>
+<% } %>
+
+<form method="post" name="Axis2upload" id="Axis2upload" action="axis2-admin/upload"
+ enctype="multipart/form-data">
+ <table>
+ <tr>
+ <td>Service archive : </td>
+ <td><input id="serviceUpload" type="file" name="filename" size="50"/></td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td><input name="upload" type="button" onclick="javascript:checkFileUpload();" value=" Upload "/></td>
+ </tr>
+ </table>
+</form>
+<blockquote>
+<p>Hot deployment of new service archives is <%=request.getAttribute("hotDeployment") %></p>
+<p>Hot update of existing service archives is <%=request.getAttribute("hotUpdate") %></p>
+</blockquote>
+<jsp:include page="include/adminfooter.inc"/>
Added: incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewServiceContext.jsp
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewServiceContext.jsp?rev=1145356&view=auto
==============================================================================
--- incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewServiceContext.jsp (added)
+++ incubator/airavata/trunk/ws-messaging/distribution/axis2_releases/axis2-1.6.0/webapp/axis2-web/viewServiceContext.jsp Mon Jul 11 21:10:36 2011
@@ -0,0 +1,50 @@
+<%--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you 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.
+ --%>
+
+<%@ page import="org.apache.axis2.context.ServiceContext" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<jsp:include page="include/adminheader.jsp"/>
+<h1>Running Context Hierarchy</h1>
+<%
+ ServiceContext serviceContext = (ServiceContext) request.getSession().getAttribute("ServiceContext");
+ String type = (String) request.getSession().getAttribute("TYPE");
+ if (serviceContext != null) {
+ if (type != null) {
+ if ("VIEW".equals(type)) {
+ Iterator propertyNames = serviceContext.getPropertyNames();
+%>
+<h4>Persistance Properties</h4><ul>
+ <%
+ while (propertyNames.hasNext()) {
+ String key = (String) propertyNames.next();
+ Object property = serviceContext.getProperty(key);
+ %>
+ <li><%=key%> : <%=property.toString()%></li>
+ <%
+ }
+ %></ul>
+<%
+ }
+} else {
+%> <h4>No Service Context Found</h4><%
+ }
+ }
+%>
+<jsp:include page="include/adminfooter.inc"/>
\ No newline at end of file