You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2005/08/22 09:00:58 UTC

svn commit: r234445 - in /webservices/axis/trunk/java/modules/integration: src/org/apache/axis2/interopt/ src/org/apache/axis2/interopt/sun/ src/org/apache/axis2/interopt/whitemesa/ src/org/apache/axis2/interopt/whitemesa/round1/ src/org/apache/axis2/i...

Author: deepal
Date: Sun Aug 21 23:59:47 2005
New Revision: 234445

URL: http://svn.apache.org/viewcvs?rev=234445&view=rev
Log:
Intrgarting Interopt testing (whitemesa round4 , which was done by Nadana)

Added:
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/sun/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round1/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round3/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/EchoBlockingClient.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoBaseStructFaultClientutil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoExtendedStructFaultClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults1ClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults2ClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoSOAPStructFaultClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/WhitemesaR4ClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/EchoBlockingClient.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoEmptyFaultClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoIntArrayFaultClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults1ClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults3Clientutil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoStringFaultClientUtil.java
    webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/WhitemesaR4ClientUtil.java
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resBaseStructFault.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resExtendedStructFault.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults1.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults2.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resSoapStructFault.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resEmptyFault.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resIntArray.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults1.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults3.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults4.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultiplefaults2.xml
    webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resStringFault.xml
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/complex/
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/complex/WhitemesaR4ComplexTest.java
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/simple/
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/simple/WhitemesaR4SimpleTest.java
Modified:
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/EchoBlockingClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/EchoBlockingClient.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/EchoBlockingClient.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/EchoBlockingClient.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,61 @@
+package org.apache.axis2.interopt.whitemesa.round4.complex;
+
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.clientapi.Call;
+import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.interopt.whitemesa.round4.complex.utils.WhitemesaR4ClientUtil;
+import org.apache.axis2.om.OMElement;
+import java.io.StringWriter;
+
+/*
+* 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.
+*
+*
+*/
+
+public class EchoBlockingClient {
+
+    public OMElement sendMsg(WhitemesaR4ClientUtil util, String soapAction) {
+        OMElement firstchild = null;
+
+        EndpointReference targetEPR = new EndpointReference("http://www.whitemesa.net/interop/r4/fault-rpc-complex");
+
+        try {
+
+
+            Call call = new Call();
+            call.setTo(targetEPR);
+            call.setExceptionToBeThrownOnSOAPFault(false);
+            call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
+            call.setSoapAction(soapAction);
+
+            //Blocking invocation
+
+            firstchild = call.invokeBlocking("", util.getEchoOMElement());
+
+            StringWriter writer = new StringWriter();
+
+            System.out.println(writer.toString());
+
+        } catch (AxisFault axisFault) {
+            axisFault.printStackTrace();
+
+        }
+        return firstchild;
+
+    }
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoBaseStructFaultClientutil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoBaseStructFaultClientutil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoBaseStructFaultClientutil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoBaseStructFaultClientutil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,57 @@
+package org.apache.axis2.interopt.whitemesa.round4.complex.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+* 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.
+*
+*
+*/
+public class EchoBaseStructFaultClientutil implements WhitemesaR4ClientUtil{
+
+    public OMElement getEchoOMElement() {
+
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoBaseStructFault", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+        method.addAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance",null);
+        method.addAttribute("xmlns:xsd","http://www.w3.org/2001/XMLSchema",null);
+        method.addAttribute("xmlns:ns2", "http://soapinterop.org/types", null);
+        method.addAttribute("xmlns:wsdl", "http://schemas.xmlsoap.org/wsdl/", null);
+
+
+        OMElement value1 = fac.createOMElement("param", null);
+        OMElement value2=fac.createOMElement("floatMessage",null);
+        OMElement value3=fac.createOMElement("shortMessage ",null);
+
+        value2.addChild(fac.createText(value2, "10.3"));
+        value3.addChild(fac.createText(value3, "1.55"));
+
+
+        value1.addChild(value2);
+        value1.addChild(value3);
+        method.addChild(value1);
+
+
+        return method;
+    }
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoExtendedStructFaultClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoExtendedStructFaultClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoExtendedStructFaultClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoExtendedStructFaultClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,68 @@
+package org.apache.axis2.interopt.whitemesa.round4.complex.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+* 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.
+*
+*
+*/
+public class EchoExtendedStructFaultClientUtil implements WhitemesaR4ClientUtil{
+    
+    public OMElement getEchoOMElement() {
+
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoExtendedStructFault", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+
+
+        OMElement value1 = fac.createOMElement("param", null);
+        OMElement value2=fac.createOMElement("floatMessage",null);
+        OMElement value3=fac.createOMElement("shortMessage",null);
+        OMElement value4=fac.createOMElement("stringMessage",null);
+        OMElement value5=fac.createOMElement("intMessage",null);
+        OMElement value6=fac.createOMElement("anotherIntMessage",null);
+
+
+
+        value2.addChild(fac.createText(value2, ".023"));
+        value3.addChild(fac.createText(value3, "1.3"));
+        value4.addChild(fac.createText(value4, "hi"));
+        value5.addChild(fac.createText(value5, "6"));
+        value6.addChild(fac.createText(value6, "78"));
+
+
+
+        value1.addChild(value2);
+        value1.addChild(value3);
+        value1.addChild(value4);
+        value1.addChild(value5);
+        value1.addChild(value6);
+
+        method.addChild(value1);
+
+
+        return method;
+    }
+
+
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults1ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults1ClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults1ClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults1ClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,68 @@
+package org.apache.axis2.interopt.whitemesa.round4.complex.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+/*
+* 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.
+*
+*
+*/
+public class EchoMultipleFaults1ClientUtil implements WhitemesaR4ClientUtil{
+
+    public OMElement getEchoOMElement() {
+
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoMultipleFaults1", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+
+        OMElement value1 = fac.createOMElement("whichFault", null);
+        OMElement value2=fac.createOMElement("param1",null);
+        OMElement value3=fac.createOMElement("param2",null);
+        OMElement value4 = fac.createOMElement("varInt", null);
+        OMElement value5=fac.createOMElement("varFloat",null);
+        OMElement value6=fac.createOMElement("varString",null);
+        OMElement value7 = fac.createOMElement("floatMessage", null);
+        OMElement value8=fac.createOMElement("shortMessage",null);
+
+        value1.addChild(fac.createText(value1, "10"));
+        value4.addChild(fac.createText(value4, "1"));
+        value5.addChild(fac.createText(value5, "1.0"));
+        value6.addChild(fac.createText(value6, "hi"));
+        value7.addChild(fac.createText(value7, "0.23"));
+        value8.addChild(fac.createText(value8, "45"));
+
+
+        value2.addChild(value4);
+        value2.addChild(value5);
+        value2.addChild(value6);
+
+        value3.addChild(value7);
+        value3.addChild(value8);
+        method.addChild(value1);
+        method.addChild(value2);
+        method.addChild(value3);
+
+
+        return method;
+    }
+
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults2ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults2ClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults2ClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoMultipleFaults2ClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,101 @@
+package org.apache.axis2.interopt.whitemesa.round4.complex.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+* 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.
+*
+*
+*/
+public class EchoMultipleFaults2ClientUtil implements WhitemesaR4ClientUtil{
+
+    public OMElement getEchoOMElement() {
+
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoMultipleFaults2", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+
+        OMElement value1 = fac.createOMElement("whichFault", null);
+        OMElement value2=fac.createOMElement("param1",null);
+        OMElement value3=fac.createOMElement("param2",null);
+        OMElement value4=fac.createOMElement("param3",null);
+        OMElement value5 = fac.createOMElement("floatMessage", null);
+        OMElement value6=fac.createOMElement("shortMessage",null);
+        OMElement value7=fac.createOMElement("floatMessage",null);
+        OMElement value8=fac.createOMElement("shortMessage",null);
+        OMElement value9 = fac.createOMElement("stringMessage", null);
+        OMElement value10=fac.createOMElement("intMessage",null);
+        OMElement value11=fac.createOMElement("anotherIntMessage",null);
+        OMElement value12=fac.createOMElement("floatMessage",null);
+        OMElement value13=fac.createOMElement("shortMessage",null);
+        OMElement value14=fac.createOMElement("stringMessage",null);
+        OMElement value15=fac.createOMElement("intMessage",null);
+        OMElement value16=fac.createOMElement("anotherIntMessage",null);
+        OMElement value17=fac.createOMElement("booleanMessage",null);
+
+
+        value1.addChild(fac.createText(value1, "1"));
+        value5.addChild(fac.createText(value5, "0.10"));
+        value6.addChild(fac.createText(value6, "10"));
+        value7.addChild(fac.createText(value7, "0.210"));
+        value8.addChild(fac.createText(value8, "10"));
+        value9.addChild(fac.createText(value9, "hi"));
+        value10.addChild(fac.createText(value10, "10"));
+        value11.addChild(fac.createText(value11, "15"));
+        value12.addChild(fac.createText(value12, "0.569"));
+        value13.addChild(fac.createText(value13, "10"));
+        value14.addChild(fac.createText(value14, "Nadana"));
+        value15.addChild(fac.createText(value15, "14"));
+        value16.addChild(fac.createText(value16, "89"));
+        value17.addChild(fac.createText(value17, "1"));
+
+        value2.addChild(value5);
+        value2.addChild(value6);
+        value3.addChild(value7);
+        value3.addChild(value8);
+        value3.addChild(value9);
+        value3.addChild(value10);
+        value3.addChild(value11);
+        value4.addChild(value12);
+        value4.addChild(value13);
+        value4.addChild(value14);
+        value4.addChild(value15);
+        value4.addChild(value16);
+        value4.addChild(value17);
+
+
+
+        method.addChild(value1);
+        method.addChild(value2);
+        method.addChild(value3);
+        method.addChild(value4);
+
+        return method;
+    }
+
+
+
+
+
+
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoSOAPStructFaultClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoSOAPStructFaultClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoSOAPStructFaultClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/EchoSOAPStructFaultClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,63 @@
+package org.apache.axis2.interopt.whitemesa.round4.complex.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+* 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.
+*
+*
+*/
+public class EchoSOAPStructFaultClientUtil implements WhitemesaR4ClientUtil{
+
+    public OMElement getEchoOMElement() {
+
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoSOAPStructFault", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+        method.addAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance",null);
+
+        method.addAttribute("xmlns:ns2", "http://soapinterop.org/types", null);
+        method.addAttribute("xmlns:wsdl", "http://schemas.xmlsoap.org/wsdl/", null);
+
+        OMElement value1 = fac.createOMElement("param", null);
+        OMElement value2 = fac.createOMElement("soapStruct", null);
+        OMElement value3 = fac.createOMElement("varString", null);
+        OMElement value4 = fac.createOMElement("varInt", null);
+        OMElement value5 = fac.createOMElement("varFloat", null);
+
+
+        value3.addChild(fac.createText(value3, "hi"));
+        value4.addChild(fac.createText(value4, "10"));
+        value5.addChild(fac.createText(value5, "5.3"));
+
+                                  
+        value2.addChild(value5);
+        value2.addChild(value4);
+        value2.addChild(value3);
+        value1.addChild(value2);
+        method.addChild(value1);
+
+
+        return method;
+    }
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/WhitemesaR4ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/WhitemesaR4ClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/WhitemesaR4ClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/complex/utils/WhitemesaR4ClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,25 @@
+package org.apache.axis2.interopt.whitemesa.round4.complex.utils;
+
+import org.apache.axis2.om.OMElement;
+
+/*
+* 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.
+*
+*
+*/
+public interface WhitemesaR4ClientUtil {
+    OMElement getEchoOMElement();
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/EchoBlockingClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/EchoBlockingClient.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/EchoBlockingClient.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/EchoBlockingClient.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,80 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple;
+
+import org.apache.axis2.addressing.EndpointReference;
+
+import org.apache.axis2.clientapi.Call;
+import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.interopt.whitemesa.round4.simple.utils.WhitemesaR4ClientUtil;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMXMLParserWrapper;
+import org.apache.axis2.om.impl.llom.util.XMLComparator;
+import org.apache.axis2.om.impl.llom.exception.XMLComparisonException;
+
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.XMLInputFactory;
+
+import java.io.*;
+
+
+/*
+ * 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.
+ *
+ *
+ */
+public class EchoBlockingClient {
+
+
+    public OMElement sendMsg(WhitemesaR4ClientUtil util,String soapAction){
+        OMElement firstchild=null;
+//        EndpointReference targetEPR = new EndpointReference("http://www.whitemesa.net:80/interop/r4/fault-rpc" );
+        EndpointReference targetEPR = new EndpointReference("http://www.whitemesa.net:80/interop/r4/fault-rpc" );
+
+        try {
+
+
+            Call call = new Call();
+            call.setTo(targetEPR);
+            call.setExceptionToBeThrownOnSOAPFault(false);
+            call.setTransportInfo(Constants.TRANSPORT_HTTP,Constants.TRANSPORT_HTTP,false);
+             call.setSoapAction(soapAction);
+            //Blocking invocation
+
+            firstchild = call.invokeBlocking("",util.getEchoOMElement());
+
+            StringWriter writer = new StringWriter();
+
+//            firstchild.serializeWithCache(XMLOutputFactory.newInstance()
+//                    .createXMLStreamWriter(writer));
+//            writer.flush();
+
+            System.out.println(writer.toString());
+//
+        } catch (AxisFault axisFault) {
+            axisFault.printStackTrace();
+//        } catch (XMLStreamException e) {
+//            e.printStackTrace();
+
+        }
+        return firstchild;
+
+    }
+  
+}
+

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoEmptyFaultClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoEmptyFaultClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoEmptyFaultClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoEmptyFaultClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,38 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+ * 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.
+ *
+ *
+ */
+public class EchoEmptyFaultClientUtil implements WhitemesaR4ClientUtil {
+
+    public OMElement getEchoOMElement() {
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoEmptyFault", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+
+        return method;
+    }
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoIntArrayFaultClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoIntArrayFaultClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoIntArrayFaultClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoIntArrayFaultClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,69 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+ * 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.
+ *
+ *
+ */
+public class EchoIntArrayFaultClientUtil implements WhitemesaR4ClientUtil {
+
+
+    public OMElement getEchoOMElement() {
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoIntArrayFault", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+       
+
+        OMElement value1 = fac.createOMElement("param", null);
+        OMElement value2=fac.createOMElement("Item",null);
+        OMElement value3=fac.createOMElement("Item",null);
+        OMElement value4=fac.createOMElement("Item",null);
+
+
+        value1.addAttribute("soapenc:arrayType","nsa:int[3]",null);
+         value1.addAttribute("soapenc:offset","[0]",null);
+        value1.addAttribute("xmlns:soapenc","http://schemas.xmlsoap.org/soap/encoding/",null);
+       value1.addAttribute("xmlns:nsa","http://www.w3.org/2001/XMLSchema",null);
+
+
+        value2.addChild(fac.createText(value2, "10"));
+        value3.addChild(fac.createText(value3, "11"));
+        value4.addChild(fac.createText(value4, "1"));
+
+        value1.addChild(value2);
+        value1.addChild(value3);
+        value1.addChild(value4);
+
+
+
+        method.addChild(value1);
+
+
+
+        return method;
+    }
+
+
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults1ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults1ClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults1ClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults1ClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,64 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+ * 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.
+ *
+ *
+ */
+public class EchoMultipleFaults1ClientUtil implements WhitemesaR4ClientUtil {
+
+    public OMElement getEchoOMElement() {
+
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoMultipleFaults1", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+
+
+        OMElement value = fac.createOMElement("whichFault", null);
+        OMElement value1 = fac.createOMElement("param1", null);
+        OMElement value2 = fac.createOMElement("param2", null);
+        OMElement value3 = fac.createOMElement("Item", null);
+        OMElement value4 = fac.createOMElement("Item", null);
+        OMElement value5 = fac.createOMElement("Item", null);
+
+
+
+        value.addChild(fac.createText(value, "10"));
+        value1.addChild(fac.createText(value1, "hi"));
+        value3.addChild(fac.createText(value3, "1.0"));
+        value4.addChild(fac.createText(value4, "20.6"));
+        value5.addChild(fac.createText(value5, "2.6"));
+
+        value2.addChild(value3);
+        value2.addChild(value4);
+        value2.addChild(value5);
+
+        method.addChild(value);
+        method.addChild(value1);
+        method.addChild(value2);
+
+
+        return method;
+    }
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults2ClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,80 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+ * 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.
+ *
+ *
+ */
+public class EchoMultipleFaults2ClientUtil implements WhitemesaR4ClientUtil{
+
+    public OMElement getEchoOMElement() {
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+
+        OMElement method = fac.createOMElement("echoMultipleFaults2", omNs);
+        method.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/",null);
+//        method.addAttribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance", null);
+//        method.addAttribute("xmlns:xsd","http://www.w3.org/2001/XMLSchema", null);
+//        method.addAttribute("xmlns:ns2","http://soapinterop.org/types", null);
+//        method.addAttribute("xmlns:soap-enc","http://schemas.xmlsoap.org/soap/encoding/", null);
+//        method.addAttribute("xmlns:wsdl","http://schemas.xmlsoap.org/wsdl/", null);
+
+        OMElement value = fac.createOMElement("whichFault", null);
+        OMElement value1 = fac.createOMElement("param1", null);
+        OMElement value2 = fac.createOMElement("param2", null);
+        OMElement value3 = fac.createOMElement("param3", null);
+
+        OMElement value4 = fac.createOMElement("Item", null);
+        OMElement value5 = fac.createOMElement("Item", null);
+       OMElement value6 = fac.createOMElement("Item", null);
+
+
+//        value.addAttribute("xsi:type", "xsd:int", null);
+//        value1.addAttribute("xsi:type", "xsd:string", null);
+//
+
+        value3.addAttribute("xmlns:nsa","http://www.w3.org/2001/XMLSchema",null);
+        value3.addAttribute("soapenc:arrayType","nsa:string[3]", null);
+        value3.addAttribute("soapenc:offset","[0]", null);
+        value3.addAttribute("xmlns:soapenc","http://schemas.xmlsoap.org/soap/encoding/" , null);
+
+        value.addChild(fac.createText(value, "10"));
+        value1.addChild(fac.createText(value1, "hi"));
+        value2.addChild(fac.createText(value3, "0.236"));
+        value4.addChild(fac.createText(value4, "String1"));
+        value5.addChild(fac.createText(value5, "String2"));
+        value6.addChild(fac.createText(value6, "String3"));
+
+        value3.addChild(value4);
+        value3.addChild(value5);
+        value3.addChild(value6);
+
+        method.addChild(value);
+        method.addChild(value1);
+        method.addChild(value2);
+        method.addChild(value3);
+
+
+        return method;
+    }
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults3Clientutil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults3Clientutil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults3Clientutil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults3Clientutil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,56 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+ * 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.
+ *
+ *
+ */
+public class EchoMultipleFaults3Clientutil implements WhitemesaR4ClientUtil{
+    public OMElement getEchoOMElement() {
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoMultipleFaults3", omNs);
+        method.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/",null);
+
+
+        OMElement value = fac.createOMElement("whichFault", null);
+        OMElement value1 = fac.createOMElement("param1", null);
+        OMElement value2 = fac.createOMElement("param2", null);
+
+
+
+
+        value.addChild(fac.createText(value, "10"));
+        value1.addChild(fac.createText(value1, "hi"));
+        value2.addChild(fac.createText(value2, "hello"));
+
+        method.addChild(value);
+        method.addChild(value1);
+        method.addChild(value2);
+
+
+
+        return method;
+    }
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoMultipleFaults4ClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,63 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+ * 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.
+ *
+ *
+ */
+public class EchoMultipleFaults4ClientUtil implements WhitemesaR4ClientUtil{
+    public OMElement getEchoOMElement() {
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+        OMElement method = fac.createOMElement("echoMultipleFaults4", omNs);
+        method.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/",null);
+//        method.addAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance", null);
+//        method.addAttribute("xmlns:xsd", "http://www.w3.org/2001/XMLSchema", null);
+//        method.addAttribute("xmlns:ns2", "http://soapinterop.org/types", null);
+//        method.addAttribute("xmlns:soap-enc", "http://schemas.xmlsoap.org/soap/encoding/", null);
+//        method.addAttribute("xmlns:wsdl", "http://schemas.xmlsoap.org/wsdl/", null);
+
+        OMElement value = fac.createOMElement("whichFault", null);
+        OMElement value1 = fac.createOMElement("param1", null);
+        OMElement value2 = fac.createOMElement("param2", null);
+
+//        value.addAttribute("xsi:type", "xsd:int", null);
+//        value1.addAttribute("xsi:type", "xsd:int", null);
+//        value2.addAttribute("xsi:type", "ns2:Enum", null);
+
+        value.addChild(fac.createText(value, "10"));
+        value1.addChild(fac.createText(value1, "11"));
+        value2.addChild(fac.createText(value2, "1"));
+
+
+        method.addChild(value);
+        method.addChild(value1);
+        method.addChild(value2);
+
+
+
+        return method;
+    }
+
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoStringFaultClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoStringFaultClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoStringFaultClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/EchoStringFaultClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,47 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple.utils;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+
+/*
+ * 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.
+ *
+ *
+ */
+public class EchoStringFaultClientUtil implements WhitemesaR4ClientUtil {
+
+    public OMElement getEchoOMElement() {
+        OMFactory fac = OMAbstractFactory.getOMFactory();
+
+        OMNamespace omNs = fac.createOMNamespace("http://soapinterop.org/wsdl", "m");
+
+
+        OMElement method = fac.createOMElement("echoStringFault", omNs);
+        method.addAttribute("soapenv:encodingStyle","http://schemas.xmlsoap.org/soap/encoding/",null);
+        
+        OMElement value = fac.createOMElement("param", null);
+
+
+        value.addChild(fac.createText(value, "Axis2 Echo String "));
+
+        method.addChild(value);
+
+        return method;
+    }
+
+
+}

Added: webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/WhitemesaR4ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/WhitemesaR4ClientUtil.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/WhitemesaR4ClientUtil.java (added)
+++ webservices/axis/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round4/simple/utils/WhitemesaR4ClientUtil.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,25 @@
+package org.apache.axis2.interopt.whitemesa.round4.simple.utils;
+
+import org.apache.axis2.om.OMElement;
+
+/*
+ * 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.
+ *
+ *
+ */
+public interface WhitemesaR4ClientUtil {
+    OMElement getEchoOMElement();
+
+}

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resBaseStructFault.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resBaseStructFault.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resBaseStructFault.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resBaseStructFault.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoBaseStructFault'.</faultstring>
+            <detail>
+               <d:part2 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl">
+                  <floatMessage>10.3</floatMessage>
+                  <shortMessage>1</shortMessage>
+               </d:part2>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resExtendedStructFault.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resExtendedStructFault.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resExtendedStructFault.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resExtendedStructFault.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoExtendedStructFault'.</faultstring>
+            <detail>
+               <d:part3 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl">
+                  <floatMessage>0.023</floatMessage>
+                  <shortMessage>1</shortMessage>
+                  <stringMessage>hi</stringMessage>
+                  <intMessage>6</intMessage>
+                  <anotherIntMessage>78</anotherIntMessage>
+               </d:part3>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults1.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults1.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults1.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults1.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoMultipleFaults1'.</faultstring>
+            <detail>
+               <d:part1 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl">
+                  <soapStruct>
+                     <varString>hi</varString>
+                     <varInt>1</varInt>
+                     <varFloat>1</varFloat>
+                  </soapStruct>
+               </d:part1>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults2.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults2.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resMultipleFaults2.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoMultipleFaults2'.</faultstring>
+            <detail>
+               <d:part2 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl">
+                  <floatMessage>0.1</floatMessage>
+                  <shortMessage>10</shortMessage>
+               </d:part2>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resSoapStructFault.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resSoapStructFault.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resSoapStructFault.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/complex/resSoapStructFault.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoSOAPStructFault'.</faultstring>
+            <detail>
+               <d:part1 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl">
+                  <soapStruct>
+                     <varString>hi</varString>
+                     <varInt>10</varInt>
+                     <varFloat>5.3</varFloat>
+                  </soapStruct>
+               </d:part1>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resEmptyFault.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resEmptyFault.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resEmptyFault.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resEmptyFault.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoEmptyFault'.</faultstring>
+            <detail>
+               <d:part1 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl" />
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resIntArray.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resIntArray.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resIntArray.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resIntArray.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode><faultstring>Fault in response to 'echoIntArrayFault'.</faultstring><detail><d:part5 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENC:arrayType="nsa:int[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl" xmlns:nsa="http://www.w3.org/2001/XMLSchema"><item>10</item><item>11</item><item>1</item></d:part5></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults1.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults1.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults1.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults1.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoMultipleFaults1'.</faultstring>
+            <detail>
+               <d:part1 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl" />
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults3.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults3.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults3.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults3.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoMultipleFaults3'.</faultstring>
+            <detail>
+               <d:part2 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl/fault1">hi</d:part2>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults4.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults4.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults4.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultipleFaults4.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoMultipleFaults4'.</faultstring>
+            <detail>
+               <d:part3 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl">11</d:part3>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultiplefaults2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultiplefaults2.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultiplefaults2.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resMultiplefaults2.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoMultipleFaults2'.</faultstring>
+            <detail>
+               <d:part4 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl">0.236</d:part4>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resStringFault.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resStringFault.xml?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resStringFault.xml (added)
+++ webservices/axis/trunk/java/modules/integration/test-resources/interopt/whitemesa/round4/res/resStringFault.xml Sun Aug 21 23:59:47 2005
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+      <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+            <faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Server</faultcode>
+            <faultstring>Fault in response to 'echoStringFault'.</faultstring>
+            <detail>
+               <d:part2 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://soapinterop.org/wsdl">Axis2 Echo String </d:part2>
+            </detail>
+         </SOAP-ENV:Fault>
+      </SOAP-ENV:Body>
+   </SOAP-ENV:Envelope>
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/complex/WhitemesaR4ComplexTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/complex/WhitemesaR4ComplexTest.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/complex/WhitemesaR4ComplexTest.java (added)
+++ webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/complex/WhitemesaR4ComplexTest.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,110 @@
+package org.apache.axis2.interopt.whitmesa.round4.complex;
+
+import junit.framework.TestCase;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMXMLParserWrapper;
+import org.apache.axis2.om.impl.llom.exception.XMLComparisonException;
+import org.apache.axis2.om.impl.llom.util.XMLComparator;
+import org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.interopt.whitemesa.round4.complex.EchoBlockingClient;
+import org.apache.axis2.interopt.whitemesa.round4.complex.utils.*;
+
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLInputFactory;
+import java.io.InputStream;
+/*
+* 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: Aug 22, 2005
+ * Time: 12:05:53 PM
+ */
+public class WhitemesaR4ComplexTest extends TestCase {
+    EchoBlockingClient client=null;
+    OMElement retEle;
+    WhitemesaR4ClientUtil util=null;
+    String soapAction="";
+
+    public void setUp(){
+        retEle=null;
+        util=null;
+        client=new EchoBlockingClient();
+
+    }
+
+    private boolean Compare(OMElement retEle,String filepath) throws XMLStreamException,
+            XMLComparisonException {
+        boolean compare=false;
+        if(retEle!=null){
+            Class cls = Object.class;
+            InputStream stream = cls.getResourceAsStream(filepath);
+            javax.xml.stream.XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(stream);
+            OMXMLParserWrapper builder = new StAXSOAPModelBuilder(parser, null);
+            SOAPEnvelope resEnv = (SOAPEnvelope) builder.getDocumentElement();
+            OMElement resElementtobe = resEnv.getBody().getFirstElement();
+            XMLComparator comparator = new XMLComparator();
+            compare = comparator.compare(retEle,resElementtobe);
+
+        }
+        return compare;
+    }
+
+    //echoSoapStructFault
+    public void testSoapStructFault() throws Exception {
+        util=new EchoSOAPStructFaultClientUtil();
+        retEle = client.sendMsg(util,soapAction);
+        assertTrue(Compare(retEle,"/interopt/whitemesa/round4/complex/resSoapStructFault.xml"));
+    }
+
+    //echoBaseSoapStructFault
+    public void testBaseStructFault()throws Exception{
+        util=new EchoBaseStructFaultClientutil();
+        retEle = client.sendMsg(util,soapAction);
+        assertTrue(Compare( retEle,"/interopt/whitemesa/round4/complex/resBaseStructFault.xml"));
+
+    }
+
+    //echoExtendedStructFault
+    public void testExtendedStructFault()throws Exception{
+        util=new EchoExtendedStructFaultClientUtil();
+        retEle = client.sendMsg(util,soapAction);
+        assertTrue(Compare( retEle,"/interopt/whitemesa/round4/complex/resExtendedStructFault.xml"));
+
+    }
+
+    //echomultiplefaults1
+    public void testMultiplefaults1()throws Exception{
+        util=new EchoMultipleFaults1ClientUtil();
+        retEle = client.sendMsg(util,soapAction);
+        assertTrue(Compare( retEle,"/interopt/whitemesa/round4/complex/resMultipleFaults1.xml"));
+    }
+
+    //echomultiplefaults2
+    public void testMultiplefaults2()throws Exception{
+        util=new EchoMultipleFaults2ClientUtil();
+        retEle = client.sendMsg(util,soapAction);
+        assertTrue(Compare( retEle,"/interopt/whitemesa/round4/complex/resMultipleFaults2.xml"));
+
+
+    }
+
+}
+
+

Added: webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/simple/WhitemesaR4SimpleTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/simple/WhitemesaR4SimpleTest.java?rev=234445&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/simple/WhitemesaR4SimpleTest.java (added)
+++ webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/interopt/whitmesa/round4/simple/WhitemesaR4SimpleTest.java Sun Aug 21 23:59:47 2005
@@ -0,0 +1,123 @@
+package org.apache.axis2.interopt.whitmesa.round4.simple;
+
+import junit.framework.TestCase;
+import org.apache.axis2.interopt.whitemesa.round4.simple.EchoBlockingClient;
+import org.apache.axis2.interopt.whitemesa.round4.simple.utils.*;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMXMLParserWrapper;
+import org.apache.axis2.om.impl.llom.exception.XMLComparisonException;
+import org.apache.axis2.om.impl.llom.util.XMLComparator;
+import org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder;
+import org.apache.axis2.soap.SOAPEnvelope;
+
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLInputFactory;
+import java.io.InputStream;
+import java.io.File;
+/*
+* 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: Aug 22, 2005
+ * Time: 11:34:14 AM
+ */
+public class WhitemesaR4SimpleTest extends TestCase {
+
+
+    EchoBlockingClient client = null;
+    OMElement retEle = null;
+    WhitemesaR4ClientUtil util=null;
+    String soapAction = "";
+
+
+
+
+    public void setUp(){
+        client = new EchoBlockingClient();
+        retEle = null;
+        util=null;
+    }
+
+    private boolean compare(OMElement retEle,String filePath) throws XMLStreamException,
+            XMLComparisonException {
+        boolean compare = false;
+        if(retEle!=null) {
+            Class cls = Object.class;
+            InputStream stream = cls.getResourceAsStream(filePath);
+            javax.xml.stream.XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(stream);
+            OMXMLParserWrapper builder = new StAXSOAPModelBuilder(parser, null);
+            SOAPEnvelope resEnv = (SOAPEnvelope) builder.getDocumentElement();
+            OMElement resElementtobe = resEnv.getBody().getFirstElement();
+            XMLComparator comparator = new XMLComparator();
+            compare = comparator.compare(retEle,resElementtobe);
+
+        }
+        return compare;
+    }
+
+
+    public void testEchoEmptyFault()  throws Exception{
+        util=new EchoEmptyFaultClientUtil();
+        retEle =client.sendMsg(util,soapAction);
+        assertTrue(compare(retEle,"/interopt/whitemesa/round4/res/resEmptyFault.xml"));
+    }
+
+    public void testEchoStringFault() throws Exception{
+        //echoStringFault
+        util=new EchoStringFaultClientUtil();
+        retEle =client.sendMsg(util,soapAction);
+        assertTrue(compare(retEle,"/interopt/whitemesa/round4/res/resStringFault.xml"));
+
+    }
+
+    //todo the messages are received right but the comparison changes. Have to check the comparator
+
+//    public void testEchoIntArrayFault() throws Exception{
+//        util=new EchoIntArrayFaultClientUtil();
+//        retEle =client.sendMsg(util,soapAction);
+//        assertTrue(compare(retEle,"/testResource/res/resIntArray.xml"));
+//
+//
+//    }
+
+    public void testEchoMultipleFaults1() throws Exception{
+        util=new EchoMultipleFaults1ClientUtil();
+        retEle =client.sendMsg(util,soapAction);
+        assertTrue(compare(retEle,"/interopt/whitemesa/round4/res/resMultipleFaults1.xml"));
+
+    }
+    public void testEchoMultipleFaults2() throws Exception{
+        util=new EchoMultipleFaults2ClientUtil();
+        retEle =client.sendMsg(util,soapAction);
+        assertTrue(compare(retEle,"/interopt/whitemesa/round4/res/resMultiplefaults2.xml"));
+
+    }
+    public void testEchoMultipleFaults3() throws Exception{
+        util=new EchoMultipleFaults3Clientutil();
+        retEle =client.sendMsg(util,soapAction);
+        assertTrue(compare(retEle,"/interopt/whitemesa/round4/res/resMultiplefaults3.xml"));
+    }
+    public void testEchoMultipleFaults4() throws Exception{
+        util=new EchoMultipleFaults4ClientUtil();
+        retEle =client.sendMsg(util,soapAction);
+        assertTrue( compare(retEle,"/interopt/whitemesa/round4/res/resMultipleFaults4.xml"));
+    }
+
+}
+

Modified: webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java?rev=234445&r1=234444&r2=234445&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java Sun Aug 21 23:59:47 2005
@@ -51,7 +51,7 @@
  */
 public class MailetRequestResponceRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference("foo@127.0.0.1" +
+            new EndpointReference("axis2-server@127.0.0.1" +
             "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());
     private QName serviceName = new QName("EchoXMLService");
@@ -165,92 +165,4 @@
         call.close();
 
     }
-
-//    public ConfigurationContext createServerConfigurationContext() throws Exception {
-//        ConfigurationContextFactory builder = new ConfigurationContextFactory();
-//        ConfigurationContext configContext =
-//                builder.buildConfigurationContext(
-//                        org.apache.axis2.Constants.TESTING_REPOSITORY);
-//
-//        TransportInDescription transportIn =
-//                new TransportInDescription(new QName(Constants.TRANSPORT_MAIL));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.pop3.host", "127.0.0.1"));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.pop3.user",
-//                        "server@127.0.0.1"));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.pop3.password", "axis2"));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.pop3.port", "1134"));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.replyToAddress",
-//                        "foo@127.0.0.1"));
-//        transportIn.setReceiver(new SimpleMailListener());
-//        transportIn.getReceiver().init(configContext, transportIn);
-//
-//        TransportOutDescription transportOut =
-//                new TransportOutDescription(
-//                        new QName(Constants.TRANSPORT_MAIL));
-//
-//        transportOut.addParameter(
-//                new ParameterImpl("transport.mail.smtp.host", "127.0.0.1"));
-//        transportOut.addParameter(
-//                new ParameterImpl("transport.mail.smtp.user", "server"));
-//        transportOut.addParameter(
-//                new ParameterImpl("transport.mail.smtp.password", "axis2"));
-//        transportOut.addParameter(
-//                new ParameterImpl("transport.mail.smtp.port", "1049"));
-//        transportOut.setSender(new MailTransportSender());
-//        transportOut.getSender().init(configContext, transportOut);
-//
-//        configContext.getAxisConfiguration().addTransportIn(transportIn);
-//        configContext.getAxisConfiguration().addTransportOut(transportOut);
-//        return configContext;
-//    }
-//
-//    public ConfigurationContext createClientConfigurationContext() throws Exception {
-//        ConfigurationContextFactory builder = new ConfigurationContextFactory();
-//        ConfigurationContext configContext =
-//                builder.buildConfigurationContext(
-//                        org.apache.axis2.Constants.TESTING_REPOSITORY);
-//
-//        TransportInDescription transportIn =
-//                new TransportInDescription(new QName(Constants.TRANSPORT_MAIL));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.pop3.host", "127.0.0.1"));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.pop3.user",
-//                        "client@127.0.0.1"));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.pop3.password", "axis2"));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.pop3.port", "1134"));
-//        transportIn.addParameter(
-//                new ParameterImpl("transport.mail.replyToAddress",
-//                        "client@127.0.0.1"));
-//        transportIn.setReceiver(new SimpleMailListener());
-//        transportIn.getReceiver().init(configContext, transportIn);
-//
-//        TransportOutDescription transportOut =
-//                new TransportOutDescription(
-//                        new QName(Constants.TRANSPORT_MAIL));
-//
-//        transportOut.addParameter(
-//                new ParameterImpl("transport.mail.smtp.host", "127.0.0.1"));
-//        transportOut.addParameter(
-//                new ParameterImpl("transport.mail.smtp.user", "client"));
-//        transportOut.addParameter(
-//                new ParameterImpl("transport.mail.smtp.password", "axis2"));
-//        transportOut.addParameter(
-//                new ParameterImpl("transport.mail.smtp.port", "1049"));
-//        transportOut.setSender(new MailTransportSender());
-//        transportOut.getSender().init(configContext, transportOut);
-//
-//        configContext.getAxisConfiguration().addTransportIn(transportIn);
-//        configContext.getAxisConfiguration().addTransportOut(transportOut);
-//        return configContext;
-//    }
-//
-
 }