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 sa...@apache.org on 2007/02/16 12:24:56 UTC

svn commit: r508370 [3/3] - in /webservices/axis2/trunk/java: etc/ modules/addressing/ modules/kernel/src/org/apache/axis2/dataRetrieval/ modules/kernel/src/org/apache/axis2/dataRetrieval/client/ modules/kernel/src/org/apache/axis2/deployment/ modules/...

Added: webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example2/Version.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example2/Version.java?view=auto&rev=508370
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example2/Version.java (added)
+++ webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example2/Version.java Fri Feb 16 03:24:46 2007
@@ -0,0 +1,24 @@
+/*
+ * 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 userguide.mex.services.example2;
+
+public class Version {
+    public String getVersion() throws Exception {
+        return "Hello I am Axis2 version service ," +
+                " My version is " + org.apache.axis2.Version.getVersionText();
+    }
+}

Added: webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example3/META-INF/services.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example3/META-INF/services.xml?view=auto&rev=508370
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example3/META-INF/services.xml (added)
+++ webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example3/META-INF/services.xml Fri Feb 16 03:24:46 2007
@@ -0,0 +1,30 @@
+<!--
+/*
+ * Copyright 2001-2007 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.
+ */
+ -->
+<service name="WSDLDataLocatorDemoService">
+    <description>
+      Sample web service to demostrate use of  defined WSDL dialect specfic Data Locator to handle ws-mex GetMetadata request.       
+       </description>
+    <parameter name="ServiceClass" locked="false">userguide.mex.services.example3.Version</parameter>
+    <operation name="getVersion">
+    <messageReceiver  class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
+    </operation>
+  <dataLocator>
+  <dialectLocator dialect="http://schemas.xmlsoap.org/wsdl/" class="userguide.mex.datalocators.WSDLDataLocator" /> 
+   </dataLocator>
+
+</service>
\ No newline at end of file

Added: webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example3/Version.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example3/Version.java?view=auto&rev=508370
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example3/Version.java (added)
+++ webservices/axis2/trunk/java/modules/samples/mex/src/userguide/mex/services/example3/Version.java Fri Feb 16 03:24:46 2007
@@ -0,0 +1,24 @@
+/*
+ * 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 userguide.mex.services.example3;
+
+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