You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/09/15 21:07:03 UTC
svn commit: r289289 [73/134] - in /webservices/axis2/trunk/java: ./ etc/
modules/addressing/ modules/addressing/src/META-INF/
modules/addressing/src/org/apache/axis2/handlers/addressing/
modules/addressing/test-resources/ modules/addressing/test/org/ap...
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDateClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDateClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDateClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDateClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,47 +1,47 @@
-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: 5:06:41 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoDateClientUtil 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("echoDate", "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("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;
-
- }
-}
+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: 5:06:41 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoDateClientUtil 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("echoDate", "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("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;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDateClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDecimalClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDecimalClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDecimalClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDecimalClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,47 +1,47 @@
-package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
-
-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;
-import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
-
-/**
- * Created by IntelliJ IDEA.
- * User: Gayan
- * Date: Sep 5, 2005
- * Time: 5:15:54 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoDecimalClientUtil 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("echoDecimal", "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("inputDecimal", "", null);
- part.addAttribute("xsi:type", "xsd:decimal", null);
- part.addChild(omfactory.createText("455646152"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util.soap12;
+
+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;
+import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 5, 2005
+ * Time: 5:15:54 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoDecimalClientUtil 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("echoDecimal", "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("inputDecimal", "", null);
+ part.addAttribute("xsi:type", "xsd:decimal", null);
+ part.addChild(omfactory.createText("455646152"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoDecimalClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatArrayClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatArrayClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatArrayClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,61 +1,61 @@
-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:54:21 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoFloatArrayClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
- 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://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;
-
- }
-}
+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:54:21 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoFloatArrayClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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://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;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatArrayClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,47 +1,47 @@
-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:46:28 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoFloatClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
- 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://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;
-
- }
-}
+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:46:28 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoFloatClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
+ 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://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;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoFloatClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoHexBinaryUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoHexBinaryUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoHexBinaryUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoHexBinaryUtil.java Thu Sep 15 11:52:11 2005
@@ -1,46 +1,46 @@
-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: 5:09:43 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoHexBinaryUtil 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://www.w3.org/2001/XMLSchema-instance", "xsi");
-
- 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("AAABBAAE"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
+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: 5:09:43 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoHexBinaryUtil 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://www.w3.org/2001/XMLSchema-instance", "xsi");
+
+ 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("AAABBAAE"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoHexBinaryUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructArrayClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructArrayClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructArrayClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,99 +1,99 @@
-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:59:41 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoStructArrayClientUtil 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("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;
-
- }
-}
+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:59:41 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoStructArrayClientUtil 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("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;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructArrayClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,59 +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:56:26 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoStructClientUtil 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("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;
- }
-}
+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:56:26 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoStructClientUtil 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("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;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoStructClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoVoidClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoVoidClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoVoidClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoVoidClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,41 +1,41 @@
-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: 5:02:22 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoVoidClientUtil 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("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;
-
- }
-}
+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: 5:02:22 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoVoidClientUtil 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("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;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoVoidClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: 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=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12IntegerUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12IntegerUtil.java Thu Sep 15 11:52:11 2005
@@ -1,45 +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;
-
- }
-}
+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;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12IntegerUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: 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=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringArrayUtil.java Thu Sep 15 11:52:11 2005
@@ -1,59 +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;
- }
-}
+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;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringArrayUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: 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=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java Thu Sep 15 11:52:11 2005
@@ -1,55 +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>
-}
+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>
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12StringUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: 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=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Saop12GroupcFloatUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Saop12GroupcFloatUtil.java Thu Sep 15 11:52:11 2005
@@ -1,73 +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;
-
- }
-
-}
+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;
+
+ }
+
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Saop12GroupcFloatUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: 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=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java Thu Sep 15 11:52:11 2005
@@ -1,73 +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;
-
- }
-}
+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;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java
------------------------------------------------------------------------------
svn:eol-style = native