axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jal...@apache.org
Subject svn commit: r179738 - in /webservices/axis/trunk/java/modules/samples/src/userguide/example1: ./ META-INF/ META-INF/service.xml MyService.java
Date Fri, 03 Jun 2005 07:49:09 GMT
Author: jaliya
Date: Fri Jun  3 00:49:01 2005
New Revision: 179738

URL: http://svn.apache.org/viewcvs?rev=179738&view=rev
Log:
Added the example1 for samples, This contains the MyService WebService and the service.xml

Added:
    webservices/axis/trunk/java/modules/samples/src/userguide/example1/
    webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/
    webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml
    webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java

Added: webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml?rev=179738&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml
(added)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml
Fri Jun  3 00:49:01 2005
@@ -0,0 +1,12 @@
+<service name="MyService">
+    <description>
+        This is a sample Web Service with two operations,echo and ping.
+    </description>
+    <parameter name="ServiceClass" locked="xsd:false">userguide.example1.MyService</parameter>
+    <operation name="echo">
+        <messageReceiver class="org.apache.axis.receivers.RawXMLINOutMessageRecevier"/>
+    </operation>
+     <operation name="ping">
+        <messageReceiver class="org.apache.axis.receivers..RawXMLINOutMessageRecevier"/>
+    </operation>
+ </service>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java?rev=179738&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java (added)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java Fri
Jun  3 00:49:01 2005
@@ -0,0 +1,21 @@
+package userguide.example1;
+
+import org.apache.axis.om.OMElement;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Jaliya
+ * Date: Jun 2, 2005
+ * Time: 2:17:58 PM
+ */
+public class MyService {
+     public OMElement echo(OMElement element){
+        element.getNextSibling();
+        element.detach();
+        return element;
+    }
+
+    public void ping(OMElement element){
+       //Do the ping
+    }
+}



Mime
View raw message