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 di...@apache.org on 2005/09/15 21:07:03 UTC

svn commit: r289289 [29/134] - in /webservices/axis2/trunk/java: ./ etc/ modules/addressing/ modules/addressing/src/META-INF/ modules/addressing/src/org/apache/axis2/handlers/addressing/ modules/addressing/test-resources/ modules/addressing/test/org/ap...

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2.xml Thu Sep 15 11:52:11 2005
@@ -1,113 +1,113 @@
-<service provider="xsd:anyprovider" style="xsd:anyURI" contextPath="xsd:anycontextPath">
-    <!-- these are Service Parameters -->
-    <parameter name="para1" locked="xsd:true">10</parameter>
-    <parameter name="para2" locked="false">Colombo</parameter>
-
-    <!--  Service TypeMapping -->
-    <typeMapping>Type mappping should come here</typeMapping>
-    <beanMapping>bean mappping should come here</beanMapping>
-
-
-    <handler name="h1" class="org.apache.axis2.engine.registry.SpeakingHandler">
-        <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-        <parameter name="para8" locked="xsd:true">123</parameter>
-        <parameter name="para9" locked="xsd:true">456</parameter>
-        <parameter name="para10" locked="xsd:true">789</parameter>
-    </handler>
-
-
-    <inflow>
-        <handler name="h2" ref="h1"/>
-        <handler name="h3" ref="h1"/>
-    </inflow>
-
-    <outflow>
-        <handler name="h3" class="org.apache.axis2.engine.registry.SpeakingHandler">
-            <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-            <parameter name="para8" locked="xsd:true">123</parameter>
-            <parameter name="para9" locked="xsd:true">456</parameter>
-            <parameter name="para10" locked="xsd:true">789</parameter>
-        </handler>
-    </outflow>
-
-    <INfaultflow>
-        <handler name="h4" class="Hander.class">
-            <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-            <parameter name="para8" locked="xsd:true">123</parameter>
-            <parameter name="para9" locked="xsd:true">456</parameter>
-            <parameter name="para10" locked="xsd:true">789</parameter>
-        </handler>
-        <handler name="h5" class="Hander.class">
-            <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-            <parameter name="para8" locked="xsd:true">123</parameter>
-            <parameter name="para9" locked="xsd:true">456</parameter>
-            <parameter name="para10" locked="xsd:true">789</parameter>
-        </handler>
-
-        <handler name="Handername" class="Hander.class">
-            <order phase="anyhase" phaseFirst="true" phaseLast="false"/>
-            <parameter name="para8" locked="xsd:true">123</parameter>
-            <parameter name="para9" locked="xsd:true">456</parameter>
-            <parameter name="para10" locked="xsd:true">789</parameter>
-        </handler>
-    </INfaultflow>
-
-
-    <operation name="opname" qname="opqname" style="anyStyle" use="anyUse">
-        <module ref="uri">
-            <parameter name="para3" locked="xsd:true">10</parameter>
-            <parameter name="para4" locked="false">LSF</parameter>
-        </module>
-
-        <inflow>
-            <handler ref="anyRef" name="Handername" class="Hander.class">
-                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-                <parameter name="para8" locked="xsd:true">123</parameter>
-                <parameter name="para9" locked="xsd:true">456</parameter>
-                <parameter name="para10" locked="xsd:true">789</parameter>
-            </handler>
-
-            <handler ref="anyRef">
-                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-
-                <parameter name="para8" locked="xsd:true">123</parameter>
-                <parameter name="para9" locked="xsd:true">456</parameter>
-                <parameter name="para10" locked="xsd:true">789</parameter>
-            </handler>
-
-        </inflow>
-        <outflow>
-            <handler ref="anyRef" name="Handername" class="Hander.class">
-                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-                <parameter name="para8" locked="xsd:true">123</parameter>
-                <parameter name="para9" locked="xsd:true">456</parameter>
-                <parameter name="para10" locked="xsd:true">789</parameter>
-            </handler>
-            <handler ref="anyRef">
-                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-
-                <parameter name="para8" locked="xsd:true">123</parameter>
-                <parameter name="para9" locked="xsd:true">456</parameter>
-                <parameter name="para10" locked="xsd:true">789</parameter>
-
-            </handler>
-        </outflow>
-        <INfaultflow>
-            <handler ref="anyRef" name="Handername" class="Hander.class">
-                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-                <parameter name="para8" locked="xsd:true">123</parameter>
-                <parameter name="para9" locked="xsd:true">456</parameter>
-                <parameter name="para10" locked="xsd:true">789</parameter>
-            </handler>
-            <handler ref="anyRef">
-                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
-
-                <parameter name="para8" locked="xsd:true">123</parameter>
-                <parameter name="para9" locked="xsd:true">456</parameter>
-                <parameter name="para10" locked="xsd:true">789</parameter>
-
-            </handler>
-        </INfaultflow>
-    </operation>
-    <service ref="xsd:anyServiceRef"/>
+<service provider="xsd:anyprovider" style="xsd:anyURI" contextPath="xsd:anycontextPath">
+    <!-- these are Service Parameters -->
+    <parameter name="para1" locked="xsd:true">10</parameter>
+    <parameter name="para2" locked="false">Colombo</parameter>
+
+    <!--  Service TypeMapping -->
+    <typeMapping>Type mappping should come here</typeMapping>
+    <beanMapping>bean mappping should come here</beanMapping>
+
+
+    <handler name="h1" class="org.apache.axis2.engine.registry.SpeakingHandler">
+        <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+        <parameter name="para8" locked="xsd:true">123</parameter>
+        <parameter name="para9" locked="xsd:true">456</parameter>
+        <parameter name="para10" locked="xsd:true">789</parameter>
+    </handler>
+
+
+    <inflow>
+        <handler name="h2" ref="h1"/>
+        <handler name="h3" ref="h1"/>
+    </inflow>
+
+    <outflow>
+        <handler name="h3" class="org.apache.axis2.engine.registry.SpeakingHandler">
+            <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+            <parameter name="para8" locked="xsd:true">123</parameter>
+            <parameter name="para9" locked="xsd:true">456</parameter>
+            <parameter name="para10" locked="xsd:true">789</parameter>
+        </handler>
+    </outflow>
+
+    <INfaultflow>
+        <handler name="h4" class="Hander.class">
+            <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+            <parameter name="para8" locked="xsd:true">123</parameter>
+            <parameter name="para9" locked="xsd:true">456</parameter>
+            <parameter name="para10" locked="xsd:true">789</parameter>
+        </handler>
+        <handler name="h5" class="Hander.class">
+            <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+            <parameter name="para8" locked="xsd:true">123</parameter>
+            <parameter name="para9" locked="xsd:true">456</parameter>
+            <parameter name="para10" locked="xsd:true">789</parameter>
+        </handler>
+
+        <handler name="Handername" class="Hander.class">
+            <order phase="anyhase" phaseFirst="true" phaseLast="false"/>
+            <parameter name="para8" locked="xsd:true">123</parameter>
+            <parameter name="para9" locked="xsd:true">456</parameter>
+            <parameter name="para10" locked="xsd:true">789</parameter>
+        </handler>
+    </INfaultflow>
+
+
+    <operation name="opname" qname="opqname" style="anyStyle" use="anyUse">
+        <module ref="uri">
+            <parameter name="para3" locked="xsd:true">10</parameter>
+            <parameter name="para4" locked="false">LSF</parameter>
+        </module>
+
+        <inflow>
+            <handler ref="anyRef" name="Handername" class="Hander.class">
+                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+                <parameter name="para8" locked="xsd:true">123</parameter>
+                <parameter name="para9" locked="xsd:true">456</parameter>
+                <parameter name="para10" locked="xsd:true">789</parameter>
+            </handler>
+
+            <handler ref="anyRef">
+                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+
+                <parameter name="para8" locked="xsd:true">123</parameter>
+                <parameter name="para9" locked="xsd:true">456</parameter>
+                <parameter name="para10" locked="xsd:true">789</parameter>
+            </handler>
+
+        </inflow>
+        <outflow>
+            <handler ref="anyRef" name="Handername" class="Hander.class">
+                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+                <parameter name="para8" locked="xsd:true">123</parameter>
+                <parameter name="para9" locked="xsd:true">456</parameter>
+                <parameter name="para10" locked="xsd:true">789</parameter>
+            </handler>
+            <handler ref="anyRef">
+                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+
+                <parameter name="para8" locked="xsd:true">123</parameter>
+                <parameter name="para9" locked="xsd:true">456</parameter>
+                <parameter name="para10" locked="xsd:true">789</parameter>
+
+            </handler>
+        </outflow>
+        <INfaultflow>
+            <handler ref="anyRef" name="Handername" class="Hander.class">
+                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+                <parameter name="para8" locked="xsd:true">123</parameter>
+                <parameter name="para9" locked="xsd:true">456</parameter>
+                <parameter name="para10" locked="xsd:true">789</parameter>
+            </handler>
+            <handler ref="anyRef">
+                <order before="anyBefireURI" after="anyafterURI" phase="anyhase" phaseFirst="true" phaseLast="false"/>
+
+                <parameter name="para8" locked="xsd:true">123</parameter>
+                <parameter name="para9" locked="xsd:true">456</parameter>
+                <parameter name="para10" locked="xsd:true">789</parameter>
+
+            </handler>
+        </INfaultflow>
+    </operation>
+    <service ref="xsd:anyServiceRef"/>
 </service>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Echo2.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Echo2.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Echo2.java (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Echo2.java Thu Sep 15 11:52:11 2005
@@ -1,7 +1,7 @@
-import org.apache.axis2.soap.SOAPEnvelope;
-
-public class Echo2 {
-    public SOAPEnvelope echo(SOAPEnvelope in){
-        return in;
-    }    
-}
+import org.apache.axis2.soap.SOAPEnvelope;
+
+public class Echo2 {
+    public SOAPEnvelope echo(SOAPEnvelope in){
+        return in;
+    }    
+}

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Echo2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java Thu Sep 15 11:52:11 2005
@@ -1,33 +1,33 @@
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.Handler;
-import org.apache.axis2.handlers.AbstractHandler;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import javax.xml.namespace.QName;
-
-public class Handler2  extends AbstractHandler implements Handler {
-    private Log log = LogFactory.getLog(getClass());
-    private String message;
-    private QName name;
-    public Handler2() {
-       this.message = "inside service 2";
-    }
-    public QName getName() {
-        return name;
-    }
-
-    public void invoke(MessageContext msgContext) throws AxisFault {
-        log.info("I am " + message + " Handler Running :)");
-    }
-
-    public void revoke(MessageContext msgContext) {
-        log.info("I am " + message + " Handler Running :)");
-    }
-
-    public void setName(QName name) {
-        this.name = name;
-    }
-
-}
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.engine.Handler;
+import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import javax.xml.namespace.QName;
+
+public class Handler2  extends AbstractHandler implements Handler {
+    private Log log = LogFactory.getLog(getClass());
+    private String message;
+    private QName name;
+    public Handler2() {
+       this.message = "inside service 2";
+    }
+    public QName getName() {
+        return name;
+    }
+
+    public void invoke(MessageContext msgContext) throws AxisFault {
+        log.info("I am " + message + " Handler Running :)");
+    }
+
+    public void revoke(MessageContext msgContext) {
+        log.info("I am " + message + " Handler Running :)");
+    }
+
+    public void setName(QName name) {
+        this.name = name;
+    }
+
+}

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml Thu Sep 15 11:52:11 2005
@@ -1,53 +1,53 @@
-<service name="">
-    <!-- these are Service Parameters -->
-    <parameter name="para1" locked="xsd:true">10</parameter>
-    <parameter name="para2" locked="false">Colombo</parameter>
-    <description>
-        This is a testing service , to test the system is working or not
-    </description>
-
-    <!--  Service TypeMapping -->
-
-    <!--
-    Phases
-    P1 p2 p3
-    -->
-
-    <inflow>
-        <handler name="h1" class="Handler2">
-            <order phase="userphase1" phaseFirst="true"/>
-        </handler>
-    </inflow>
-
-    <outflow>
-        <handler name="h3" class="Handler2">
-            <order phase="userphase1"/>
-        </handler>
-    </outflow>
-
-    <INfaultflow>
-        <handler name="h5" class="Handler2">
-            <order phase="userphase1"/>
-        </handler>
-
-        <handler name="h6" class="Handler2">
-            <order phase="userphase1" phaseLast="false"/>
-        </handler>
-    </INfaultflow>
-    <Outfaultflow>
-        <handler name="h4" class="Handler2">
-            <order phase="userphase1"/>
-        </handler>
-
-        <handler name="h5" class="Handler2">
-            <order phase="userphase1"/>
-        </handler>
-
-        <handler name="h6" class="Handler2">
-            <order phase="userphase1" phaseLast="false"/>
-        </handler>
-    </Outfaultflow>
-    <operation name="opname">
-        <module ref="module1"></module>
-    </operation>
+<service name="">
+    <!-- these are Service Parameters -->
+    <parameter name="para1" locked="xsd:true">10</parameter>
+    <parameter name="para2" locked="false">Colombo</parameter>
+    <description>
+        This is a testing service , to test the system is working or not
+    </description>
+
+    <!--  Service TypeMapping -->
+
+    <!--
+    Phases
+    P1 p2 p3
+    -->
+
+    <inflow>
+        <handler name="h1" class="Handler2">
+            <order phase="userphase1" phaseFirst="true"/>
+        </handler>
+    </inflow>
+
+    <outflow>
+        <handler name="h3" class="Handler2">
+            <order phase="userphase1"/>
+        </handler>
+    </outflow>
+
+    <INfaultflow>
+        <handler name="h5" class="Handler2">
+            <order phase="userphase1"/>
+        </handler>
+
+        <handler name="h6" class="Handler2">
+            <order phase="userphase1" phaseLast="false"/>
+        </handler>
+    </INfaultflow>
+    <Outfaultflow>
+        <handler name="h4" class="Handler2">
+            <order phase="userphase1"/>
+        </handler>
+
+        <handler name="h5" class="Handler2">
+            <order phase="userphase1"/>
+        </handler>
+
+        <handler name="h6" class="Handler2">
+            <order phase="userphase1" phaseLast="false"/>
+        </handler>
+    </Outfaultflow>
+    <operation name="opname">
+        <module ref="module1"></module>
+    </operation>
 </service>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/META-INF/service.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/build.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/build.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/build.xml Thu Sep 15 11:52:11 2005
@@ -1,52 +1,52 @@
-<?xml version="1.0"?>
-<project basedir="." default="jar">
-    <property name="src" location="."/>
-    <property name="build" location="build"/>
-    <property name="build.classes" location="${build}/classes"/>
-    <property name="build.lib" location="${build}/lib"/>
-    <property name="lib" location="lib"/>
-    <property name="root" location="../../../"/>
-    <property name="jar.dir" location="${root}/target/test-resources/deployment/services/"/>
-
-    <path id="axis.test.classpath">
-        <path refid="maven.dependency.classpath"></path>
-        <pathelement location="../../../target/classes"/>
-    </path>
-
-    <target name="compile" depends="init" unless="jars.uptodate">
-        <mkdir dir="${build.classes}"/>
-        <mkdir dir="${build.lib}"/>
-        <javac destdir="${build.classes}" debug="on">
-            <classpath refid="axis.test.classpath"/>
-            <src path="${src}"/>
-        </javac>
-    </target>
-
-    <target name="jar" depends="compile" unless="jars.uptodate">
-        <copy todir="${build.classes}/META-INF">
-            <fileset dir="${basedir}/META-INF/">
-                <include name="**/*.xml"/>
-                <exclude name="build.xml"/>
-            </fileset>
-        </copy>
-
-        <mkdir dir="${jar.dir}"/>
-        <jar jarfile="${jar.dir}/service2.jar" basedir="${build.classes}">
-            <include name="**"/>
-        </jar>
-        <delete dir="${build}"/>
-    </target>
-
-    <target name="init">
-        <uptodate property="jars.uptodate" targetfile="${jar.dir}/service2.jar">
-            <srcfiles dir="${src}">
-                <include name="**/*.java"/>
-                <include name="**/*.xml"/>
-                <include name="**/*.wsdl"/>
-                <exclude name="${build}/**"/>
-            </srcfiles>
-        </uptodate>
-        <echo message="the files are up to date = ${jars.uptodate}"></echo>
-    </target>
-
-</project>
+<?xml version="1.0"?>
+<project basedir="." default="jar">
+    <property name="src" location="."/>
+    <property name="build" location="build"/>
+    <property name="build.classes" location="${build}/classes"/>
+    <property name="build.lib" location="${build}/lib"/>
+    <property name="lib" location="lib"/>
+    <property name="root" location="../../../"/>
+    <property name="jar.dir" location="${root}/target/test-resources/deployment/services/"/>
+
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+    </path>
+
+    <target name="compile" depends="init" unless="jars.uptodate">
+        <mkdir dir="${build.classes}"/>
+        <mkdir dir="${build.lib}"/>
+        <javac destdir="${build.classes}" debug="on">
+            <classpath refid="axis.test.classpath"/>
+            <src path="${src}"/>
+        </javac>
+    </target>
+
+    <target name="jar" depends="compile" unless="jars.uptodate">
+        <copy todir="${build.classes}/META-INF">
+            <fileset dir="${basedir}/META-INF/">
+                <include name="**/*.xml"/>
+                <exclude name="build.xml"/>
+            </fileset>
+        </copy>
+
+        <mkdir dir="${jar.dir}"/>
+        <jar jarfile="${jar.dir}/service2.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
+
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/service2.jar">
+            <srcfiles dir="${src}">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="${build}/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </target>
+
+</project>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/service2/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/axis2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/axis2.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/axis2.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/axis2.xml Thu Sep 15 11:52:11 2005
@@ -1,84 +1,84 @@
-<axisconfig name="AxisJava2.0">
-    <!-- ================================================= -->
-    <!-- Parameters -->
-    <!-- ================================================= -->
-    <parameter name="hotdeployment" locked="false">true</parameter>
-    <parameter name="hotupdate" locked="false">false</parameter>
-    <parameter name="enableMTOM" locked="false">true</parameter>
-    <!-- Uncomment this to enable REST support -->
-    <!--    <parameter name="enableREST" locked="false">true</parameter>-->
-
-
-    <parameter name="userName" locked="false">admin</parameter>
-    <parameter name="password" locked="false">axis2</parameter>
-
-
-
-
-
-    <!-- ================================================= -->
-    <!-- Message Receivers -->
-    <!-- ================================================= -->
-    <!-- This is the Deafult Message Receiver for the Request Response style Operations -->
-    <messageReceiver mep="INOUT" class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
-
-    <!-- ================================================= -->
-    <!-- Transport Ins -->
-    <!-- ================================================= -->
-    <transportReceiver name="http" class="org.apache.axis2.transport.http.SimpleHTTPServer">
-        <parameter name="port" locked="false">6060</parameter>
-    </transportReceiver>
-
-    <parameter name="extractServiceArchive" locked="false">true</parameter>
-
-    <!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
- <transportReceiver name="mail" class="org.apache.axis2.transport.mail.SimpleMailListener">
-       <parameter name="transport.mail.pop3.host" locked="false">127.0.0.1</parameter>
-       <parameter name="transport.mail.pop3.user" locked="false">axis2</parameter>
-       <parameter name="transport.mail.pop3.password" locked="false">axis2</parameter>
-       <parameter name="transport.mail.pop3.port" locked="false">110</parameter>
-       <parameter name="transport.mail.replyToAddress" locked="false">axis2@127.0.0.1</parameter>
-   </transportReceiver> -->
-
-    <transportReceiver name="tcp" class="org.apache.axis2.transport.tcp.TCPServer">
-        <parameter name="port" locked="false">6060</parameter>
-    </transportReceiver>
-
-    <!-- ================================================= -->
-    <!-- Transport Outs -->
-    <!-- ================================================= -->
-
-    <transportSender name="tcp" class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
-    <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
-    <transportSender name="http" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
-        <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
-    </transportSender>
-    <transportSender name="https" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
-        <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
-    </transportSender>
-
-
-    <phaseOrder type="inflow">
-        <!--  System pre defined phases       -->
-        <phase name="TransportIn"/>
-        <phase name="PreDispatch"/>
-        <phase name="Dispatch"/>
-        <phase name="PostDispatch"/>
-        <!--  System pre defined phases       -->
-        <!--   After Postdispatch phase module author or or service author can add any phase he want      -->
-        <phase name="userphase1"/>
-    </phaseOrder>
-    <phaseOrder type="outflow">
-        <!--      user can add his own phases to this area  -->
-        <phase name="userphase1"/>
-    </phaseOrder>
-    <phaseOrder type="INfaultflow">
-        <!--      user can add his own phases to this area  -->
-        <phase name="userphase1"/>
-    </phaseOrder>
-    <phaseOrder type="Outfaultflow">
-        <!--      user can add his own phases to this area  -->
-        <phase name="userphase1"/>
-    </phaseOrder>
-</axisconfig>
-
+<axisconfig name="AxisJava2.0">
+    <!-- ================================================= -->
+    <!-- Parameters -->
+    <!-- ================================================= -->
+    <parameter name="hotdeployment" locked="false">true</parameter>
+    <parameter name="hotupdate" locked="false">false</parameter>
+    <parameter name="enableMTOM" locked="false">true</parameter>
+    <!-- Uncomment this to enable REST support -->
+    <!--    <parameter name="enableREST" locked="false">true</parameter>-->
+
+
+    <parameter name="userName" locked="false">admin</parameter>
+    <parameter name="password" locked="false">axis2</parameter>
+
+
+
+
+
+    <!-- ================================================= -->
+    <!-- Message Receivers -->
+    <!-- ================================================= -->
+    <!-- This is the Deafult Message Receiver for the Request Response style Operations -->
+    <messageReceiver mep="INOUT" class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+
+    <!-- ================================================= -->
+    <!-- Transport Ins -->
+    <!-- ================================================= -->
+    <transportReceiver name="http" class="org.apache.axis2.transport.http.SimpleHTTPServer">
+        <parameter name="port" locked="false">6060</parameter>
+    </transportReceiver>
+
+    <parameter name="extractServiceArchive" locked="false">true</parameter>
+
+    <!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
+ <transportReceiver name="mail" class="org.apache.axis2.transport.mail.SimpleMailListener">
+       <parameter name="transport.mail.pop3.host" locked="false">127.0.0.1</parameter>
+       <parameter name="transport.mail.pop3.user" locked="false">axis2</parameter>
+       <parameter name="transport.mail.pop3.password" locked="false">axis2</parameter>
+       <parameter name="transport.mail.pop3.port" locked="false">110</parameter>
+       <parameter name="transport.mail.replyToAddress" locked="false">axis2@127.0.0.1</parameter>
+   </transportReceiver> -->
+
+    <transportReceiver name="tcp" class="org.apache.axis2.transport.tcp.TCPServer">
+        <parameter name="port" locked="false">6060</parameter>
+    </transportReceiver>
+
+    <!-- ================================================= -->
+    <!-- Transport Outs -->
+    <!-- ================================================= -->
+
+    <transportSender name="tcp" class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
+    <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
+    <transportSender name="http" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+        <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
+    </transportSender>
+    <transportSender name="https" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+        <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+    </transportSender>
+
+
+    <phaseOrder type="inflow">
+        <!--  System pre defined phases       -->
+        <phase name="TransportIn"/>
+        <phase name="PreDispatch"/>
+        <phase name="Dispatch"/>
+        <phase name="PostDispatch"/>
+        <!--  System pre defined phases       -->
+        <!--   After Postdispatch phase module author or or service author can add any phase he want      -->
+        <phase name="userphase1"/>
+    </phaseOrder>
+    <phaseOrder type="outflow">
+        <!--      user can add his own phases to this area  -->
+        <phase name="userphase1"/>
+    </phaseOrder>
+    <phaseOrder type="INfaultflow">
+        <!--      user can add his own phases to this area  -->
+        <phase name="userphase1"/>
+    </phaseOrder>
+    <phaseOrder type="Outfaultflow">
+        <!--      user can add his own phases to this area  -->
+        <phase name="userphase1"/>
+    </phaseOrder>
+</axisconfig>
+

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/axis2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/services/serviceGroup/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/services/serviceGroup/META-INF/service.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/services/serviceGroup/META-INF/service.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/services/serviceGroup/META-INF/service.xml Thu Sep 15 11:52:11 2005
@@ -1,14 +1,14 @@
-<serviceGroup>
-    <service name="service1">
-        <operation name="op1">
-        </operation>
-        <operation name="op2">
-        </operation>
-    </service>
-    <service name="service2">
-        <operation name="op1">
-        </operation>
-        <operation name="op2">
-        </operation>
-    </service>
+<serviceGroup>
+    <service name="service1">
+        <operation name="op1">
+        </operation>
+        <operation name="op2">
+        </operation>
+    </service>
+    <service name="service2">
+        <operation name="op1">
+        </operation>
+        <operation name="op2">
+        </operation>
+    </service>
 </serviceGroup>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceGroupRepo/services/serviceGroup/META-INF/service.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml Thu Sep 15 11:52:11 2005
@@ -1,28 +1,28 @@
-<module name="serviceModule" class="org.apache.axis2.InavalidModuleImpl">
-    <inflow>
-        <handler name="h1" class="org.apache.axis2.ModuleHandler1">
-            <order phase="Dispatch"/>
-        </handler>
-        <handler name="h2" class="org.apache.axis2.ModuleHandler1">
-            <order phase="TransportIn"/>
-        </handler>
-    </inflow>
-
-    <outflow>
-        <handler name="h3" class="org.apache.axis2.ModuleHandler1">
-            <order phase="Dispatch"/>
-        </handler>
-    </outflow>
-
-    <Outfaultflow>
-        <handler name="h4" class="org.apache.axis2.ModuleHandler1">
-            <order phase="userphase1"/>
-        </handler>
-    </Outfaultflow>
-
-    <INfaultflow>
-        <handler name="h5" class="org.apache.axis2.ModuleHandler1">
-            <order phase="userphase1"/>
-        </handler>
-    </INfaultflow>
+<module name="serviceModule" class="org.apache.axis2.InavalidModuleImpl">
+    <inflow>
+        <handler name="h1" class="org.apache.axis2.ModuleHandler1">
+            <order phase="Dispatch"/>
+        </handler>
+        <handler name="h2" class="org.apache.axis2.ModuleHandler1">
+            <order phase="TransportIn"/>
+        </handler>
+    </inflow>
+
+    <outflow>
+        <handler name="h3" class="org.apache.axis2.ModuleHandler1">
+            <order phase="Dispatch"/>
+        </handler>
+    </outflow>
+
+    <Outfaultflow>
+        <handler name="h4" class="org.apache.axis2.ModuleHandler1">
+            <order phase="userphase1"/>
+        </handler>
+    </Outfaultflow>
+
+    <INfaultflow>
+        <handler name="h5" class="org.apache.axis2.ModuleHandler1">
+            <order phase="userphase1"/>
+        </handler>
+    </INfaultflow>
 </module>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/META-INF/module.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml Thu Sep 15 11:52:11 2005
@@ -1,52 +1,52 @@
-<?xml version="1.0"?>
-<project basedir="." default="jar">
-    <property name="src" location="."/>
-    <property name="build" location="build"/>
-    <property name="build.classes" location="${build}/classes"/>
-    <property name="build.lib" location="${build}/lib"/>
-    <property name="lib" location="lib"/>
-    <property name="root" location="../../../"/>
-    <property name="jar.dir" location="${root}/target/test-resources/InvalidDeployment/modules/"/>
-
-    <path id="axis.test.classpath">
-        <path refid="maven.dependency.classpath"></path>
-        <pathelement location="../../../target/classes"/>
-    </path>
-
-    <target name="compile" depends="init" unless="jars.uptodate">
-        <mkdir dir="${build.classes}"/>
-        <mkdir dir="${build.lib}"/>
-        <javac destdir="${build.classes}" debug="on">
-            <classpath refid="axis.test.classpath"/>
-            <src path="${src}"/>
-        </javac>
-    </target>
-
-    <target name="jar" depends="compile" unless="jars.uptodate">
-        <copy todir="${build.classes}/META-INF">
-            <fileset dir="${basedir}/META-INF/">
-                <include name="**/*.xml"/>
-                <exclude name="build.xml"/>
-            </fileset>
-        </copy>
-
-        <mkdir dir="${jar.dir}"/>
-        <jar jarfile="${jar.dir}/serviceModule.jar" basedir="${build.classes}">
-            <include name="**"/>
-        </jar>
-        <delete dir="${build}"/>
-    </target>
-
-    <target name="init">
-        <uptodate property="jars.uptodate" targetfile="${jar.dir}/serviceModule.jar">
-            <srcfiles dir="${src}">
-                <include name="**/*.java"/>
-                <include name="**/*.xml"/>
-                <include name="**/*.wsdl"/>
-                <exclude name="${build}/**"/>
-            </srcfiles>
-        </uptodate>
-        <echo message="the files are up to date = ${jars.uptodate}"></echo>
-    </target>
-
-</project>
+<?xml version="1.0"?>
+<project basedir="." default="jar">
+    <property name="src" location="."/>
+    <property name="build" location="build"/>
+    <property name="build.classes" location="${build}/classes"/>
+    <property name="build.lib" location="${build}/lib"/>
+    <property name="lib" location="lib"/>
+    <property name="root" location="../../../"/>
+    <property name="jar.dir" location="${root}/target/test-resources/InvalidDeployment/modules/"/>
+
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+    </path>
+
+    <target name="compile" depends="init" unless="jars.uptodate">
+        <mkdir dir="${build.classes}"/>
+        <mkdir dir="${build.lib}"/>
+        <javac destdir="${build.classes}" debug="on">
+            <classpath refid="axis.test.classpath"/>
+            <src path="${src}"/>
+        </javac>
+    </target>
+
+    <target name="jar" depends="compile" unless="jars.uptodate">
+        <copy todir="${build.classes}/META-INF">
+            <fileset dir="${basedir}/META-INF/">
+                <include name="**/*.xml"/>
+                <exclude name="build.xml"/>
+            </fileset>
+        </copy>
+
+        <mkdir dir="${jar.dir}"/>
+        <jar jarfile="${jar.dir}/serviceModule.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
+
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/serviceModule.jar">
+            <srcfiles dir="${src}">
+                <include name="**/*.java"/>
+                <include name="**/*.xml"/>
+                <include name="**/*.wsdl"/>
+                <exclude name="${build}/**"/>
+            </srcfiles>
+        </uptodate>
+        <echo message="the files are up to date = ${jars.uptodate}"></echo>
+    </target>
+
+</project>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java Thu Sep 15 11:52:11 2005
@@ -1,39 +1,39 @@
-package org.apache.axis2;
-
-import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.modules.Module;
-
-/*
- * 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.
- *
- * 
- */
-
-/**
- * Author : Deepal Jayasinghe
- * Date: May 16, 2005
- * Time: 11:41:08 AM
- */
-public class InavalidModuleImpl implements Module{
-    // initialize the module
-    public void init(AxisConfiguration axisSystem) throws AxisFault {
-        //To change body of implemented methods use File | Settings | File Templates.
-    }
-
-    // shutdown the module
-    public void shutdown(AxisConfiguration axisSystem) throws AxisFault {
-        //To change body of implemented methods use File | Settings | File Templates.
-    }
-}
+package org.apache.axis2;
+
+import org.apache.axis2.engine.AxisConfiguration;
+import org.apache.axis2.modules.Module;
+
+/*
+ * 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.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: May 16, 2005
+ * Time: 11:41:08 AM
+ */
+public class InavalidModuleImpl implements Module{
+    // initialize the module
+    public void init(AxisConfiguration axisSystem) throws AxisFault {
+        //To change body of implemented methods use File | Settings | File Templates.
+    }
+
+    // shutdown the module
+    public void shutdown(AxisConfiguration axisSystem) throws AxisFault {
+        //To change body of implemented methods use File | Settings | File Templates.
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java Thu Sep 15 11:52:11 2005
@@ -1,57 +1,57 @@
-package org.apache.axis2;
-
-import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.Handler;
-import org.apache.axis2.handlers.AbstractHandler;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import javax.xml.namespace.QName;
-
-/*
- * 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.
- *
- * 
- */
-
-/**
- * Author : Deepal Jayasinghe
- * Date: May 16, 2005
- * Time: 11:39:25 AM
- */
-public class ModuleHandler1  extends AbstractHandler implements Handler {
-    private Log log = LogFactory.getLog(getClass());
-    private String message;
-    private QName name;
-    public ModuleHandler1() {
-       this.message = "inside invalid module";
-    }
-    public QName getName() {
-        return name;
-    }
-
-    public void invoke(MessageContext msgContext) throws AxisFault {
-        log.info("I am " + message + " Handler Running :)");
-    }
-
-    public void revoke(MessageContext msgContext) {
-        log.info("I am " + message + " Handler Running :)");
-    }
-
-    public void setName(QName name) {
-        this.name = name;
-    }
-
-}
+package org.apache.axis2;
+
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.engine.Handler;
+import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import javax.xml.namespace.QName;
+
+/*
+ * 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.
+ *
+ * 
+ */
+
+/**
+ * Author : Deepal Jayasinghe
+ * Date: May 16, 2005
+ * Time: 11:39:25 AM
+ */
+public class ModuleHandler1  extends AbstractHandler implements Handler {
+    private Log log = LogFactory.getLog(getClass());
+    private String message;
+    private QName name;
+    public ModuleHandler1() {
+       this.message = "inside invalid module";
+    }
+    public QName getName() {
+        return name;
+    }
+
+    public void invoke(MessageContext msgContext) throws AxisFault {
+        log.info("I am " + message + " Handler Running :)");
+    }
+
+    public void revoke(MessageContext msgContext) {
+        log.info("I am " + message + " Handler Running :)");
+    }
+
+    public void setName(QName name) {
+        this.name = name;
+    }
+
+}

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/eprTest.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/eprTest.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/eprTest.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/eprTest.xml Thu Sep 15 11:52:11 2005
@@ -1,15 +1,15 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
-    <soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
-        <soapenv:Reference4>Value 400</soapenv:Reference4>
-        <soapenv:Reference1>Value 100</soapenv:Reference1>
-        <soapenv:Reference0>Value 0</soapenv:Reference0>
-        <soapenv:Reference2>Value 200</soapenv:Reference2>
-        <soapenv:Reference3>Value 300</soapenv:Reference3>
-        <wsa:ServiceName wsa:PortName="port">serviceNS:Service</wsa:ServiceName>
-        <wsa:PortType>portNS:Port</wsa:PortType>
-        <wsa:From>
-            <wsa:Address>http://www.from.org/service/</wsa:Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body></soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+    <soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
+        <soapenv:Reference4>Value 400</soapenv:Reference4>
+        <soapenv:Reference1>Value 100</soapenv:Reference1>
+        <soapenv:Reference0>Value 0</soapenv:Reference0>
+        <soapenv:Reference2>Value 200</soapenv:Reference2>
+        <soapenv:Reference3>Value 300</soapenv:Reference3>
+        <wsa:ServiceName wsa:PortName="port">serviceNS:Service</wsa:ServiceName>
+        <wsa:PortType>portNS:Port</wsa:PortType>
+        <wsa:From>
+            <wsa:Address>http://www.from.org/service/</wsa:Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body></soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/eprTest.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/soapmessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/soapmessage.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/soapmessage.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/soapmessage.xml Thu Sep 15 11:52:11 2005
@@ -1,16 +1,16 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>
-        </wsa:From>
-        <wsa:Action>http://ws.apache.org/tests/action</wsa:Action>
-    </soapenv:Header>
-    <soapenv:Body>
-        <ns1:getBalance soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://localhost:8081/axis/services/BankPort">
-            <accountNo href="#id0"/>
-        </ns1:getBalance>
-        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1001</multiRef>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>
+        </wsa:From>
+        <wsa:Action>http://ws.apache.org/tests/action</wsa:Action>
+    </soapenv:Header>
+    <soapenv:Body>
+        <ns1:getBalance soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://localhost:8081/axis/services/BankPort">
+            <accountNo href="#id0"/>
+        </ns1:getBalance>
+        <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1001</multiRef>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/soapmessage.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test-resources/test.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test-resources/test.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test-resources/test.xml (original)
+++ webservices/axis2/trunk/java/modules/core/test-resources/test.xml Thu Sep 15 11:52:11 2005
@@ -1,15 +1,15 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
-    <soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
-        <soapenv:Reference4>Value 400</soapenv:Reference4>
-        <soapenv:Reference1>Value 100</soapenv:Reference1>
-        <soapenv:Reference0>Value 0</soapenv:Reference0>
-        <soapenv:Reference2>Value 200</soapenv:Reference2>
-        <soapenv:Reference3>Value 300</soapenv:Reference3>
-        <wsa:ServiceName wsa:PortName="port">serviceNS:Service</wsa:ServiceName>
-        <wsa:PortType>portNS:Port</wsa:PortType>
-        <wsa:From>
-            <wsa:Address>http://www.from.org/service/</wsa:Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body></soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+    <soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
+        <soapenv:Reference4>Value 400</soapenv:Reference4>
+        <soapenv:Reference1>Value 100</soapenv:Reference1>
+        <soapenv:Reference0>Value 0</soapenv:Reference0>
+        <soapenv:Reference2>Value 200</soapenv:Reference2>
+        <soapenv:Reference3>Value 300</soapenv:Reference3>
+        <wsa:ServiceName wsa:PortName="port">serviceNS:Service</wsa:ServiceName>
+        <wsa:PortType>portNS:Port</wsa:PortType>
+        <wsa:From>
+            <wsa:Address>http://www.from.org/service/</wsa:Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body></soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/core/test-resources/test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java Thu Sep 15 11:52:11 2005
@@ -1,65 +1,65 @@
-/*
- * 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 org.apache.axis2;
-
-import junit.framework.TestCase;
-
-import java.io.File;
-
-/**
- * Abstract base class for test cases.
- */
-public abstract class AbstractTestCase
-        extends TestCase {
-    protected String testDir = "test" + File.separator;
-    protected String sampleDir = "samples" + File.separator;
-    protected String outDir = "target" + File.separator + "generated" +
-            File.separator +
-            "samples" +
-            File.separator;
-    protected String tempDir = "target" + File.separator + "generated" +
-            File.separator +
-            "temp";
-    protected String testResourceDir = "test-resources";
-
-
-    /**
-     * Basedir for all file I/O. Important when running tests from
-     * the reactor.
-     */
-    public String basedir = System.getProperty("basedir");
-
-    /**
-     * @param testName
-     */
-    public AbstractTestCase(String testName) {
-        super(testName);
-        if (basedir == null) {
-            basedir = new File(".").getAbsolutePath();
-        }
-        testDir = new File(basedir, testDir).getAbsolutePath();
-        sampleDir = new File(basedir, sampleDir).getAbsolutePath();
-        outDir = new File(basedir, outDir).getAbsolutePath();
-        tempDir = new File(basedir, tempDir).getAbsolutePath();
-    }
-
-
-    public File getTestResourceFile(String relativePath) {
-        return new File(testResourceDir, relativePath);
-    }
-}
-
+/*
+ * 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 org.apache.axis2;
+
+import junit.framework.TestCase;
+
+import java.io.File;
+
+/**
+ * Abstract base class for test cases.
+ */
+public abstract class AbstractTestCase
+        extends TestCase {
+    protected String testDir = "test" + File.separator;
+    protected String sampleDir = "samples" + File.separator;
+    protected String outDir = "target" + File.separator + "generated" +
+            File.separator +
+            "samples" +
+            File.separator;
+    protected String tempDir = "target" + File.separator + "generated" +
+            File.separator +
+            "temp";
+    protected String testResourceDir = "test-resources";
+
+
+    /**
+     * Basedir for all file I/O. Important when running tests from
+     * the reactor.
+     */
+    public String basedir = System.getProperty("basedir");
+
+    /**
+     * @param testName
+     */
+    public AbstractTestCase(String testName) {
+        super(testName);
+        if (basedir == null) {
+            basedir = new File(".").getAbsolutePath();
+        }
+        testDir = new File(basedir, testDir).getAbsolutePath();
+        sampleDir = new File(basedir, sampleDir).getAbsolutePath();
+        outDir = new File(basedir, outDir).getAbsolutePath();
+        tempDir = new File(basedir, tempDir).getAbsolutePath();
+    }
+
+
+    public File getTestResourceFile(String relativePath) {
+        return new File(testResourceDir, relativePath);
+    }
+}
+

Propchange: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/AbstractTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java Thu Sep 15 11:52:11 2005
@@ -1,62 +1,62 @@
-/*
- * 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 org.apache.axis2.addressing;
-
-import junit.framework.TestCase;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import javax.xml.namespace.QName;
-
-
-public class AnyContentTypeTest extends TestCase {
-    private AnyContentType anyContentType;
-     private Log log = LogFactory.getLog(getClass());
-
-    public static void main(String[] args) {
-        junit.textui.TestRunner.run(AnyContentTypeTest.class);
-    }
-
-    /*
-     * @see TestCase#setUp()
-     */
-    protected void setUp() throws Exception {
-        super.setUp();
-        anyContentType = new AnyContentType();
-    }
-
-    public void testAddAndGetReferenceValue() {
-        log.info( "Testing by putting more than 5 values in this. (this is initialized for 5)");
-        for (int i = 0; i < 10; i++) {
-            anyContentType.addReferenceValue(
-                    new QName("http://www.opensouce.lk/" + i, "" + i),
-                    "value " + i * 100);
-        }
-
-        for (int i = 0; i < 10; i++) {
-            String value = anyContentType.getReferenceValue(
-                    new QName("http://www.opensouce.lk/" + i, "" + i));
-            assertEquals(
-                    "Input value differs from what is taken out from AnyContentType",
-                    value,
-                    "value " + i * 100);
-        }
-
-    }
-
-
-}
+/*
+ * 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 org.apache.axis2.addressing;
+
+import junit.framework.TestCase;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import javax.xml.namespace.QName;
+
+
+public class AnyContentTypeTest extends TestCase {
+    private AnyContentType anyContentType;
+     private Log log = LogFactory.getLog(getClass());
+
+    public static void main(String[] args) {
+        junit.textui.TestRunner.run(AnyContentTypeTest.class);
+    }
+
+    /*
+     * @see TestCase#setUp()
+     */
+    protected void setUp() throws Exception {
+        super.setUp();
+        anyContentType = new AnyContentType();
+    }
+
+    public void testAddAndGetReferenceValue() {
+        log.info( "Testing by putting more than 5 values in this. (this is initialized for 5)");
+        for (int i = 0; i < 10; i++) {
+            anyContentType.addReferenceValue(
+                    new QName("http://www.opensouce.lk/" + i, "" + i),
+                    "value " + i * 100);
+        }
+
+        for (int i = 0; i < 10; i++) {
+            String value = anyContentType.getReferenceValue(
+                    new QName("http://www.opensouce.lk/" + i, "" + i));
+            assertEquals(
+                    "Input value differs from what is taken out from AnyContentType",
+                    value,
+                    "value " + i * 100);
+        }
+
+    }
+
+
+}

Propchange: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/AnyContentTypeTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java Thu Sep 15 11:52:11 2005
@@ -1,125 +1,125 @@
-/*
- * 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 org.apache.axis2.addressing;
-
-import junit.framework.TestCase;
-
-import javax.xml.namespace.QName;
-
-
-public class EndpointReferenceTypeTest extends TestCase {
-
-    EndpointReference endpointReference;
-    private String address = "htttp://wwww.openource.lk/~chinthaka";
-
-    public static void main(String[] args) {
-        junit.textui.TestRunner.run(EndpointReferenceTypeTest.class);
-    }
-
-    /*
-     * @see TestCase#setUp()
-     */
-    protected void setUp() throws Exception {
-        super.setUp();
-        endpointReference = new EndpointReference(address);
-    }
-
-    public void testGetAndSetAddress() {
-        assertEquals("Address not set properly in the constructor",
-                address,
-                endpointReference.getAddress());
-
-        String newAddress = "http://www.axis2.com";
-        endpointReference.setAddress(newAddress);
-        assertEquals("Address not set properly in the setter method",
-                newAddress,
-                endpointReference.getAddress());
-    }
-
-    public void testGetAndSetPortType() {
-        QName portType = new QName("www.someport.com", "port");
-        endpointReference.setInterfaceName(portType);
-        assertEquals("PortType not set/get properly",
-                portType,
-                endpointReference.getInterfaceName());
-    }
-
-    public void testGetAndSetReferenceProperties() {
-        AnyContentType anyContentType = new AnyContentType();
-        for (int i = 0; i < 10; i++) {
-            anyContentType.addReferenceValue(
-                    new QName("http://www.opensouce.lk/" + i, "" + i),
-                    "value " + i * 100);
-        }
-        endpointReference.setReferenceProperties(anyContentType);
-
-        AnyContentType retrievedAnyContentType = endpointReference.getReferenceProperties();
-        for (int i = 0; i < 10; i++) {
-            String value = retrievedAnyContentType.getReferenceValue(
-                    new QName("http://www.opensouce.lk/" + i, "" + i));
-            assertEquals(
-                    "Input value differs from what is taken out from AnyContentType",
-                    value,
-                    "value " + i * 100);
-        }
-
-    }
-
-    public void testGetAndSetReferenceParameters() {
-        AnyContentType anyContentType = new AnyContentType();
-        for (int i = 0; i < 10; i++) {
-            anyContentType.addReferenceValue(
-                    new QName("http://www.opensouce.lk/" + i, "" + i),
-                    "value " + i * 50);
-        }
-        endpointReference.setReferenceParameters(anyContentType);
-
-        AnyContentType retrievedAnyContentType = endpointReference.getReferenceParameters();
-        for (int i = 0; i < 10; i++) {
-            String value = retrievedAnyContentType.getReferenceValue(
-                    new QName("http://www.opensouce.lk/" + i, "" + i));
-            assertEquals(
-                    "Input value differs from what is taken out from AnyContentType",
-                    value,
-                    "value " + i * 50);
-        }
-    }
-
-    public void testGetAndSetServiceName() {
-        ServiceName serviceName = new ServiceName(
-                new QName("www.someservicename.org", "service"));
-        endpointReference.setServiceName(serviceName);
-        ServiceName retrievedServiceName = endpointReference.getServiceName();
-        assertEquals("ServiceName name has not been get/set properly",
-                serviceName.getName(),
-                retrievedServiceName.getName());
-
-        serviceName =
-                new ServiceName(
-                        new QName("www.someservicename.org", "service"),
-                        "portName");
-        endpointReference.setServiceName(serviceName);
-        retrievedServiceName = endpointReference.getServiceName();
-        assertEquals("ServiceName name has not been get/set properly",
-                serviceName.getName(),
-                retrievedServiceName.getName());
-        assertEquals("ServiceName portName has not been get/set properly",
-                serviceName.getEndpointName(),
-                retrievedServiceName.getEndpointName());
-    }
-
-}
+/*
+ * 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 org.apache.axis2.addressing;
+
+import junit.framework.TestCase;
+
+import javax.xml.namespace.QName;
+
+
+public class EndpointReferenceTypeTest extends TestCase {
+
+    EndpointReference endpointReference;
+    private String address = "htttp://wwww.openource.lk/~chinthaka";
+
+    public static void main(String[] args) {
+        junit.textui.TestRunner.run(EndpointReferenceTypeTest.class);
+    }
+
+    /*
+     * @see TestCase#setUp()
+     */
+    protected void setUp() throws Exception {
+        super.setUp();
+        endpointReference = new EndpointReference(address);
+    }
+
+    public void testGetAndSetAddress() {
+        assertEquals("Address not set properly in the constructor",
+                address,
+                endpointReference.getAddress());
+
+        String newAddress = "http://www.axis2.com";
+        endpointReference.setAddress(newAddress);
+        assertEquals("Address not set properly in the setter method",
+                newAddress,
+                endpointReference.getAddress());
+    }
+
+    public void testGetAndSetPortType() {
+        QName portType = new QName("www.someport.com", "port");
+        endpointReference.setInterfaceName(portType);
+        assertEquals("PortType not set/get properly",
+                portType,
+                endpointReference.getInterfaceName());
+    }
+
+    public void testGetAndSetReferenceProperties() {
+        AnyContentType anyContentType = new AnyContentType();
+        for (int i = 0; i < 10; i++) {
+            anyContentType.addReferenceValue(
+                    new QName("http://www.opensouce.lk/" + i, "" + i),
+                    "value " + i * 100);
+        }
+        endpointReference.setReferenceProperties(anyContentType);
+
+        AnyContentType retrievedAnyContentType = endpointReference.getReferenceProperties();
+        for (int i = 0; i < 10; i++) {
+            String value = retrievedAnyContentType.getReferenceValue(
+                    new QName("http://www.opensouce.lk/" + i, "" + i));
+            assertEquals(
+                    "Input value differs from what is taken out from AnyContentType",
+                    value,
+                    "value " + i * 100);
+        }
+
+    }
+
+    public void testGetAndSetReferenceParameters() {
+        AnyContentType anyContentType = new AnyContentType();
+        for (int i = 0; i < 10; i++) {
+            anyContentType.addReferenceValue(
+                    new QName("http://www.opensouce.lk/" + i, "" + i),
+                    "value " + i * 50);
+        }
+        endpointReference.setReferenceParameters(anyContentType);
+
+        AnyContentType retrievedAnyContentType = endpointReference.getReferenceParameters();
+        for (int i = 0; i < 10; i++) {
+            String value = retrievedAnyContentType.getReferenceValue(
+                    new QName("http://www.opensouce.lk/" + i, "" + i));
+            assertEquals(
+                    "Input value differs from what is taken out from AnyContentType",
+                    value,
+                    "value " + i * 50);
+        }
+    }
+
+    public void testGetAndSetServiceName() {
+        ServiceName serviceName = new ServiceName(
+                new QName("www.someservicename.org", "service"));
+        endpointReference.setServiceName(serviceName);
+        ServiceName retrievedServiceName = endpointReference.getServiceName();
+        assertEquals("ServiceName name has not been get/set properly",
+                serviceName.getName(),
+                retrievedServiceName.getName());
+
+        serviceName =
+                new ServiceName(
+                        new QName("www.someservicename.org", "service"),
+                        "portName");
+        endpointReference.setServiceName(serviceName);
+        retrievedServiceName = endpointReference.getServiceName();
+        assertEquals("ServiceName name has not been get/set properly",
+                serviceName.getName(),
+                retrievedServiceName.getName());
+        assertEquals("ServiceName portName has not been get/set properly",
+                serviceName.getEndpointName(),
+                retrievedServiceName.getEndpointName());
+    }
+
+}

