Author: chamikara
Date: Fri Aug 26 03:06:09 2005
New Revision: 240199
URL: http://svn.apache.org/viewcvs?rev=240199&view=rev
Log:
maven goals were developed to create sandesha module and sample interop
service.
Several classes were added.
Added:
webservices/sandesha/trunk/config/
webservices/sandesha/trunk/config/module.xml
webservices/sandesha/trunk/samples/interop/
webservices/sandesha/trunk/samples/interop/service.xml
webservices/sandesha/trunk/samples/interop/src/
webservices/sandesha/trunk/samples/interop/src/org/
webservices/sandesha/trunk/samples/interop/src/org/apache/
webservices/sandesha/trunk/samples/interop/src/org/apache/sandesha2/
webservices/sandesha/trunk/samples/interop/src/org/apache/sandesha2/samples/
webservices/sandesha/trunk/samples/interop/src/org/apache/sandesha2/samples/RMInteropService.java
webservices/sandesha/trunk/src/org/apache/sandesha2/msgreceivers/
webservices/sandesha/trunk/src/org/apache/sandesha2/msgreceivers/RMMessageReceiver.java
Modified:
webservices/sandesha/trunk/maven.xml
Added: webservices/sandesha/trunk/config/module.xml
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/config/module.xml?rev=240199&view=auto
==============================================================================
--- webservices/sandesha/trunk/config/module.xml (added)
+++ webservices/sandesha/trunk/config/module.xml Fri Aug 26 03:06:09 2005
@@ -0,0 +1,20 @@
+<module name="sandesha" class="org.apache.sandesha2.SandeshaModule">
+
+ <inflow>
+ <handler name="ServerInHandler"
class="org.apache.sandesha2.handlers.ServerInHandler">
+ <order phase="RMPhase"/>
+ </handler>
+ </inflow>
+
+ <outflow>
+ <handler name="ServerOutHandler"
class="org.apache.sandesha2.handlers.ServerOutHandler">
+ <order phase="RMPhase"/>
+ </handler>
+ </outflow>
+
+
+ <operation name="CreateSequence"
mep="http://www.w3.org/2004/08/wsdl/in-out">
+ <messageReceiver
class="org.apache.sandesha2.msgreceivers.RMMessageReceiver"/>
+ </operation>
+
+</module>
\ No newline at end of file
Modified: webservices/sandesha/trunk/maven.xml
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/maven.xml?rev=240199&r1=240198&r2=240199&view=diff
==============================================================================
--- webservices/sandesha/trunk/maven.xml (original)
+++ webservices/sandesha/trunk/maven.xml Fri Aug 26 03:06:09 2005
@@ -1,198 +1,201 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project default="jar" xmlns:j="jelly:core" xmlns:maven="jelly:maven"
xmlns:deploy="deploy" xmlns:ant="jelly:ant">
- <j:set var="dist.name" value="${pom.artifactId}-${pom.currentVersion}"/>
- <j:set var="dist.dir" value="target/dist"/>
-
- <goal name="module.jar" prereqs="java:compile">
- <ant:property name="module.jar.name" value="sandesha.jar"/>
- <ant:copy file="src/META-INF/module.xml"
todir="${maven.build.dir}/classes/META-INF"/>
- <ant:mkdir dir="${basedir}/target/dist"/>
- <ant:jar jarfile="${basedir}/target/dist/${module.jar.name}"
basedir="${maven.build.dir}/classes"/>
- </goal>
-
- <goal name="sample:compile">
- <ant:property name="dir.samples" value="samples"/>
- <ant:mkdir dir="${basedir}/target/classes/samples"/>
- <ant:javac srcdir="${dir.samples}"
destdir="${basedir}/target/classes/samples" debug="on">
- <ant:classpath refid="maven.dependency.classpath"/>
- </ant:javac>
- </goal>
-
- <goal name="service.jar" prereqs="sample:compile">
- <ant:property name="dir.samples" value="samples"/>
- <ant:property name="service.jar.name" value="echo.jar"/>
- <ant:copy file="${dir.samples}/META-INF/service.xml"
todir="${basedir}/target/classes/samples/META-INF"/>
- <ant:mkdir dir="${basedir}/target/dist"/>
- <ant:jar jarfile="${basedir}/target/dist/${service.jar.name}"
basedir="${maven.build.dir}/classes/samples"/>
- </goal>
-
- <goal name="jar.copy" prereqs="module.jar,service.jar">
- <property environment="env1"/>
- <property name="webapps" value="${env1.CATALINA_HOME}/webapps"/>
- <ant:copy file="${basedir}/target/dist/sandesha.jar"
todir="${webapps}/axis2/WEB-INF/modules"/>
- <ant:copy file="${basedir}/target/dist/echo.jar"
todir="${webapps}/axis2/WEB-INF/services"/>
- </goal>
-
- <!-- <preGoal name="java:compile">-->
- <!-- <copy file="config/sandesha.properties"
todir="${maven.build.dir}/classes"/>-->
- <!-- <copy file="config/log4j.properties"
todir="${maven.build.dir}/classes"/>-->
- <!-- <copy file="config/commons-logging.properties"
todir="${maven.build.dir}/classes"/>-->
- <!-- <copy file="config/WSRMPolicy.xml"
todir="${maven.build.dir}/classes"/>-->
- <!-- </preGoal>-->
-
- <!-- <postGoal name="java:compile">-->
- <!-- <ant:property name="dir.samples" value="samples"/>-->
- <!-- <ant:javac srcdir="${dir.samples}"
destdir="${basedir}/target/classes" debug="on">-->
- <!-- <ant:classpath refid="maven.dependency.classpath"/>-->
- <!-- </ant:javac>-->
- <!-- </postGoal>-->
-
- <!-- <postGoal name="jar">-->
- <!-- <ant:mkdir dir="${basedir}/target/lib"/>-->
- <!-- <deploy:copy-deps todir="${basedir}/target/lib"/>-->
- <!-- <copy file="lib/xerces.jar" todir="${basedir}/target/lib"/>-->
- <!-- </postGoal>-->
-
- <!-- <preGoal name="interop.jar">-->
- <!-- <copy file="config/sandesha.properties"
todir="${maven.build.dir}/classes"/>-->
- <!-- <copy file="config/client-config.wsdd"
todir="${maven.build.dir}/classes"/>-->
- <!-- <copy file="config/server-config.wsdd"
todir="${maven.build.dir}/classes"/>-->
- <!-- <copy file="config/log4j.properties"
todir="${maven.build.dir}/classes"/>-->
- <!-- <copy file="config/commons-logging.properties"
todir="${maven.build.dir}/classes"/>-->
- <!-- <copy file="config/WSRMPolicy.xml"
todir="${maven.build.dir}/classes"/>-->
- <!-- <ant:javac srcdir="interop"
destdir="${maven.build.dir}/classes" includes="**/*.java"
debug="${maven.compile.debug}" optimize="${optimize}"
deprecation="${maven.compile.deprecation}">-->
- <!-- <classpath>-->
- <!-- <pathelement location="${maven.build.dest}"/>-->
- <!-- <path refid="maven.dependency.classpath"/>-->
- <!-- </classpath>-->
- <!-- </ant:javac>-->
- <!-- </preGoal>-->
-
- <!-- to transforme htmls to xdocs -->
- <preGoal name="xdoc:jelly-transform">
- <attainGoal name="html2xdoc"/>
- </preGoal>
-
- <!-- <goal name="interop.jar" prereqs="java:compile">-->
- <!-- <ant:property name="sandesha.jar.name"
value="Sandesha-interop.jar"/>-->
- <!-- <ant:mkdir dir="${basedir}/dist/jar"/>-->
- <!-- <ant:jar basedir="${maven.build.dir}/classes"
destfile="${sandesha.jar.name}"/>-->
- <!-- </goal>-->
-
- <!-- ================================================================ -->
- <!--- Create the Java Docs -->
- <!-- ================================================================ -->
-
- <!-- <goal name="javadoc-gen">-->
- <!-- <ant:javadoc packagenames="org.apache.sandesha.*"
defaultexcludes="yes" destdir="target/apidocs" author="true" version="true"
use="true" windowtitle="Sandesha API">-->
- <!-- <ant:sourcepath>-->
- <!-- <ant:pathelement location="src"/>-->
- <!-- </ant:sourcepath>-->
- <!-- </ant:javadoc>-->
- <!-- </goal>-->
-
- <goal name="clean">
- <delete dir="target"/>
- <ant:delete>
- <ant:fileset dir=".">
- <ant:include name="**/axis.log"/>
- <ant:include name="**/junit*.properties"/>
- <ant:include name="**/temp.properties"/>
- </ant:fileset>
- </ant:delete>
- </goal>
-
- <!-- ================================================================ -->
- <!--- Create the Binary Distribution -->
- <!-- ================================================================ -->
-
- <!-- <goal name="dist-bin"
prereqs="clean,java:compile,javadoc-gen,jar">-->
- <!-- <property name="bin.dist.dir"
value="target/dist-bin/Sandesha-${pom.currentVersion}-bin"/>-->
- <!-- <ant:mkdir dir="${bin.dist.dir}"/>-->
- <!-- <ant:mkdir dir="${bin.dist.dir}/docs"/>-->
- <!-- <ant:mkdir dir="${bin.dist.dir}/lib"/>-->
- <!-- <ant:mkdir dir="${bin.dist.dir}/samples"/>-->
- <!-- <ant:mkdir dir="${bin.dist.dir}/docs/api"/>-->
- <!---->
- <!-- <ant:copy todir="${bin.dist.dir}/docs/api">-->
- <!-- <ant:fileset dir="target/apidocs/">-->
- <!-- <ant:include name="**"/>-->
- <!-- </ant:fileset>-->
- <!-- </ant:copy>-->
- <!---->
- <!-- <ant:copy todir="${bin.dist.dir}/docs">-->
- <!-- <ant:fileset dir="xdocs">-->
- <!-- <ant:include name="**"/>-->
- <!-- </ant:fileset>-->
- <!-- </ant:copy>-->
- <!---->
- <!-- <ant:copy todir="${bin.dist.dir}/lib" flatten="true">-->
- <!-- <ant:fileset dir="target/lib">-->
- <!-- <ant:include name="*.jar"/>-->
- <!-- </ant:fileset>-->
- <!-- </ant:copy>-->
- <!---->
- <!-- <ant:copy file="target/Sandesha-${pom.currentVersion}.jar"
todir="${bin.dist.dir}"/>-->
- <!---->
- <!-- <ant:copy todir="${bin.dist.dir}/samples">-->
- <!-- <ant:fileset dir="samples">-->
- <!-- <ant:include name="*.xml"/>-->
- <!-- <ant:include name="*.wsdd"/>-->
- <!-- <ant:include name="*.properties"/>-->
- <!-- </ant:fileset>-->
- <!-- </ant:copy>-->
- <!---->
- <!-- <ant:copy todir="${bin.dist.dir}/samples">-->
- <!-- <ant:fileset dir="samples"/>-->
- <!-- </ant:copy>-->
- <!---->
- <!-- <ant:copy todir="${bin.dist.dir}/">-->
- <!-- <ant:fileset dir=".">-->
- <!-- <ant:include name="*.html"/>-->
- <!-- <ant:include name="*.txt"/>-->
- <!-- </ant:fileset>-->
- <!-- </ant:copy>-->
- <!---->
- <!-- <mkdir dir="target/dist"/>-->
- <!---->
- <!-- <ant:zip file="${dist.dir}/${dist.name}-bin.zip"
basedir="target/dist-bin"/>-->
- <!-- <ant:tar tarfile="target/${dist.name}-bin.tar"
basedir="target/dist-bin"/>-->
- <!-- <gzip src="target/${dist.name}-bin.tar"
zipfile="${dist.dir}/${dist.name}-bin.tar.gz"/>-->
- <!-- <ant:delete dir="target/dist-bin"/>-->
- <!-- <ant:delete file="target/${dist.name}-bin.tar"/>-->
- <!-- </goal>-->
-
-
- <!-- ================================================================ -->
- <!--- Create the Source Distribution -->
- <!-- ================================================================ -->
-
- <!-- <goal name="dist-src">-->
- <!-- <mkdir dir="target/dist"/>-->
- <!-- <ant:zip file="${dist.dir}/${dist.name}-src.zip">-->
- <!-- <ant:fileset dir=".">-->
- <!-- <ant:include name="**"/>-->
- <!-- <ant:exclude name="**/target/**"/>-->
- <!-- <ant:exclude name="**/.cvs/**"/>-->
- <!-- <ant:exclude name="**/bin/**"/>-->
- <!-- <ant:exclude name=".*"/>-->
- <!-- <ant:exclude name="**/*.license"/>-->
- <!-- </ant:fileset>-->
- <!-- </ant:zip>-->
- <!-- <ant:tar tarfile="target/${dist.name}-src.tar"
longfile="gnu">-->
- <!-- <ant:tarfileset dir=".">-->
- <!-- <ant:include name="**"/>-->
- <!-- <ant:exclude name="**/target/**"/>-->
- <!-- <ant:exclude name="**/.cvs/**"/>-->
- <!-- <ant:exclude name="**/bin/**"/>-->
- <!-- <ant:exclude name=".*"/>-->
- <!-- <ant:exclude name="**/*.license"/>-->
- <!-- </ant:tarfileset>-->
- <!-- </ant:tar>-->
- <!-- <gzip src="target/${dist.name}-src.tar"
zipfile="${dist.dir}/${dist.name}-src.tar.gz"/>-->
- <!-- <ant:delete file="target/${dist.name}-src.tar"/>-->
- <!-- </goal>-->
-
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" xmlns:j="jelly:core" xmlns:maven="jelly:maven"
xmlns:deploy="deploy" xmlns:ant="jelly:ant">
+ <j:set var="dist.name" value="${pom.artifactId}-${pom.currentVersion}"/>
+ <j:set var="dist.dir" value="target/dist"/>
+
+ <goal name="module.jar" prereqs="java:compile">
+ <ant:property name="module.jar.name" value="sandesha.jar"/>
+ <ant:property name="metainf.path"
value="${maven.build.dir}/classes/META-INF" />
+ <ant:mkdir dir="${maven.build.dir}/dist" />
+ <ant:mkdir dir="${metainf.path}" />
+ <ant:copy file="${basedir}/config/module.xml" todir="${metainf.path}"
/>
+ <ant:jar jarfile="${maven.build.dir}/dist/${module.jar.name}"
basedir="${maven.build.dir}/classes" />
+ </goal>
+
+ <goal name="sample:compile">
+ <ant:property name="dir.samples" value="samples"/>
+ <ant:mkdir dir="${basedir}/target/samples/classes" />
+ <ant:javac srcdir="${dir.samples}"
destdir="${basedir}/target/samples/classes" debug="on">
+ <ant:classpath refid="maven.dependency.classpath" />
+ </ant:javac>
+ </goal>
+
+ <goal name="interop.jar" prereqs="sample:compile">
+ <ant:property name="dir.samples" value="samples"/>
+ <ant:property name="service.jar.name" value="InteropService.jar"/>
+ <ant:mkdir dir="${basedir}/target/dist" />
+ <ant:mkdir dir="${basedir}/target/samples/classes/META-INF" />
+ <ant:copy file="${dir.samples}/interop/service.xml"
todir="${basedir}/target/samples/classes/META-INF" />
+ <ant:jar jarfile="${basedir}/target/dist/${service.jar.name}"
basedir="${maven.build.dir}/samples/classes" />
+ </goal>
+
+ <goal name="jar.copy" prereqs="module.jar,ping.jar">
+ <property environment="env1"/>
+ <property name="webapps" value="${env1.CATALINA_HOME}/webapps"/>
+ <ant:copy file="${basedir}/target/dist/sandesha.jar"
todir="${webapps}/axis2/WEB-INF/modules"/>
+ <ant:copy file="${basedir}/target/dist/echo.jar"
todir="${webapps}/axis2/WEB-INF/services"/>
+ </goal>
+
+ <!-- <preGoal name="java:compile">-->
+ <!-- <copy file="config/sandesha.properties"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <copy file="config/log4j.properties"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <copy file="config/commons-logging.properties"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <copy file="config/WSRMPolicy.xml"
todir="${maven.build.dir}/classes"/>-->
+ <!-- </preGoal>-->
+
+ <!-- <postGoal name="java:compile">-->
+ <!-- <ant:property name="dir.samples" value="samples"/>-->
+ <!-- <ant:javac srcdir="${dir.samples}"
destdir="${basedir}/target/classes" debug="on">-->
+ <!-- <ant:classpath refid="maven.dependency.classpath"/>-->
+ <!-- </ant:javac>-->
+ <!-- </postGoal>-->
+
+ <!-- <postGoal name="jar">-->
+ <!-- <ant:mkdir dir="${basedir}/target/lib"/>-->
+ <!-- <deploy:copy-deps todir="${basedir}/target/lib"/>-->
+ <!-- <copy file="lib/xerces.jar" todir="${basedir}/target/lib"/>-->
+ <!-- </postGoal>-->
+
+ <!-- <preGoal name="interop.jar">-->
+ <!-- <copy file="config/sandesha.properties"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <copy file="config/client-config.wsdd"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <copy file="config/server-config.wsdd"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <copy file="config/log4j.properties"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <copy file="config/commons-logging.properties"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <copy file="config/WSRMPolicy.xml"
todir="${maven.build.dir}/classes"/>-->
+ <!-- <ant:javac srcdir="interop"
destdir="${maven.build.dir}/classes" includes="**/*.java"
debug="${maven.compile.debug}" optimize="${optimize}"
deprecation="${maven.compile.deprecation}">-->
+ <!-- <classpath>-->
+ <!-- <pathelement location="${maven.build.dest}"/>-->
+ <!-- <path refid="maven.dependency.classpath"/>-->
+ <!-- </classpath>-->
+ <!-- </ant:javac>-->
+ <!-- </preGoal>-->
+
+ <!-- to transforme htmls to xdocs -->
+ <preGoal name="xdoc:jelly-transform">
+ <attainGoal name="html2xdoc"/>
+ </preGoal>
+
+ <!-- <goal name="interop.jar" prereqs="java:compile">-->
+ <!-- <ant:property name="sandesha.jar.name"
value="Sandesha-interop.jar"/>-->
+ <!-- <ant:mkdir dir="${basedir}/dist/jar"/>-->
+ <!-- <ant:jar basedir="${maven.build.dir}/classes"
destfile="${sandesha.jar.name}"/>-->
+ <!-- </goal>-->
+
+ <!-- ================================================================ -->
+ <!--- Create the Java Docs -->
+ <!-- ================================================================ -->
+
+ <!-- <goal name="javadoc-gen">-->
+ <!-- <ant:javadoc packagenames="org.apache.sandesha.*"
defaultexcludes="yes" destdir="target/apidocs" author="true" version="true"
use="true" windowtitle="Sandesha API">-->
+ <!-- <ant:sourcepath>-->
+ <!-- <ant:pathelement location="src"/>-->
+ <!-- </ant:sourcepath>-->
+ <!-- </ant:javadoc>-->
+ <!-- </goal>-->
+
+ <goal name="clean">
+ <delete dir="target"/>
+ <ant:delete>
+ <ant:fileset dir=".">
+ <ant:include name="**/axis.log"/>
+ <ant:include name="**/junit*.properties"/>
+ <ant:include name="**/temp.properties"/>
+ </ant:fileset>
+ </ant:delete>
+ </goal>
+
+ <!-- ================================================================ -->
+ <!--- Create the Binary Distribution -->
+ <!-- ================================================================ -->
+
+ <!-- <goal name="dist-bin"
prereqs="clean,java:compile,javadoc-gen,jar">-->
+ <!-- <property name="bin.dist.dir"
value="target/dist-bin/Sandesha-${pom.currentVersion}-bin"/>-->
+ <!-- <ant:mkdir dir="${bin.dist.dir}"/>-->
+ <!-- <ant:mkdir dir="${bin.dist.dir}/docs"/>-->
+ <!-- <ant:mkdir dir="${bin.dist.dir}/lib"/>-->
+ <!-- <ant:mkdir dir="${bin.dist.dir}/samples"/>-->
+ <!-- <ant:mkdir dir="${bin.dist.dir}/docs/api"/>-->
+ <!---->
+ <!-- <ant:copy todir="${bin.dist.dir}/docs/api">-->
+ <!-- <ant:fileset dir="target/apidocs/">-->
+ <!-- <ant:include name="**"/>-->
+ <!-- </ant:fileset>-->
+ <!-- </ant:copy>-->
+ <!---->
+ <!-- <ant:copy todir="${bin.dist.dir}/docs">-->
+ <!-- <ant:fileset dir="xdocs">-->
+ <!-- <ant:include name="**"/>-->
+ <!-- </ant:fileset>-->
+ <!-- </ant:copy>-->
+ <!---->
+ <!-- <ant:copy todir="${bin.dist.dir}/lib" flatten="true">-->
+ <!-- <ant:fileset dir="target/lib">-->
+ <!-- <ant:include name="*.jar"/>-->
+ <!-- </ant:fileset>-->
+ <!-- </ant:copy>-->
+ <!---->
+ <!-- <ant:copy file="target/Sandesha-${pom.currentVersion}.jar"
todir="${bin.dist.dir}"/>-->
+ <!---->
+ <!-- <ant:copy todir="${bin.dist.dir}/samples">-->
+ <!-- <ant:fileset dir="samples">-->
+ <!-- <ant:include name="*.xml"/>-->
+ <!-- <ant:include name="*.wsdd"/>-->
+ <!-- <ant:include name="*.properties"/>-->
+ <!-- </ant:fileset>-->
+ <!-- </ant:copy>-->
+ <!---->
+ <!-- <ant:copy todir="${bin.dist.dir}/samples">-->
+ <!-- <ant:fileset dir="samples"/>-->
+ <!-- </ant:copy>-->
+ <!---->
+ <!-- <ant:copy todir="${bin.dist.dir}/">-->
+ <!-- <ant:fileset dir=".">-->
+ <!-- <ant:include name="*.html"/>-->
+ <!-- <ant:include name="*.txt"/>-->
+ <!-- </ant:fileset>-->
+ <!-- </ant:copy>-->
+ <!---->
+ <!-- <mkdir dir="target/dist"/>-->
+ <!---->
+ <!-- <ant:zip file="${dist.dir}/${dist.name}-bin.zip"
basedir="target/dist-bin"/>-->
+ <!-- <ant:tar tarfile="target/${dist.name}-bin.tar"
basedir="target/dist-bin"/>-->
+ <!-- <gzip src="target/${dist.name}-bin.tar"
zipfile="${dist.dir}/${dist.name}-bin.tar.gz"/>-->
+ <!-- <ant:delete dir="target/dist-bin"/>-->
+ <!-- <ant:delete file="target/${dist.name}-bin.tar"/>-->
+ <!-- </goal>-->
+
+
+ <!-- ================================================================ -->
+ <!--- Create the Source Distribution -->
+ <!-- ================================================================ -->
+
+ <!-- <goal name="dist-src">-->
+ <!-- <mkdir dir="target/dist"/>-->
+ <!-- <ant:zip file="${dist.dir}/${dist.name}-src.zip">-->
+ <!-- <ant:fileset dir=".">-->
+ <!-- <ant:include name="**"/>-->
+ <!-- <ant:exclude name="**/target/**"/>-->
+ <!-- <ant:exclude name="**/.cvs/**"/>-->
+ <!-- <ant:exclude name="**/bin/**"/>-->
+ <!-- <ant:exclude name=".*"/>-->
+ <!-- <ant:exclude name="**/*.license"/>-->
+ <!-- </ant:fileset>-->
+ <!-- </ant:zip>-->
+ <!-- <ant:tar tarfile="target/${dist.name}-src.tar"
longfile="gnu">-->
+ <!-- <ant:tarfileset dir=".">-->
+ <!-- <ant:include name="**"/>-->
+ <!-- <ant:exclude name="**/target/**"/>-->
+ <!-- <ant:exclude name="**/.cvs/**"/>-->
+ <!-- <ant:exclude name="**/bin/**"/>-->
+ <!-- <ant:exclude name=".*"/>-->
+ <!-- <ant:exclude name="**/*.license"/>-->
+ <!-- </ant:tarfileset>-->
+ <!-- </ant:tar>-->
+ <!-- <gzip src="target/${dist.name}-src.tar"
zipfile="${dist.dir}/${dist.name}-src.tar.gz"/>-->
+ <!-- <ant:delete file="target/${dist.name}-src.tar"/>-->
+ <!-- </goal>-->
+
+
+</project>
Added: webservices/sandesha/trunk/samples/interop/service.xml
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/samples/interop/service.xml?rev=240199&view=auto
==============================================================================
--- webservices/sandesha/trunk/samples/interop/service.xml (added)
+++ webservices/sandesha/trunk/samples/interop/service.xml Fri Aug 26 03:06:09
2005
@@ -0,0 +1,12 @@
+<service name="InteropService">
+ <parameter name="ServiceClass"
locked="xsd:false">org.apache.sandesha2.samples.RMInteropService</parameter>
+
+ <description>
+ This is a testing service , to test the system is working or not
+ </description>
+
+ <module ref="sandesha" />
+ <operation name="ping" />
+ <operation name="echoString" />
+
+</service>
\ No newline at end of file
Added:
webservices/sandesha/trunk/samples/interop/src/org/apache/sandesha2/samples/RMInteropService.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/samples/interop/src/org/apache/sandesha2/samples/RMInteropService.java?rev=240199&view=auto
==============================================================================
---
webservices/sandesha/trunk/samples/interop/src/org/apache/sandesha2/samples/RMInteropService.java
(added)
+++
webservices/sandesha/trunk/samples/interop/src/org/apache/sandesha2/samples/RMInteropService.java
Fri Aug 26 03:06:09 2005
@@ -0,0 +1,46 @@
+/*
+ * Copyright 1999-2004 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 org.apache.sandesha2.samples;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * @author
+ *
+ */
+public class RMInteropService {
+
+ private static Map sequences = new HashMap();
+
+ public String echoString(String text, String sequence) {
+
+ if (sequences.get(sequence) != null) {
+ text = (String) sequences.get(sequence) + text;
+ sequences.put(sequence, new String(text));
+ } else {
+ sequences.put(sequence, (new String(text)));
+
+ }
+ return text;
+ }
+
+ public void ping(String text) {
+ //Just accept the message and do some processing
+ }
+}
Added:
webservices/sandesha/trunk/src/org/apache/sandesha2/msgreceivers/RMMessageReceiver.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/msgreceivers/RMMessageReceiver.java?rev=240199&view=auto
==============================================================================
---
webservices/sandesha/trunk/src/org/apache/sandesha2/msgreceivers/RMMessageReceiver.java
(added)
+++
webservices/sandesha/trunk/src/org/apache/sandesha2/msgreceivers/RMMessageReceiver.java
Fri Aug 26 03:06:09 2005
@@ -0,0 +1,34 @@
+/*
+ * Copyright 1999-2004 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 org.apache.sandesha2.msgreceivers;
+
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.receivers.AbstractMessageReceiver;
+
+/**
+ * @author
+ *
+ */
+
+public class RMMessageReceiver extends AbstractMessageReceiver {
+
+ public void receive(MessageContext arg0) throws AxisFault {
+ // TODO Message receiver logic.
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]