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 de...@apache.org on 2005/07/26 14:20:49 UTC

svn commit: r225286 [3/3] - in /webservices/axis/trunk/java/modules/samples: ./ src/org/ src/org/apache/ src/org/apache/axis2/ src/org/apache/axis2/soap12testing/ src/org/apache/axis2/soap12testing/client/ src/org/apache/axis2/soap12testing/server/ tes...

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,54 @@
+package org.apache.axis2.soap12testing.handlers;
+
+/*
+ * 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: Jul 26, 2005
+ * Time: 2:56:42 PM
+ */
+
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.soap.SOAPHeaderBlock;
+import org.apache.axis2.soap.SOAPHeader;
+import org.apache.axis2.handlers.AbstractHandler;
+
+import java.util.Iterator;
+
+public class SOAP12OutFlowHandlerDefault extends AbstractHandler {
+
+
+    public void revoke(MessageContext msgContext) {
+
+    }
+
+    public void invoke(MessageContext msgContext) {
+        Integer headerBlockPresent = (Integer) msgContext.getOperationContext().getProperty("HEADER_BLOCK_PRESENT", true);
+        if (headerBlockPresent.equals(new Integer(1))) {
+            SOAPHeader headerAdd = (SOAPHeader) msgContext.getOperationContext().getProperty("HEADER_BLOCK", true);
+           Iterator headerBlocks = headerAdd.examineAllHeaderBlocks();
+            while(headerBlocks.hasNext()){
+                SOAPHeaderBlock headerBlock=(SOAPHeaderBlock) headerBlocks.next();
+                msgContext.getEnvelope().getHeader().addChild(headerBlock);
+            }
+        } else {
+            msgContext.getEnvelope().getHeader().discard();
+        }
+    }
+}

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/META-INF/service.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/META-INF/service.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/META-INF/service.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,8 @@
+<service name="SOAP12TestServiceB">
+    <description>This is a sample Web Service for SOAP 1.2 Testing</description>
+    <module ref="SOAP12TestModuleB"/>
+    <parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.soap12testing.webservices.SOAP12TestWebServiceDefault</parameter>
+    <operation name="echo">
+        <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+    </operation>
+</service>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/build.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/build.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/build.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,53 @@
+<?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/Repository/services/"/>
+
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+        <pathelement location="../../../target/test-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}/SOAP12TestServiceB.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
+
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/SOAP12TestServiceB.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>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/org/apache/axis2/soap12testing/webservices/SOAP12TestWebServiceDefault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/org/apache/axis2/soap12testing/webservices/SOAP12TestWebServiceDefault.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/org/apache/axis2/soap12testing/webservices/SOAP12TestWebServiceDefault.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceB/org/apache/axis2/soap12testing/webservices/SOAP12TestWebServiceDefault.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,41 @@
+package org.apache.axis2.soap12testing.webservices;
+
+/*
+ * 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: Jul 26, 2005
+ * Time: 3:00:47 PM
+ */
+
+import org.apache.axis2.om.OMElement;
+
+public class SOAP12TestWebServiceDefault {
+    public OMElement echo(OMElement element) {
+        if (element != null) {
+            if (element.getLocalName().equals("echoOk")) {
+                element.setLocalName("responseOk");
+
+            } else if (element.getLocalName().equals("returnVoid")) {
+                element.setLocalName("returnVoidResponse");
+            }
+        }
+        return element;
+    }
+}

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/META-INF/service.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/META-INF/service.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/META-INF/service.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,8 @@
+<service name="SOAP12TestServiceC">
+    <description>This is a sample Web Service for SOAP 1.2 Testing</description>
+    <module ref="SOAP12TestModuleC"/>
+    <parameter name="ServiceClass" locked="xsd:false">org.apache.axis2.soap12testing.webservices.SOAP12TestWebServiceDefault</parameter>
+    <operation name="echo">
+        <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+    </operation>
+</service>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/build.xml?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/build.xml (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/build.xml Tue Jul 26 05:17:44 2005
@@ -0,0 +1,53 @@
+<?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/Repository/services/"/>
+
+    <path id="axis.test.classpath">
+        <path refid="maven.dependency.classpath"></path>
+        <pathelement location="../../../target/classes"/>
+        <pathelement location="../../../target/test-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}/SOAP12TestServiceC.jar" basedir="${build.classes}">
+            <include name="**"/>
+        </jar>
+        <delete dir="${build}"/>
+    </target>
+
+    <target name="init">
+        <uptodate property="jars.uptodate" targetfile="${jar.dir}/SOAP12TestServiceC.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>

Added: webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/org/apache/axis2/soap12testing/webservices/SOAP12TestWebServiceDefault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/org/apache/axis2/soap12testing/webservices/SOAP12TestWebServiceDefault.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/org/apache/axis2/soap12testing/webservices/SOAP12TestWebServiceDefault.java (added)
+++ webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestServiceC/org/apache/axis2/soap12testing/webservices/SOAP12TestWebServiceDefault.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,36 @@
+package org.apache.axis2.soap12testing.webservices;
+
+/*
+ * 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.
+ *
+ * 
+ */
+
+
+import org.apache.axis2.om.OMElement;
+
+public class SOAP12TestWebServiceDefault {
+    public OMElement echo(OMElement element) {
+        if (element != null) {
+            if (element.getLocalName().equals("echoOk")) {
+                element.setLocalName("responseOk");
+
+            } else if (element.getLocalName().equals("returnVoid")) {
+                element.setLocalName("returnVoidResponse");
+            }
+        }
+        return element;
+    }
+}

Added: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/soap12testing/soap12testsuite/SOAP12Test.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/soap12testing/soap12testsuite/SOAP12Test.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/soap12testing/soap12testsuite/SOAP12Test.java (added)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/soap12testing/soap12testsuite/SOAP12Test.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,77 @@
+/*
+* Copyright 2001-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.axis2.soap12testing.soap12testsuite;
+
+import junit.framework.TestCase;
+import org.apache.axis2.soap12testing.server.SimpleServer;
+import org.apache.axis2.soap12testing.client.SOAP12TestClient;
+import org.apache.axis2.soap12testing.client.MessageComparator;
+
+import java.io.InputStream;
+
+public class SOAP12Test extends TestCase {
+    private SimpleServer server;
+    private MessageComparator comparator;
+    private SOAP12TestClient client;
+
+    public SOAP12Test() {
+        server = new SimpleServer();
+        server.start();
+        comparator = new MessageComparator();
+        client = new SOAP12TestClient();
+    }
+
+    protected void setUp() {
+
+    }
+
+    public void testWithoutFaults() {
+
+        assertTrue("SOAP 1.2 Test : - Test No. 1  Failed", comparator.compare("1", client.getRelpy(8008,"SOAP12TestServiceC", "1")));
+        assertTrue("SOAP 1.2 Test : - Test No. 2  Failed", comparator.compare("2", client.getRelpy(8008,"SOAP12TestServiceC", "2")));
+        assertTrue("SOAP 1.2 Test : - Test No. 3  Failed", comparator.compare("3", client.getRelpy(8008,"SOAP12TestServiceC", "3")));
+        assertTrue("SOAP 1.2 Test : - Test No. 4  Failed", comparator.compare("4", client.getRelpy(8008,"SOAP12TestServiceC", "4")));
+        assertTrue("SOAP 1.2 Test : - Test No. 5  Failed", comparator.compare("5", client.getRelpy(8008,"SOAP12TestServiceC", "5")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 10  Failed", comparator.compare("10", client.getRelpy(8008,"SOAP12TestServiceC", "10")));
+        assertTrue("SOAP 1.2 Test : - Test No. 11  Failed", comparator.compare("11", client.getRelpy(8008,"SOAP12TestServiceC", "11")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 15  Failed", comparator.compare("15", client.getRelpy(8008,"SOAP12TestServiceC", "15")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 19  Failed", comparator.compare("19", client.getRelpy(8008,"SOAP12TestServiceC", "19")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 22  Failed", comparator.compare("22", client.getRelpy(8008,"SOAP12TestServiceC", "22")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 29  Failed", comparator.compare("29", client.getRelpy(8008,"SOAP12TestServiceC", "29")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 31  Failed", comparator.compare("31", client.getRelpy(8008,"SOAP12TestServiceC", "31")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 34  Failed", comparator.compare("34", client.getRelpy(8008,"SOAP12TestServiceC", "34")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 37  Failed", comparator.compare("37", client.getRelpy(8008,"SOAP12TestServiceC", "37")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 40  Failed", comparator.compare("40", client.getRelpy(8008,"SOAP12TestServiceC", "40")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 66  Failed", comparator.compare("66", client.getRelpy(8008,"SOAP12TestServiceC", "66")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 68  Failed", comparator.compare("68", client.getRelpy(8008,"SOAP12TestServiceC", "68")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 74  Failed", comparator.compare("74", client.getRelpy(8008,"SOAP12TestServiceC", "74")));
+
+        assertTrue("SOAP 1.2 Test : - Test No. 78  Failed", comparator.compare("78", client.getRelpy(8008,"SOAP12TestServiceC", "78")));
+    }
+}

Added: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/soap12testing/soap12testsuite/SOAP12TestWithFaults.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/soap12testing/soap12testsuite/SOAP12TestWithFaults.java?rev=225286&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/soap12testing/soap12testsuite/SOAP12TestWithFaults.java (added)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/soap12testing/soap12testsuite/SOAP12TestWithFaults.java Tue Jul 26 05:17:44 2005
@@ -0,0 +1,115 @@
+/*
+* Copyright 2001-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.axis2.soap12testing.soap12testsuite;
+
+import junit.framework.TestCase;
+import org.apache.axis2.soap12testing.server.SimpleServer;
+import org.apache.axis2.soap12testing.client.SOAP12TestClient;
+import org.apache.axis2.soap12testing.client.MessageComparator;
+
+import java.io.InputStream;
+
+public class SOAP12TestWithFaults extends TestCase {
+    private SimpleServer server;
+    private MessageComparator comparator;
+    private SOAP12TestClient client;
+
+    public SOAP12TestWithFaults() {
+        server = new SimpleServer(8007);
+        server.start();
+        comparator = new MessageComparator();
+        client = new SOAP12TestClient();
+    }
+
+    protected void setUp() {
+
+    }
+
+    public void testWithFaults() {
+        //Test No. 6 to 9 : - There are intermediaries
+
+        //Test No. 12 - 14 : - Reply message has fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 12  Failed", comparator.compare("12", client.getRelpy(8007, "SOAP12TestServiceC", "12")));
+        //assertTrue("SOAP 1.2 Test : - Test No. 13  Failed", comparator.compare("13", client.getRelpy(8007, "SOAP12TestServiceC", "13")));
+        //assertTrue("SOAP 1.2 Test : - Test No. 14  Failed", comparator.compare("14", client.getRelpy(8007, "SOAP12TestServiceC", "14")));
+
+        //Reply message has fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 16  Failed", comparator.compare("16", client.getRelpy(8007,"SOAP12TestServiceC", "16")));
+
+        //Request sends to B and reply has a fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 17  Failed", comparator.compare("17_B", client.getRelpy(8007,"SOAP12TestServiceB", "17_A")));
+
+        //There are intermediaries
+        //assertTrue("SOAP 1.2 Test : - Test No. 18  Failed", comparator.compare("18", client.getRelpy("SOAP12TestServiceC", "18")));
+
+        //Test No. 20 missing
+
+        //Request sends to B and reply has a fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 21  Failed", comparator.compare("21_B", client.getRelpy(8007,"SOAP12TestServiceB", "21_A")));
+
+        //mustUnderstand value is "wrong" and reply has a fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 23  Failed", comparator.compare("23", client.getRelpy("SOAP12TestServiceC", "23")));
+
+        //soap envelope namespace uri incorrect  and reply has a fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 24  Failed", comparator.compare("24", client.getRelpy("SOAP12TestServiceC", "24")));
+
+        //Has DTD  and reply has a fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 25  Failed", comparator.compare("25", client.getRelpy("SOAP12TestServiceC", "25")));
+
+        //Has style sheet and reply has a fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 26  Failed", comparator.compare("26", client.getRelpy("SOAP12TestServiceC", "26")));
+
+        //Test 30 is not here, because Axis 2 is supported both SOAP 1.1 and SOAP 1.2
+
+        //In Test No. 32, headerblock value should be inserted to body
+        //assertTrue("SOAP 1.2 Test : - Test No. 32  Failed", comparator.compare("32", client.getRelpy("SOAP12TestServiceC", "32")));
+
+        //Test No. 33, body element has an error
+        //assertTrue("SOAP 1.2 Test : - Test No. 33  Failed", comparator.compare("33", client.getRelpy("SOAP12TestServiceC", "33")));
+
+        //Test No. 35 - 36 : - Reply message has fault
+        //assertTrue("SOAP 1.2 Test : - Test No. 35  Failed", comparator.compare("35", client.getRelpy(8007,"SOAP12TestServiceC", "35")));
+        //assertTrue("SOAP 1.2 Test : - Test No. 36  Failed", comparator.compare("36", client.getRelpy(8007,"SOAP12TestServiceC", "36")));
+
+        //Test No. 38 has intermediaries
+
+        //Test No. 39, mustUnderstand value is "9"
+        //assertTrue("SOAP 1.2 Test : - Test No. 39  Failed", comparator.compare("39", client.getRelpy("SOAP12TestServiceC", "39")));
+
+        //Test No. 62 has intermediaries
+
+        //Test No. 63, headerblock name is validateCountryCode
+
+        //Test No. 64 has <!NOTATION ...>
+
+        //Test No. 65 has <!ELEMENT ..> ..<
+
+        //Test No. 67 has <?xml version='1.0' standalone='yes'?>
+        //assertTrue("SOAP 1.2 Test : - Test No. 67  Failed", comparator.compare("67", client.getRelpy("SOAP12TestServiceC", "67")));
+
+        //Test No. 69 sends message without body
+
+        //Test No. 70 sends message with an element after the body element
+
+        //Test No 71 sends message with non namespace qualified attribute in envelope element
+
+        //Test no. 75 sends a message with headerblock echoResolvedRef containing a relative reference
+        //assertTrue("SOAP 1.2 Test : - Test No. 78  Failed", comparator.compare("75", client.getRelpy("SOAP12TestServiceC", "78")));
+
+        //Test No. 79 has intermediaries
+    }
+}