Propchange: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java (original)
+++ webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java Thu Sep 15 11:52:11 2005
@@ -1,77 +1,77 @@
-/*
- * 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 org.apache.axis2.addressing.miheaders;
-
-import junit.framework.TestCase;
-
-
-public class RelatesToTest extends TestCase {
-    private RelatesTo relatesTo;
-    String address = "www.someaddress.com";
-    String relationshipType = "Reply";
-
-
-    public static void main(String[] args) {
-        junit.textui.TestRunner.run(RelatesToTest.class);
-
-    }
-
-    protected void setUp() throws Exception {
-
-    }
-
-    public void testGetAddress() {
-        relatesTo = new RelatesTo(address, relationshipType);
-
-        assertEquals(
-                "RelatesTo address has not been set properly in the constructor",
-                relatesTo.getValue(),
-                address);
-
-        String newAddress = "www.newRelation.org";
-        relatesTo.setValue(newAddress);
-        assertEquals("RelatesTo address has not been get/set properly",
-                relatesTo.getValue(),
-                newAddress);
-
-    }
-
-    public void testGetRelationshipType() {
-        relatesTo = new RelatesTo(address, relationshipType);
-
-        assertEquals(
-                "RelatesTo RelationshipType has not been set properly in the constructor",
-                relatesTo.getRelationshipType(),
-                relationshipType);
-
-        String newRelationshipType = "AnyOtherType";
-        relatesTo.setRelationshipType(newRelationshipType);
-        assertEquals("RelatesTo address has not been get/set properly",
-                relatesTo.getRelationshipType(),
-                newRelationshipType);
-    }
-
-    public void testSingleArgumentConstructor() {
-        relatesTo = new RelatesTo(address);
-        assertEquals(
-                "RelatesTo address has not been set properly in the constructor",
-                relatesTo.getValue(),
-                address);
-
-    }
-
-}
+/*
+ * 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 org.apache.axis2.addressing.miheaders;
+
+import junit.framework.TestCase;
+
+
+public class RelatesToTest extends TestCase {
+    private RelatesTo relatesTo;
+    String address = "www.someaddress.com";
+    String relationshipType = "Reply";
+
+
+    public static void main(String[] args) {
+        junit.textui.TestRunner.run(RelatesToTest.class);
+
+    }
+
+    protected void setUp() throws Exception {
+
+    }
+
+    public void testGetAddress() {
+        relatesTo = new RelatesTo(address, relationshipType);
+
+        assertEquals(
+                "RelatesTo address has not been set properly in the constructor",
+                relatesTo.getValue(),
+                address);
+
+        String newAddress = "www.newRelation.org";
+        relatesTo.setValue(newAddress);
+        assertEquals("RelatesTo address has not been get/set properly",
+                relatesTo.getValue(),
+                newAddress);
+
+    }
+
+    public void testGetRelationshipType() {
+        relatesTo = new RelatesTo(address, relationshipType);
+
+        assertEquals(
+                "RelatesTo RelationshipType has not been set properly in the constructor",
+                relatesTo.getRelationshipType(),
+                relationshipType);
+
+        String newRelationshipType = "AnyOtherType";
+        relatesTo.setRelationshipType(newRelationshipType);
+        assertEquals("RelatesTo address has not been get/set properly",
+                relatesTo.getRelationshipType(),
+                newRelationshipType);
+    }
+
+    public void testSingleArgumentConstructor() {
+        relatesTo = new RelatesTo(address);
+        assertEquals(
+                "RelatesTo address has not been set properly in the constructor",
+                relatesTo.getValue(),
+                address);
+
+    }
+
+}

Propchange: webservices/axis2/trunk/java/modules/core/test/org/apache/axis2/addressing/miheaders/RelatesToTest.java
------------------------------------------------------------------------------
    svn:eol-style = native