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/09/06 09:33:44 UTC

svn commit: r278936 [15/16] - in /webservices/axis2/trunk/java/modules/integration: itest-resources/interopt/whitemesa/round2/ itest-resources/interopt/whitemesa/round3/ itest/org/apache/axis2/interopt/whitmesa/round1/ itest/org/apache/axis2/interopt/w...

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcFloatUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcFloatUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcFloatUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcFloatUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,90 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
+
+/*
+* 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: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcFloatUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+        block1.addAttribute("xsi:type", "xsd:string", null);
+        block1.addChild(omfactory.createText("string"));
+        // header.addChild(headerChild);
+        header.addChild(block1);
+
+        SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+        block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+        OMElement h2Val1 = omfactory.createOMElement("varString", null);
+        h2Val1.addAttribute("xsi:type", "xsd:string", null);
+        h2Val1.addChild(omfactory.createText("string"));
+
+        OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+        h2Val2.addAttribute("xsi:type", "xsd:int", null);
+        h2Val2.addChild(omfactory.createText("150"));
+
+        OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+        h2Val3.addAttribute("xsi:type", "xsd:float", null);
+        h2Val3.addChild(omfactory.createText("456.321"));
+
+        block2.addChild(h2Val1);
+        block2.addChild(h2Val2);
+        block2.addChild(h2Val3);
+
+        OMElement operation = omfactory.createOMElement("echoFloat", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputFloat", "", null);
+        part.addAttribute("xsi:type", "xsd:float", null);
+        part.addChild(omfactory.createText("50.25"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+
+}
+
+
+

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,93 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.soap.*;
+
+/*
+* 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: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcHexBinaryUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+        block1.addAttribute("xsi:type", "xsd:string", null);
+        block1.addChild(omfactory.createText("string"));
+        // header.addChild(headerChild);
+        header.addChild(block1);
+
+        SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+        block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+        OMElement h2Val1 = omfactory.createOMElement("varString", null);
+        h2Val1.addAttribute("xsi:type", "xsd:string", null);
+        h2Val1.addChild(omfactory.createText("string"));
+
+        OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+        h2Val2.addAttribute("xsi:type", "xsd:int", null);
+        h2Val2.addChild(omfactory.createText("852"));
+
+        OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+        h2Val3.addAttribute("xsi:type", "xsd:float", null);
+        h2Val3.addChild(omfactory.createText("456.321"));
+
+        block2.addChild(h2Val1);
+        block2.addChild(h2Val2);
+        block2.addChild(h2Val3);
+
+        OMElement operation = omfactory.createOMElement("echoHexBinary", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+        OMElement part = omfactory.createOMElement("inputHexBinary", "", null);
+        part.addAttribute("xsi:type", "xsd:hexBinary", null);
+        part.addChild(omfactory.createText("41394644363445313243"));
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+}
+
+/**
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<SOAP-ENV:Body>
+		<m:echoHexBinary xmlns:m="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
+			<inputHexBinary xsi:type="xsd:hexBinary">41394644363445313243</inputHexBinary>
+		</m:echoHexBinary>
+	</SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
+*/

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,98 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcIntegerArrayUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+        block1.addAttribute("xsi:type", "xsd:string", null);
+        block1.addChild(omfactory.createText("string"));
+        // header.addChild(headerChild);
+        header.addChild(block1);
+
+        SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+        block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+        OMElement h2Val1 = omfactory.createOMElement("varString", null);
+        h2Val1.addAttribute("xsi:type", "xsd:string", null);
+        h2Val1.addChild(omfactory.createText("string"));
+
+        OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+        h2Val2.addAttribute("xsi:type", "xsd:int", null);
+        h2Val2.addChild(omfactory.createText("150"));
+
+        OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+        h2Val3.addAttribute("xsi:type", "xsd:float", null);
+        h2Val3.addChild(omfactory.createText("456.321"));
+
+        block2.addChild(h2Val1);
+        block2.addChild(h2Val2);
+        block2.addChild(h2Val3);
+
+        OMElement operation = omfactory.createOMElement("echoIntegerArray", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+        OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
+        part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+        part.addAttribute("SOAP-ENC:arrayType", "xsd:int[3]", null);
+        OMElement value0 = omfactory.createOMElement("varString", "", null);
+        value0.addAttribute("xsi:type", "xsd:int", null);
+        value0.addChild(omfactory.createText("451"));
+        OMElement value1 = omfactory.createOMElement("varString", "", null);
+        value1.addAttribute("xsi:type", "xsd:int", null);
+        value1.addChild(omfactory.createText("425"));
+        OMElement value2 = omfactory.createOMElement("varString", "", null);
+        value2.addAttribute("xsi:type", "xsd:int", null);
+        value2.addChild(omfactory.createText("2523"));
+
+        part.addChild(value0);
+        part.addChild(value1);
+        part.addChild(value2);
+
+        operation.addChild(part);
+
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,88 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcIntergerUtil implements SunRound2ClientUtil{
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/","soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema","xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/","SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd","s");
+        reqEnv.declareNamespace("http://soapinterop.org/","m");
+
+        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+        OMNamespace hns= reqEnv.declareNamespace("http://soapinterop.org/echoheader/","hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest",hns);
+        block1.addAttribute("xsi:type","xsd:string",null);
+        block1.addChild(omfactory.createText("string"));
+       // header.addChild(headerChild);
+        header.addChild(block1);
+
+        SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest",hns);
+        block2.addAttribute("xsi:type","s:SOAPStruct",null);
+
+        OMElement h2Val1=omfactory.createOMElement("varString",null);
+        h2Val1.addAttribute("xsi:type","xsd:string",null);
+        h2Val1.addChild(omfactory.createText("string"));
+
+        OMElement h2Val2=omfactory.createOMElement("varInt",null);
+        h2Val2.addAttribute("xsi:type","xsd:int",null);
+        h2Val2.addChild(omfactory.createText("150"));
+
+        OMElement h2Val3=omfactory.createOMElement("varFloat",null);
+        h2Val3.addAttribute("xsi:type","xsd:float",null);
+        h2Val3.addChild(omfactory.createText("456.321"));
+
+        block2.addChild(h2Val1);
+        block2.addChild(h2Val2);
+        block2.addChild(h2Val3);
+
+        OMElement operation = omfactory.createOMElement("echoInteger","http://soapinterop.org/",  null);
+
+        //operation.setNamespace(ns);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputInteger", null);
+        part.addAttribute("xsi:type", "xsd:int", null);
+        part.addChild(omfactory.createText("456"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,99 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
+
+/*
+* 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: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcStringArrayUtil implements SunRound2ClientUtil{
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/","soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema","xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/","SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd","s");
+        reqEnv.declareNamespace("http://soapinterop.org/","m");
+
+        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+        OMNamespace hns= reqEnv.declareNamespace("http://soapinterop.org/echoheader/","hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest",hns);
+        block1.addAttribute("xsi:type","xsd:string",null);
+        block1.addChild(omfactory.createText("string"));
+       // header.addChild(headerChild);
+        header.addChild(block1);
+
+        SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest",hns);
+        block2.addAttribute("xsi:type","s:SOAPStruct",null);
+
+        OMElement h2Val1=omfactory.createOMElement("varString",null);
+        h2Val1.addAttribute("xsi:type","xsd:string",null);
+        h2Val1.addChild(omfactory.createText("string"));
+
+        OMElement h2Val2=omfactory.createOMElement("varInt",null);
+        h2Val2.addAttribute("xsi:type","xsd:int",null);
+        h2Val2.addChild(omfactory.createText("150"));
+
+        OMElement h2Val3=omfactory.createOMElement("varFloat",null);
+        h2Val3.addAttribute("xsi:type","xsd:float",null);
+        h2Val3.addChild(omfactory.createText("456.321"));
+
+        block2.addChild(h2Val1);
+        block2.addChild(h2Val2);
+        block2.addChild(h2Val3);
+
+        OMElement operation = omfactory.createOMElement("echoStringArray", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputStringArray", "", null);
+        part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+        part.addAttribute("SOAP-ENC:arrayType", "xsd:string[3]", null);
+
+        OMElement value0 = omfactory.createOMElement("varString", "", null);
+        value0.addAttribute("xsi:type", "xsd:string", null);
+        value0.addChild(omfactory.createText("Apache Axis2"));
+        OMElement value1 = omfactory.createOMElement("varString", "", null);
+        value1.addAttribute("xsi:type", "xsd:string", null);
+        value1.addChild(omfactory.createText("Lanka Software Foundation"));
+        OMElement value2 = omfactory.createOMElement("varString", "", null);
+        value2.addAttribute("xsi:type", "xsd:string", null);
+        value2.addChild(omfactory.createText("www.opensource.lk"));
+
+        part.addChild(value0);
+        part.addChild(value1);
+        part.addChild(value2);
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,138 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcStructArrayUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+        block1.addAttribute("xsi:type", "xsd:string", null);
+        block1.addChild(omfactory.createText("string"));
+        // header.addChild(headerChild);
+        header.addChild(block1);
+
+        SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+        block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+        OMElement h2Val1 = omfactory.createOMElement("varString", null);
+        h2Val1.addAttribute("xsi:type", "xsd:string", null);
+        h2Val1.addChild(omfactory.createText("string"));
+
+        OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+        h2Val2.addAttribute("xsi:type", "xsd:int", null);
+        h2Val2.addChild(omfactory.createText("150"));
+
+        OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+        h2Val3.addAttribute("xsi:type", "xsd:float", null);
+        h2Val3.addChild(omfactory.createText("456.321"));
+
+        block2.addChild(h2Val1);
+        block2.addChild(h2Val2);
+        block2.addChild(h2Val3);
+
+        OMElement operation = omfactory.createOMElement("echoStructArray", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputStructArray", "", null);
+        part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+        part.addAttribute("SOAP-ENC:arrayType", "s:SOAPStruct[3]", null);
+
+        OMElement item0 = omfactory.createOMElement("item0", null);
+
+        OMElement value00 = omfactory.createOMElement("varString", "", null);
+        value00.addAttribute("xsi:type", "xsd:string", null);
+        value00.addChild(omfactory.createText("strss fdfing1"));
+        OMElement value01 = omfactory.createOMElement("varInt", "", null);
+        value01.addAttribute("xsi:type", "xsd:int", null);
+        value01.addChild(omfactory.createText("25"));
+        OMElement value02 = omfactory.createOMElement("varFloat", "", null);
+        value02.addAttribute("xsi:type", "xsd:float", null);
+        value02.addChild(omfactory.createText("25.23"));
+
+        OMElement item1 = omfactory.createOMElement("item0", null);
+
+        OMElement value10 = omfactory.createOMElement("varString", "", null);
+        value10.addAttribute("xsi:type", "xsd:string", null);
+        value10.addChild(omfactory.createText("strss fdfing1"));
+        OMElement value11 = omfactory.createOMElement("varInt", "", null);
+        value11.addAttribute("xsi:type", "xsd:int", null);
+        value11.addChild(omfactory.createText("25"));
+        OMElement value12 = omfactory.createOMElement("varFloat", "", null);
+        value12.addAttribute("xsi:type", "xsd:float", null);
+        value12.addChild(omfactory.createText("25.23"));
+
+        OMElement item2 = omfactory.createOMElement("item0", null);
+
+        OMElement value20 = omfactory.createOMElement("varString", "", null);
+        value20.addAttribute("xsi:type", "xsd:string", null);
+        value20.addChild(omfactory.createText("strss fdfing1"));
+        OMElement value21 = omfactory.createOMElement("varInt", "", null);
+        value21.addAttribute("xsi:type", "xsd:int", null);
+        value21.addChild(omfactory.createText("25"));
+        OMElement value22 = omfactory.createOMElement("varFloat", "", null);
+        value22.addAttribute("xsi:type", "xsd:float", null);
+        value22.addChild(omfactory.createText("25.23"));
+
+        item0.addChild(value00);
+        item0.addChild(value01);
+        item0.addChild(value02);
+
+        item1.addChild(value10);
+        item1.addChild(value11);
+        item1.addChild(value12);
+
+        item2.addChild(value20);
+        item2.addChild(value21);
+        item2.addChild(value22);
+
+        part.addChild(item0);
+        part.addChild(item1);
+        part.addChild(item2);
+
+        operation.addChild(part);
+
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,97 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcStructUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+        block1.addAttribute("xsi:type", "xsd:string", null);
+        block1.addChild(omfactory.createText("string"));
+        // header.addChild(headerChild);
+        header.addChild(block1);
+
+        SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+        block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+        OMElement h2Val1 = omfactory.createOMElement("varString", null);
+        h2Val1.addAttribute("xsi:type", "xsd:string", null);
+        h2Val1.addChild(omfactory.createText("string"));
+
+        OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+        h2Val2.addAttribute("xsi:type", "xsd:int", null);
+        h2Val2.addChild(omfactory.createText("150"));
+
+        OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+        h2Val3.addAttribute("xsi:type", "xsd:float", null);
+        h2Val3.addChild(omfactory.createText("456.321"));
+
+        block2.addChild(h2Val1);
+        block2.addChild(h2Val2);
+        block2.addChild(h2Val3);
+
+        OMElement operation = omfactory.createOMElement("echoStruct", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+        OMElement part = omfactory.createOMElement("inputStruct", "", null);
+        part.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+        OMElement value0 = omfactory.createOMElement("varString", "", null);
+        value0.addAttribute("xsi:type", "xsd:string", null);
+        value0.addChild(omfactory.createText("strss fdfing1"));
+        OMElement value1 = omfactory.createOMElement("varInt", "", null);
+        value1.addAttribute("xsi:type", "xsd:int", null);
+        value1.addChild(omfactory.createText("25"));
+        OMElement value2 = omfactory.createOMElement("varFloat", "", null);
+        value2.addAttribute("xsi:type", "xsd:float", null);
+        value2.addChild(omfactory.createText("25.23"));
+
+        part.addChild(value0);
+        part.addChild(value1);
+        part.addChild(value2);
+
+        operation.addChild(part);
+
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,79 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcVoidUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+        block1.addAttribute("xsi:type", "xsd:string", null);
+        block1.addChild(omfactory.createText("string"));
+        // header.addChild(headerChild);
+        header.addChild(block1);
+
+        SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+        block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+        OMElement h2Val1 = omfactory.createOMElement("varString", null);
+        h2Val1.addAttribute("xsi:type", "xsd:string", null);
+        h2Val1.addChild(omfactory.createText("string"));
+
+        OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+        h2Val2.addAttribute("xsi:type", "xsd:int", null);
+        h2Val2.addChild(omfactory.createText("150"));
+
+        OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+        h2Val3.addAttribute("xsi:type", "xsd:float", null);
+        h2Val3.addChild(omfactory.createText("456.321"));
+
+        block2.addChild(h2Val1);
+        block2.addChild(h2Val2);
+        block2.addChild(h2Val3);
+
+        OMElement operation = omfactory.createOMElement("echoVoid", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        return reqEnv;
+
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,60 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Aug 29, 2005
+ * Time: 12:23:27 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class R2MSaxms2DStringArrayUtil implements SunRound2ClientUtil{
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        OMNamespace namespace = reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        OMNamespace namespace1 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        OMNamespace namespace2 = reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        OMNamespace namespace3 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        OMNamespace namespace4 = reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        OMNamespace namespace5 = reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        OMNamespace namespace6 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echo2DStringArray", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("input2DStringArray", "", null);
+        part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+        part.addAttribute("SOAP-ENC:arrayType", "xsd:string[2]", null);
+
+        OMElement value0 = omfactory.createOMElement("varString", "", null);
+        value0.addAttribute("xsi:type", "xsd:string", null);
+        value0.addChild(omfactory.createText("Apache Axis2"));
+        OMElement value1 = omfactory.createOMElement("varString", "", null);
+        value1.addAttribute("xsi:type", "xsd:string", null);
+        value1.addChild(omfactory.createText("Lanka Software Foundation"));
+        OMElement value2 = omfactory.createOMElement("varString", "", null);
+        value2.addAttribute("xsi:type", "xsd:string", null);
+        value2.addChild(omfactory.createText("www.opensource.lk"));
+
+        part.addChild(value0);
+        part.addChild(value1);
+        part.addChild(value2);
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBase64ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBase64ClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBase64ClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBase64ClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,70 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoBase64ClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoBase64", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputBase64", "", null);
+        part.addAttribute("xsi:type", "xsd:base64Binary", null);
+        part.addChild(omfactory.createText("UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+}
+/**
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<SOAP-ENV:Body>
+		<m:echoBase64 xmlns:m="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
+			<inputBase64 xsi:type="xsd:base64Binary">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</inputBase64>
+		</m:echoBase64>
+	</SOAP-ENV:Body>
+</SOAP-ENV:Envelope>*/

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,64 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoBooleanClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoBoolean", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputBoolean", "", null);
+        part.addAttribute("xsi:type", "xsd:boolean", null);
+        part.addChild(omfactory.createText("true"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,63 @@
+ package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoDateClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoDate", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputDate", "", null);
+        part.addAttribute("xsi:type", "xsd:dateTime", null);
+        part.addChild(omfactory.createText("2002-07-18T19:40:30.387-06:00"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,64 @@
+
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoDecimalClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoDecimal", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputDecimal", "", null);
+        part.addAttribute("xsi:type", "xsd:decimal", null);
+        part.addChild(omfactory.createText("455646152"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,77 @@
+
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoFloatArrayClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        //OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoFloatArray", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputFloatArray", "", null);
+        part.addAttribute("xsi:type", "xsd:int", null);
+        part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+        part.addAttribute("SOAP-ENC:arrayType", "xsd:float[3]", null);
+
+        OMElement value0 = omfactory.createOMElement("varString", "", null);
+        value0.addAttribute("xsi:type", "xsd:float", null);
+        value0.addChild(omfactory.createText("45.76876"));
+        OMElement value1 = omfactory.createOMElement("varInt", "", null);
+        value1.addAttribute("xsi:type", "xsd:float", null);
+        value1.addChild(omfactory.createText("43.454"));
+        OMElement value2 = omfactory.createOMElement("varFloat", "", null);
+        value2.addAttribute("xsi:type", "xsd:float", null);
+        value2.addChild(omfactory.createText("2523.542"));
+
+        part.addChild(value0);
+        part.addChild(value1);
+        part.addChild(value2);
+
+        operation.addChild(part);
+        return reqEnv;
+
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,64 @@
+
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoFloatClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        //OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoFloat", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputFloat", "", null);
+        part.addAttribute("xsi:type", "xsd:float", null);
+        part.addChild(omfactory.createText("50.25"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,64 @@
+
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoHexBinaryClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+        reqEnv.declareNamespace("http://microsoft.com/wsdl/mime/textMatching/","tm");
+
+        OMElement operation = omfactory.createOMElement("echoHexBinary", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputHexBinary", "", null);
+        part.addAttribute("xsi:type", "xsd:hexBinary", null);
+        part.addChild(omfactory.createText("AAABBAAE"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,75 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoIntegerArrayclientUtil implements SunRound2ClientUtil{
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+            SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+            SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+            reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+            //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+            reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+            reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+            reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+            reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+            reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+            reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoIntegerArray", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+        OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
+        part.addAttribute("xsi:type","SOAP-ENC:Array",null);
+        part.addAttribute("SOAP-ENC:arrayType","xsd:int[3]",null);
+        OMElement value0 = omfactory.createOMElement("varString", "", null);
+        value0.addAttribute("xsi:type", "xsd:int", null);
+        value0.addChild(omfactory.createText("451"));
+        OMElement value1 = omfactory.createOMElement("varString", "", null);
+        value1.addAttribute("xsi:type", "xsd:int", null);
+        value1.addChild(omfactory.createText("425"));
+        OMElement value2 = omfactory.createOMElement("varString", "", null);
+        value2.addAttribute("xsi:type", "xsd:int", null);
+        value2.addChild(omfactory.createText("2523"));
+
+        part.addChild(value0);
+        part.addChild(value1);
+        part.addChild(value2);
+
+        operation.addChild(part);
+
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,60 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoIntegerClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoInteger", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputInteger", "", null);
+        part.addAttribute("xsi:type", "xsd:int", null);
+        part.addChild(omfactory.createText("52"));
+        operation.addChild(part);
+        return reqEnv;
+
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,76 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoStringArrayClientUtil implements SunRound2ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoStringArray", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputStringArray", "", null);
+        part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+        part.addAttribute("SOAP-ENC:arrayType", "xsd:string[3]", null);
+
+        OMElement value0 = omfactory.createOMElement("varString", "", null);
+        value0.addAttribute("xsi:type", "xsd:string", null);
+        value0.addChild(omfactory.createText("Apache Axis2"));
+        OMElement value1 = omfactory.createOMElement("varString", "", null);
+        value1.addAttribute("xsi:type", "xsd:string", null);
+        value1.addChild(omfactory.createText("Lanka Software Foundation"));
+        OMElement value2 = omfactory.createOMElement("varString", "", null);
+        value2.addAttribute("xsi:type", "xsd:string", null);
+        value2.addChild(omfactory.createText("www.opensource.lk"));
+
+        part.addChild(value0);
+        part.addChild(value1);
+        part.addChild(value2);
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+    }
+}

Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java?rev=278936&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java Tue Sep  6 00:28:01 2005
@@ -0,0 +1,67 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoStringclientUtil implements SunRound2ClientUtil {
+
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+        OMElement operation = omfactory.createOMElement("echoString", "http://soapinterop.org/", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("inputString", "", null);
+        part.addAttribute("xsi:type", "xsd:string", null);
+        part.addChild(omfactory.createText("String Argument"));
+
+        operation.addChild(part);
+        //reqEnv.getBody().addChild(method);
+        return reqEnv;
+
+    }
+
+}