You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by de...@apache.org on 2005/06/06 06:04:42 UTC

svn commit: r180206 - in /webservices/axis/trunk/java/modules/core: html/listService.jsp html/listServices.jsp html/listSingleService.jsp samples/deployment/echo/META-INF/service.xml

Author: deepal
Date: Sun Jun  5 21:04:40 2005
New Revision: 180206

URL: http://svn.apache.org/viewcvs?rev=180206&view=rev
Log:
modified to display targetEPR

Modified:
    webservices/axis/trunk/java/modules/core/html/listService.jsp
    webservices/axis/trunk/java/modules/core/html/listServices.jsp
    webservices/axis/trunk/java/modules/core/html/listSingleService.jsp
    webservices/axis/trunk/java/modules/core/samples/deployment/echo/META-INF/service.xml

Modified: webservices/axis/trunk/java/modules/core/html/listService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/html/listService.jsp?rev=180206&r1=180205&r2=180206&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/html/listService.jsp (original)
+++ webservices/axis/trunk/java/modules/core/html/listService.jsp Sun Jun  5 21:04:40 2005
@@ -2,7 +2,9 @@
                  java.util.*,
                  org.apache.axis.description.ServiceDescription,
                  org.apache.axis.description.OperationDescription,
-                 org.apache.axis.description.ModuleDescription"%>
+                 org.apache.axis.description.ModuleDescription,
+                 org.apache.axis.addressing.EndpointReference,
+                 org.apache.axis.addressing.AddressingConstants"%>
   <%
            /*
 * Copyright 2004,2005 The Apache Software Foundation.
@@ -35,6 +37,11 @@
   </head>
   <body>
   <h1>Available services</h1>
+    <%String IP=request.getRequestURL().toString();
+        int lastindex = IP.lastIndexOf('/');
+        IP = IP.substring(0,lastindex);
+        String prifix = IP + "/services/";
+    %>
      <%
          HashMap serviceMap = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
          Hashtable errornessservice =(Hashtable)request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
@@ -74,7 +81,10 @@
                 %><ul><%
                  for (Iterator iterator1 = operationsList.iterator(); iterator1.hasNext();) {
                      OperationDescription axisOperation = (OperationDescription) iterator1.next();
-                %><li><%=axisOperation.getName().getLocalPart()%></li><%
+                %><li><%=axisOperation.getName().getLocalPart()%></li>
+                 <br>Opeartion EPR : <%=prifix + axisService.getName().getLocalPart() + "/"
+                         + axisOperation.getName().getLocalPart()%>
+                 <%
                      engagdeModules = null;
                      engagdeModules = axisOperation.getModules();
                      moduleName = "";

Modified: webservices/axis/trunk/java/modules/core/html/listServices.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/html/listServices.jsp?rev=180206&r1=180205&r2=180206&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/html/listServices.jsp (original)
+++ webservices/axis/trunk/java/modules/core/html/listServices.jsp Sun Jun  5 21:04:40 2005
@@ -28,6 +28,11 @@
   <jsp:include page="include/header.inc"></jsp:include>
   <h1>Available services</h1>
   <br/><a href="<%=Constants.LISTSERVICES%>"> Refresh  </a><br/>
+      <%String IP=request.getRequestURL().toString();
+        int lastindex = IP.lastIndexOf('/');
+        IP = IP.substring(0,lastindex);
+        String prifix = IP + "/services/";
+    %>
      <%
         HashMap serviceMap = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP);
         Hashtable errornessservice =(Hashtable)request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP);
@@ -53,7 +58,10 @@
            %><ul><%
             for (Iterator iterator1 = operationsList.iterator(); iterator1.hasNext();) {
                 OperationDescription axisOperation = (OperationDescription) iterator1.next();
-                %><li><%=axisOperation.getName().getLocalPart()%></li><%
+                %><li><%=axisOperation.getName().getLocalPart()%></li>
+                <br>Opeartion EPR : <%=prifix + axisService.getName().getLocalPart() + "/"
+                         + axisOperation.getName().getLocalPart()%>
+                <%
             }
            %></ul>
            <%

Modified: webservices/axis/trunk/java/modules/core/html/listSingleService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/html/listSingleService.jsp?rev=180206&r1=180205&r2=180206&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/html/listSingleService.jsp (original)
+++ webservices/axis/trunk/java/modules/core/html/listSingleService.jsp Sun Jun  5 21:04:40 2005
@@ -19,7 +19,7 @@
         <link href="css/axis-style.css" rel="stylesheet" type="text/css">
         </head>
   <body>
-        <jsp:include page="include/header.inc"></jsp:include>
+<%--        <jsp:include page="include/header.inc"></jsp:include>--%>
 
         <%
             ServiceDescription service = (ServiceDescription)request.getSession().getAttribute(Constants.SINGLE_SERVICE);
@@ -72,7 +72,7 @@
        %>
 
 
-        <jsp:include page="include/link-footer.inc"></jsp:include>
-        <jsp:include page="include/footer.inc"></jsp:include>
+<%--        <jsp:include page="include/link-footer.inc"></jsp:include>--%>
+<%--        <jsp:include page="include/footer.inc"></jsp:include>--%>
 </body>
 </html>

Modified: webservices/axis/trunk/java/modules/core/samples/deployment/echo/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/samples/deployment/echo/META-INF/service.xml?rev=180206&r1=180205&r2=180206&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/samples/deployment/echo/META-INF/service.xml (original)
+++ webservices/axis/trunk/java/modules/core/samples/deployment/echo/META-INF/service.xml Sun Jun  5 21:04:40 2005
@@ -1,9 +1,9 @@
 <service name="">
-    <description>
-       This service echo the given input , and this was developed to text the axis system working
-        correctly
-    </description>
-    <parameter name="ServiceClass" locked="xsd:false">org.apache.axis.echo.Echo</parameter>
-    <operation name="echoOMElement"/>
-    <operation name="echoString"/>
+        <description>
+           This service echo the given input , and this was developed to text the axis system working
+            correctly
+        </description>
+        <parameter name="ServiceClass" locked="xsd:false">org.apache.axis.echo.Echo</parameter>
+        <operation name="echoOMElement"/>
+        <operation name="echoString"/>
 </service>