axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r180323 - in /webservices/axis/trunk/java/modules/core: html/HappyAxis.jsp html/LeftFrame.jsp samples/deployment/echo/META-INF/service.xml samples/deployment/echo/org/apache/axis/echo/Echo.java src/org/apache/axis/engine/AxisConfigurationImpl.java
Date Mon, 06 Jun 2005 15:20:39 GMT
Author: deepal
Date: Mon Jun  6 08:20:39 2005
New Revision: 180323

URL: http://svn.apache.org/viewcvs?rev=180323&view=rev
Log:
happy axis modifications and , fixed a bug in engaging modules form class path

Modified:
    webservices/axis/trunk/java/modules/core/html/HappyAxis.jsp
    webservices/axis/trunk/java/modules/core/html/LeftFrame.jsp
    webservices/axis/trunk/java/modules/core/samples/deployment/echo/META-INF/service.xml
    webservices/axis/trunk/java/modules/core/samples/deployment/echo/org/apache/axis/echo/Echo.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AxisConfigurationImpl.java

Modified: webservices/axis/trunk/java/modules/core/html/HappyAxis.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/html/HappyAxis.jsp?rev=180323&r1=180322&r2=180323&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/html/HappyAxis.jsp (original)
+++ webservices/axis/trunk/java/modules/core/html/HappyAxis.jsp Mon Jun  6 08:20:39 2005
@@ -48,7 +48,7 @@
     int lastindex = IP.lastIndexOf('/');
     IP = IP.substring(0,lastindex);
     targetEPR = new EndpointReference(AddressingConstants.WSA_TO,
-                    IP + "/services/axisversion/echoOMElement");
+                    IP + "/services/axisversion/viewVersion");
 %>
 <%!
     /*
@@ -325,11 +325,11 @@
     }
 
     private String value;
-    private QName operationName = new QName("echoOMElement");
+    private QName operationName = new QName("viewVersion");
     private OMElement createEnvelope() {
         OMFactory fac = OMAbstractFactory.getOMFactory();
         OMNamespace omNs = fac.createOMNamespace("http://localhost/my", "my");
-        OMElement method = fac.createOMElement("echoOMElement", omNs);
+        OMElement method = fac.createOMElement("viewVersion", omNs);
         OMElement value = fac.createOMElement("myValue", omNs);
         value.addChild(fac.createText(value, "Hello I am Axis2 versionning service , My version
is Axis2 M2 !! "));
         method.addChild(value);

Modified: webservices/axis/trunk/java/modules/core/html/LeftFrame.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/html/LeftFrame.jsp?rev=180323&r1=180322&r2=180323&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/html/LeftFrame.jsp (original)
+++ webservices/axis/trunk/java/modules/core/html/LeftFrame.jsp Mon Jun  6 08:20:39 2005
@@ -92,7 +92,7 @@
        &nbsp;&nbsp;&nbsp;&nbsp;
        </td>
        <td>
-         <a href="selectService" target="mainFrame">View Service Phases and Hnadlers</a>
+         <a href="selectService" target="mainFrame">View Service Phases and Handlers</a>
        </td>
     </tr>
     <tr>

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=180323&r1=180322&r2=180323&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
Mon Jun  6 08:20:39 2005
@@ -4,6 +4,5 @@
             correctly
         </description>
         <parameter name="ServiceClass" locked="xsd:false">org.apache.axis.echo.Echo</parameter>
-        <operation name="echoOMElement"/>
-        <operation name="echoString"/>
+        <operation name="viewVersion"/>
 </service>

Modified: webservices/axis/trunk/java/modules/core/samples/deployment/echo/org/apache/axis/echo/Echo.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/samples/deployment/echo/org/apache/axis/echo/Echo.java?rev=180323&r1=180322&r2=180323&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/samples/deployment/echo/org/apache/axis/echo/Echo.java
(original)
+++ webservices/axis/trunk/java/modules/core/samples/deployment/echo/org/apache/axis/echo/Echo.java
Mon Jun  6 08:20:39 2005
@@ -29,13 +29,10 @@
 
     public Echo() {
     }
-    public OMElement echoOMElement(OMElement omEle) {
+    public OMElement viewVersion(OMElement omEle) {
         omEle.getNextSibling();
         omEle.detach();
         return omEle;
-    }
-    public String echoString(String in) {
-        return in;
     }
 
 }

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AxisConfigurationImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AxisConfigurationImpl.java?rev=180323&r1=180322&r2=180323&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AxisConfigurationImpl.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/engine/AxisConfigurationImpl.java
Mon Jun  6 08:20:39 2005
@@ -311,9 +311,11 @@
 
     public void engageModule(QName moduleref) throws AxisFault {
         ModuleDescription module = getModule(moduleref);
+        boolean isNewmodule = false;
         if(module == null ) {
             File file =  new  ArchiveReader().creatModuleArchivefromResource(moduleref.getLocalPart());
             module =  new DeploymentEngine().buildModule(file);
+            isNewmodule = true;
         }
         if (module != null) {
             for (Iterator iterator = engagedModules.iterator(); iterator.hasNext();) {
@@ -329,6 +331,9 @@
                      + moduleref.getLocalPart() + " has not bean deployed yet !");
         }
         engagedModules.add(moduleref);
+        if(isNewmodule){
+            addMdoule(module);
+        }  
     }
     
     public boolean isEngaged(QName moduleName){



Mime
View raw message