axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r469803 - in /webservices/axis2/branches/java/1_1/modules/samples/version/src: ./ sample/ sample/axisversion/ sample/axisversion/META-INF/ sample/axisversion/META-INF/services.xml sample/axisversion/Version.java
Date Wed, 01 Nov 2006 07:35:20 GMT
Author: sanka
Date: Tue Oct 31 23:35:19 2006
New Revision: 469803

URL: http://svn.apache.org/viewvc?view=rev&rev=469803
Log:
Reverting the previous commit

Added:
    webservices/axis2/branches/java/1_1/modules/samples/version/src/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/META-INF/
    webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/META-INF/services.xml
    webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/Version.java

Added: webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/META-INF/services.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/META-INF/services.xml?view=auto&rev=469803
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/META-INF/services.xml
(added)
+++ webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/META-INF/services.xml
Tue Oct 31 23:35:19 2006
@@ -0,0 +1,9 @@
+<service name="Version">
+    <description>
+        This service is to get the running Axis version
+    </description>
+    <parameter name="ServiceClass" locked="false">sample.axisversion.Version</parameter>
+    <operation name="getVersion">
+    <messageReceiver  class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
+    </operation>
+</service>
\ No newline at end of file

Added: webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/Version.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/Version.java?view=auto&rev=469803
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/Version.java
(added)
+++ webservices/axis2/branches/java/1_1/modules/samples/version/src/sample/axisversion/Version.java
Tue Oct 31 23:35:19 2006
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+package sample.axisversion;
+
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.context.OperationContext;
+
+public class Version {
+    public String getVersion() throws Exception {
+        return "Hello I am Axis2 version service ," +
+                " My version is " + org.apache.axis2.Version.getVersionText();
+    }
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message