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/15 14:25:50 UTC
svn commit: r289221 [4/4] - in
/webservices/axis2/trunk/java/modules/integration:
itest-resources/interopt/whitemesa/round1/
itest-resources/interopt/whitemesa/round2/SOAP12/
itest/org/apache/axis2/interopt/whitmesa/round1/
itest/org/apache/axis2/inter...
Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12IntegerUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12IntegerUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12IntegerUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12IntegerUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,45 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 5, 2005
+ * Time: 4:28:22 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12IntegerUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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://www.w3.org/2003/05/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/soap12/Round2Soap12StringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringArrayUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringArrayUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,59 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 5, 2005
+ * Time: 4:09:55 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12StringArrayUtil implements SunRound2ClientUtil {
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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://www.w3.org/2003/05/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/soap12/Round2Soap12StringUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,55 @@
+package org.apache.axis2.interopt.whitemesa.round2.util;
+ //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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 5, 2005
+ * Time: 3:20:25 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12StringUtil implements SunRound2ClientUtil{
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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/soap12/", "soap12");//xmlns:soap12="
+ 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("echoString", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/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;
+
+ }
+
+//} <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:echoString xmlns:m="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
+// <inputString xsi:type="xsd:string">String</inputString>
+// </m:echoString>
+// </SOAP-ENV:Body>
+//</SOAP-ENV:Envelope>
+}
Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Saop12GroupcFloatUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Saop12GroupcFloatUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Saop12GroupcFloatUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Saop12GroupcFloatUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,73 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:37:03 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Saop12GroupcFloatUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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://www.w3.org/2003/05/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/soap12/WMRound2Soap12GroupcBase64Util.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,73 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:47:52 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcBase64Util implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+
+ 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("echoBase64", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
+
+ OMElement part = omfactory.createOMElement("inputBase64", "", null);
+ part.addAttribute("xsi:type", "xsd:base64Binary", null);
+ part.addChild(omfactory.createText("SGVsbG8gV29ybGQ="));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBooleanUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBooleanUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBooleanUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBooleanUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,72 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:52:44 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcBooleanUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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("echoBoolean", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
+
+ OMElement part = omfactory.createOMElement("inputBoolean", "", null);
+ part.addAttribute("xsi:type", "xsd:boolean", null);
+ part.addChild(omfactory.createText("1"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method); inputBoolean" type="xsd:boolean"/>
+ return reqEnv;
+
+ }
+}
Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcEchoStringUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcEchoStringUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcEchoStringUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcEchoStringUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,74 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:31:40 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcEchoStringUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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("echoString", "http://soapinterop.org/", null);
+
+ //operation.setNamespace(ns);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
+
+ OMElement part = omfactory.createOMElement("inputString", null);
+ part.addAttribute("xsi:type", "xsd:string", null);
+ part.addChild(omfactory.createText("Apache Software Foundation"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcFloatArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcFloatArrayUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcFloatArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcFloatArrayUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,86 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:44:05 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcFloatArrayUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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("echoFloatArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/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/soap12/WMRound2Soap12GroupcHexBinaryUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcHexBinaryUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcHexBinaryUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcHexBinaryUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,70 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:49:04 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcHexBinaryUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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://www.w3.org/2003/05/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;
+
+ }
+}
Added: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntegerArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntegerArrayUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntegerArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntegerArrayUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,84 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
+import org.apache.axis2.soap.*;
+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: Sep 12, 2005
+ * Time: 5:35:42 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcIntegerArrayUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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://www.w3.org/2003/05/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/soap12/WMRound2Soap12GroupcIntergerUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntergerUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntergerUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntergerUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,75 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:33:14 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcIntergerUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+
+ 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://www.w3.org/2003/05/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/soap12/WMRound2Soap12GroupcStringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStringArrayUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStringArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStringArrayUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,85 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:34:43 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcStringArrayUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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://www.w3.org/2003/05/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/soap12/WMRound2Soap12GroupcStructArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructArrayUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructArrayUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructArrayUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,125 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:46:23 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcStructArrayUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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://www.w3.org/2003/05/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/soap12/WMRound2Soap12GroupcStructUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,84 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:45:14 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcStructUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
+
+ 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://www.w3.org/2003/05/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/soap12/WMRound2Soap12GroupcVoidUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcVoidUtil.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcVoidUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcVoidUtil.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,65 @@
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 12, 2005
+ * Time: 5:23:05 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class WMRound2Soap12GroupcVoidUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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");
+ reqEnv.declareNamespace("http://soapinterop.org", "m1");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/","soap12");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+
+ 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);
+
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+ block1.addAttribute("xsi:type", "xsd:string", null);
+ block1.addChild(omfactory.createText("string"));
+
+ OMElement operation = omfactory.createOMElement("echoVoid", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
+
+ return reqEnv;
+
+ }
+}