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 [70/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/GroupcFloatUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcFloatUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcFloatUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcFloatUtil.java Thu Sep 15 11:52:11 2005
@@ -1,90 +1,90 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.*;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class GroupcFloatUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://soapinterop.org/", "m");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
- block1.addAttribute("xsi:type", "xsd:string", null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
- block2.addAttribute("xsi:type", "s:SOAPStruct", null);
-
- OMElement h2Val1 = omfactory.createOMElement("varString", null);
- h2Val1.addAttribute("xsi:type", "xsd:string", null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2 = omfactory.createOMElement("varInt", null);
- h2Val2.addAttribute("xsi:type", "xsd:int", null);
- h2Val2.addChild(omfactory.createText("150"));
-
- OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
- h2Val3.addAttribute("xsi:type", "xsd:float", null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoFloat", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputFloat", "", null);
- part.addAttribute("xsi:type", "xsd:float", null);
- part.addChild(omfactory.createText("50.25"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-
-}
-
-
-
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcFloatUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+ block1.addAttribute("xsi:type", "xsd:string", null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+ block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+ OMElement h2Val1 = omfactory.createOMElement("varString", null);
+ h2Val1.addAttribute("xsi:type", "xsd:string", null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+ h2Val2.addAttribute("xsi:type", "xsd:int", null);
+ h2Val2.addChild(omfactory.createText("150"));
+
+ OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+ h2Val3.addAttribute("xsi:type", "xsd:float", null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoFloat", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputFloat", "", null);
+ part.addAttribute("xsi:type", "xsd:float", null);
+ part.addChild(omfactory.createText("50.25"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+
+}
+
+
+
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcFloatUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java Thu Sep 15 11:52:11 2005
@@ -1,93 +1,93 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.*;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class GroupcHexBinaryUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://soapinterop.org/", "m");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
- block1.addAttribute("xsi:type", "xsd:string", null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
- block2.addAttribute("xsi:type", "s:SOAPStruct", null);
-
- OMElement h2Val1 = omfactory.createOMElement("varString", null);
- h2Val1.addAttribute("xsi:type", "xsd:string", null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2 = omfactory.createOMElement("varInt", null);
- h2Val2.addAttribute("xsi:type", "xsd:int", null);
- h2Val2.addChild(omfactory.createText("852"));
-
- OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
- h2Val3.addAttribute("xsi:type", "xsd:float", null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoHexBinary", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
- OMElement part = omfactory.createOMElement("inputHexBinary", "", null);
- part.addAttribute("xsi:type", "xsd:hexBinary", null);
- part.addChild(omfactory.createText("41394644363445313243"));
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
-
-/**
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <m:echoHexBinary xmlns:m="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <inputHexBinary xsi:type="xsd:hexBinary">41394644363445313243</inputHexBinary>
- </m:echoHexBinary>
- </SOAP-ENV:Body>
-</SOAP-ENV:Envelope>
-*/
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.soap.*;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcHexBinaryUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+ block1.addAttribute("xsi:type", "xsd:string", null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+ block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+ OMElement h2Val1 = omfactory.createOMElement("varString", null);
+ h2Val1.addAttribute("xsi:type", "xsd:string", null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+ h2Val2.addAttribute("xsi:type", "xsd:int", null);
+ h2Val2.addChild(omfactory.createText("852"));
+
+ OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+ h2Val3.addAttribute("xsi:type", "xsd:float", null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoHexBinary", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+ OMElement part = omfactory.createOMElement("inputHexBinary", "", null);
+ part.addAttribute("xsi:type", "xsd:hexBinary", null);
+ part.addChild(omfactory.createText("41394644363445313243"));
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
+
+/**
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <SOAP-ENV:Body>
+ <m:echoHexBinary xmlns:m="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
+ <inputHexBinary xsi:type="xsd:hexBinary">41394644363445313243</inputHexBinary>
+ </m:echoHexBinary>
+ </SOAP-ENV:Body>
+</SOAP-ENV:Envelope>
+*/
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcHexBinaryUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java Thu Sep 15 11:52:11 2005
@@ -1,98 +1,98 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-
-import org.apache.axis2.soap.*;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class GroupcIntegerArrayUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://soapinterop.org/", "m");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
- block1.addAttribute("xsi:type", "xsd:string", null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
- block2.addAttribute("xsi:type", "s:SOAPStruct", null);
-
- OMElement h2Val1 = omfactory.createOMElement("varString", null);
- h2Val1.addAttribute("xsi:type", "xsd:string", null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2 = omfactory.createOMElement("varInt", null);
- h2Val2.addAttribute("xsi:type", "xsd:int", null);
- h2Val2.addChild(omfactory.createText("150"));
-
- OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
- h2Val3.addAttribute("xsi:type", "xsd:float", null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoIntegerArray", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
- OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
- part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
- part.addAttribute("SOAP-ENC:arrayType", "xsd:int[3]", null);
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:int", null);
- value0.addChild(omfactory.createText("451"));
- OMElement value1 = omfactory.createOMElement("varString", "", null);
- value1.addAttribute("xsi:type", "xsd:int", null);
- value1.addChild(omfactory.createText("425"));
- OMElement value2 = omfactory.createOMElement("varString", "", null);
- value2.addAttribute("xsi:type", "xsd:int", null);
- value2.addChild(omfactory.createText("2523"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
-
- operation.addChild(part);
-
- //reqEnv.getBody().addChild(method);
- return reqEnv;
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcIntegerArrayUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+ block1.addAttribute("xsi:type", "xsd:string", null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+ block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+ OMElement h2Val1 = omfactory.createOMElement("varString", null);
+ h2Val1.addAttribute("xsi:type", "xsd:string", null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+ h2Val2.addAttribute("xsi:type", "xsd:int", null);
+ h2Val2.addChild(omfactory.createText("150"));
+
+ OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+ h2Val3.addAttribute("xsi:type", "xsd:float", null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoIntegerArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+ OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
+ part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+ part.addAttribute("SOAP-ENC:arrayType", "xsd:int[3]", null);
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:int", null);
+ value0.addChild(omfactory.createText("451"));
+ OMElement value1 = omfactory.createOMElement("varString", "", null);
+ value1.addAttribute("xsi:type", "xsd:int", null);
+ value1.addChild(omfactory.createText("425"));
+ OMElement value2 = omfactory.createOMElement("varString", "", null);
+ value2.addAttribute("xsi:type", "xsd:int", null);
+ value2.addChild(omfactory.createText("2523"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+
+ operation.addChild(part);
+
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntegerArrayUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java Thu Sep 15 11:52:11 2005
@@ -1,88 +1,88 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-
-import org.apache.axis2.soap.*;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class GroupcIntergerUtil implements SunRound2ClientUtil{
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/","soapenv");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema","xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/","SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
- reqEnv.declareNamespace("http://soapinterop.org/xsd","s");
- reqEnv.declareNamespace("http://soapinterop.org/","m");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns= reqEnv.declareNamespace("http://soapinterop.org/echoheader/","hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest",hns);
- block1.addAttribute("xsi:type","xsd:string",null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest",hns);
- block2.addAttribute("xsi:type","s:SOAPStruct",null);
-
- OMElement h2Val1=omfactory.createOMElement("varString",null);
- h2Val1.addAttribute("xsi:type","xsd:string",null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2=omfactory.createOMElement("varInt",null);
- h2Val2.addAttribute("xsi:type","xsd:int",null);
- h2Val2.addChild(omfactory.createText("150"));
-
- OMElement h2Val3=omfactory.createOMElement("varFloat",null);
- h2Val3.addAttribute("xsi:type","xsd:float",null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoInteger","http://soapinterop.org/", null);
-
- //operation.setNamespace(ns);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputInteger", null);
- part.addAttribute("xsi:type", "xsd:int", null);
- part.addChild(omfactory.createText("456"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcIntergerUtil implements SunRound2ClientUtil{
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/","soapenv");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema","xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/","SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd","s");
+ reqEnv.declareNamespace("http://soapinterop.org/","m");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns= reqEnv.declareNamespace("http://soapinterop.org/echoheader/","hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest",hns);
+ block1.addAttribute("xsi:type","xsd:string",null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest",hns);
+ block2.addAttribute("xsi:type","s:SOAPStruct",null);
+
+ OMElement h2Val1=omfactory.createOMElement("varString",null);
+ h2Val1.addAttribute("xsi:type","xsd:string",null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2=omfactory.createOMElement("varInt",null);
+ h2Val2.addAttribute("xsi:type","xsd:int",null);
+ h2Val2.addChild(omfactory.createText("150"));
+
+ OMElement h2Val3=omfactory.createOMElement("varFloat",null);
+ h2Val3.addAttribute("xsi:type","xsd:float",null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoInteger","http://soapinterop.org/", null);
+
+ //operation.setNamespace(ns);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputInteger", null);
+ part.addAttribute("xsi:type", "xsd:int", null);
+ part.addChild(omfactory.createText("456"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcIntergerUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java Thu Sep 15 11:52:11 2005
@@ -1,99 +1,99 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.*;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class GroupcStringArrayUtil implements SunRound2ClientUtil{
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/","soapenv");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema","xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/","SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
- reqEnv.declareNamespace("http://soapinterop.org/xsd","s");
- reqEnv.declareNamespace("http://soapinterop.org/","m");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns= reqEnv.declareNamespace("http://soapinterop.org/echoheader/","hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest",hns);
- block1.addAttribute("xsi:type","xsd:string",null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest",hns);
- block2.addAttribute("xsi:type","s:SOAPStruct",null);
-
- OMElement h2Val1=omfactory.createOMElement("varString",null);
- h2Val1.addAttribute("xsi:type","xsd:string",null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2=omfactory.createOMElement("varInt",null);
- h2Val2.addAttribute("xsi:type","xsd:int",null);
- h2Val2.addChild(omfactory.createText("150"));
-
- OMElement h2Val3=omfactory.createOMElement("varFloat",null);
- h2Val3.addAttribute("xsi:type","xsd:float",null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoStringArray", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputStringArray", "", null);
- part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
- part.addAttribute("SOAP-ENC:arrayType", "xsd:string[3]", null);
-
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:string", null);
- value0.addChild(omfactory.createText("Apache Axis2"));
- OMElement value1 = omfactory.createOMElement("varString", "", null);
- value1.addAttribute("xsi:type", "xsd:string", null);
- value1.addChild(omfactory.createText("Lanka Software Foundation"));
- OMElement value2 = omfactory.createOMElement("varString", "", null);
- value2.addAttribute("xsi:type", "xsd:string", null);
- value2.addChild(omfactory.createText("www.opensource.lk"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.interopt.whitemesa.round2.util.SunRound2ClientUtil;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcStringArrayUtil implements SunRound2ClientUtil{
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/","soapenv");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema","xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/","SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd","s");
+ reqEnv.declareNamespace("http://soapinterop.org/","m");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns= reqEnv.declareNamespace("http://soapinterop.org/echoheader/","hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest",hns);
+ block1.addAttribute("xsi:type","xsd:string",null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest",hns);
+ block2.addAttribute("xsi:type","s:SOAPStruct",null);
+
+ OMElement h2Val1=omfactory.createOMElement("varString",null);
+ h2Val1.addAttribute("xsi:type","xsd:string",null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2=omfactory.createOMElement("varInt",null);
+ h2Val2.addAttribute("xsi:type","xsd:int",null);
+ h2Val2.addChild(omfactory.createText("150"));
+
+ OMElement h2Val3=omfactory.createOMElement("varFloat",null);
+ h2Val3.addAttribute("xsi:type","xsd:float",null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoStringArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputStringArray", "", null);
+ part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+ part.addAttribute("SOAP-ENC:arrayType", "xsd:string[3]", null);
+
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:string", null);
+ value0.addChild(omfactory.createText("Apache Axis2"));
+ OMElement value1 = omfactory.createOMElement("varString", "", null);
+ value1.addAttribute("xsi:type", "xsd:string", null);
+ value1.addChild(omfactory.createText("Lanka Software Foundation"));
+ OMElement value2 = omfactory.createOMElement("varString", "", null);
+ value2.addAttribute("xsi:type", "xsd:string", null);
+ value2.addChild(omfactory.createText("www.opensource.lk"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStringArrayUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java Thu Sep 15 11:52:11 2005
@@ -1,138 +1,138 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.*;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class GroupcStructArrayUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://soapinterop.org/", "m");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
- block1.addAttribute("xsi:type", "xsd:string", null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
- block2.addAttribute("xsi:type", "s:SOAPStruct", null);
-
- OMElement h2Val1 = omfactory.createOMElement("varString", null);
- h2Val1.addAttribute("xsi:type", "xsd:string", null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2 = omfactory.createOMElement("varInt", null);
- h2Val2.addAttribute("xsi:type", "xsd:int", null);
- h2Val2.addChild(omfactory.createText("150"));
-
- OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
- h2Val3.addAttribute("xsi:type", "xsd:float", null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoStructArray", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputStructArray", "", null);
- part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
- part.addAttribute("SOAP-ENC:arrayType", "s:SOAPStruct[3]", null);
-
- OMElement item0 = omfactory.createOMElement("item0", null);
-
- OMElement value00 = omfactory.createOMElement("varString", "", null);
- value00.addAttribute("xsi:type", "xsd:string", null);
- value00.addChild(omfactory.createText("strss fdfing1"));
- OMElement value01 = omfactory.createOMElement("varInt", "", null);
- value01.addAttribute("xsi:type", "xsd:int", null);
- value01.addChild(omfactory.createText("25"));
- OMElement value02 = omfactory.createOMElement("varFloat", "", null);
- value02.addAttribute("xsi:type", "xsd:float", null);
- value02.addChild(omfactory.createText("25.23"));
-
- OMElement item1 = omfactory.createOMElement("item0", null);
-
- OMElement value10 = omfactory.createOMElement("varString", "", null);
- value10.addAttribute("xsi:type", "xsd:string", null);
- value10.addChild(omfactory.createText("strss fdfing1"));
- OMElement value11 = omfactory.createOMElement("varInt", "", null);
- value11.addAttribute("xsi:type", "xsd:int", null);
- value11.addChild(omfactory.createText("25"));
- OMElement value12 = omfactory.createOMElement("varFloat", "", null);
- value12.addAttribute("xsi:type", "xsd:float", null);
- value12.addChild(omfactory.createText("25.23"));
-
- OMElement item2 = omfactory.createOMElement("item0", null);
-
- OMElement value20 = omfactory.createOMElement("varString", "", null);
- value20.addAttribute("xsi:type", "xsd:string", null);
- value20.addChild(omfactory.createText("strss fdfing1"));
- OMElement value21 = omfactory.createOMElement("varInt", "", null);
- value21.addAttribute("xsi:type", "xsd:int", null);
- value21.addChild(omfactory.createText("25"));
- OMElement value22 = omfactory.createOMElement("varFloat", "", null);
- value22.addAttribute("xsi:type", "xsd:float", null);
- value22.addChild(omfactory.createText("25.23"));
-
- item0.addChild(value00);
- item0.addChild(value01);
- item0.addChild(value02);
-
- item1.addChild(value10);
- item1.addChild(value11);
- item1.addChild(value12);
-
- item2.addChild(value20);
- item2.addChild(value21);
- item2.addChild(value22);
-
- part.addChild(item0);
- part.addChild(item1);
- part.addChild(item2);
-
- operation.addChild(part);
-
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcStructArrayUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+ block1.addAttribute("xsi:type", "xsd:string", null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+ block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+ OMElement h2Val1 = omfactory.createOMElement("varString", null);
+ h2Val1.addAttribute("xsi:type", "xsd:string", null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+ h2Val2.addAttribute("xsi:type", "xsd:int", null);
+ h2Val2.addChild(omfactory.createText("150"));
+
+ OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+ h2Val3.addAttribute("xsi:type", "xsd:float", null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoStructArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputStructArray", "", null);
+ part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+ part.addAttribute("SOAP-ENC:arrayType", "s:SOAPStruct[3]", null);
+
+ OMElement item0 = omfactory.createOMElement("item0", null);
+
+ OMElement value00 = omfactory.createOMElement("varString", "", null);
+ value00.addAttribute("xsi:type", "xsd:string", null);
+ value00.addChild(omfactory.createText("strss fdfing1"));
+ OMElement value01 = omfactory.createOMElement("varInt", "", null);
+ value01.addAttribute("xsi:type", "xsd:int", null);
+ value01.addChild(omfactory.createText("25"));
+ OMElement value02 = omfactory.createOMElement("varFloat", "", null);
+ value02.addAttribute("xsi:type", "xsd:float", null);
+ value02.addChild(omfactory.createText("25.23"));
+
+ OMElement item1 = omfactory.createOMElement("item0", null);
+
+ OMElement value10 = omfactory.createOMElement("varString", "", null);
+ value10.addAttribute("xsi:type", "xsd:string", null);
+ value10.addChild(omfactory.createText("strss fdfing1"));
+ OMElement value11 = omfactory.createOMElement("varInt", "", null);
+ value11.addAttribute("xsi:type", "xsd:int", null);
+ value11.addChild(omfactory.createText("25"));
+ OMElement value12 = omfactory.createOMElement("varFloat", "", null);
+ value12.addAttribute("xsi:type", "xsd:float", null);
+ value12.addChild(omfactory.createText("25.23"));
+
+ OMElement item2 = omfactory.createOMElement("item0", null);
+
+ OMElement value20 = omfactory.createOMElement("varString", "", null);
+ value20.addAttribute("xsi:type", "xsd:string", null);
+ value20.addChild(omfactory.createText("strss fdfing1"));
+ OMElement value21 = omfactory.createOMElement("varInt", "", null);
+ value21.addAttribute("xsi:type", "xsd:int", null);
+ value21.addChild(omfactory.createText("25"));
+ OMElement value22 = omfactory.createOMElement("varFloat", "", null);
+ value22.addAttribute("xsi:type", "xsd:float", null);
+ value22.addChild(omfactory.createText("25.23"));
+
+ item0.addChild(value00);
+ item0.addChild(value01);
+ item0.addChild(value02);
+
+ item1.addChild(value10);
+ item1.addChild(value11);
+ item1.addChild(value12);
+
+ item2.addChild(value20);
+ item2.addChild(value21);
+ item2.addChild(value22);
+
+ part.addChild(item0);
+ part.addChild(item1);
+ part.addChild(item2);
+
+ operation.addChild(part);
+
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructArrayUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java Thu Sep 15 11:52:11 2005
@@ -1,97 +1,97 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.*;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class GroupcStructUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://soapinterop.org/", "m");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
- block1.addAttribute("xsi:type", "xsd:string", null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
- block2.addAttribute("xsi:type", "s:SOAPStruct", null);
-
- OMElement h2Val1 = omfactory.createOMElement("varString", null);
- h2Val1.addAttribute("xsi:type", "xsd:string", null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2 = omfactory.createOMElement("varInt", null);
- h2Val2.addAttribute("xsi:type", "xsd:int", null);
- h2Val2.addChild(omfactory.createText("150"));
-
- OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
- h2Val3.addAttribute("xsi:type", "xsd:float", null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoStruct", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
- OMElement part = omfactory.createOMElement("inputStruct", "", null);
- part.addAttribute("xsi:type", "s:SOAPStruct", null);
-
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:string", null);
- value0.addChild(omfactory.createText("strss fdfing1"));
- OMElement value1 = omfactory.createOMElement("varInt", "", null);
- value1.addAttribute("xsi:type", "xsd:int", null);
- value1.addChild(omfactory.createText("25"));
- OMElement value2 = omfactory.createOMElement("varFloat", "", null);
- value2.addAttribute("xsi:type", "xsd:float", null);
- value2.addChild(omfactory.createText("25.23"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
-
- operation.addChild(part);
-
- //reqEnv.getBody().addChild(method);
- return reqEnv;
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcStructUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+ block1.addAttribute("xsi:type", "xsd:string", null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+ block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+ OMElement h2Val1 = omfactory.createOMElement("varString", null);
+ h2Val1.addAttribute("xsi:type", "xsd:string", null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+ h2Val2.addAttribute("xsi:type", "xsd:int", null);
+ h2Val2.addChild(omfactory.createText("150"));
+
+ OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+ h2Val3.addAttribute("xsi:type", "xsd:float", null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoStruct", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+ OMElement part = omfactory.createOMElement("inputStruct", "", null);
+ part.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:string", null);
+ value0.addChild(omfactory.createText("strss fdfing1"));
+ OMElement value1 = omfactory.createOMElement("varInt", "", null);
+ value1.addAttribute("xsi:type", "xsd:int", null);
+ value1.addChild(omfactory.createText("25"));
+ OMElement value2 = omfactory.createOMElement("varFloat", "", null);
+ value2.addAttribute("xsi:type", "xsd:float", null);
+ value2.addChild(omfactory.createText("25.23"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+
+ operation.addChild(part);
+
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcStructUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java Thu Sep 15 11:52:11 2005
@@ -1,79 +1,79 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.*;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class GroupcVoidUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://soapinterop.org/", "m");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
- block1.addAttribute("xsi:type", "xsd:string", null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
- block2.addAttribute("xsi:type", "s:SOAPStruct", null);
-
- OMElement h2Val1 = omfactory.createOMElement("varString", null);
- h2Val1.addAttribute("xsi:type", "xsd:string", null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2 = omfactory.createOMElement("varInt", null);
- h2Val2.addAttribute("xsi:type", "xsd:int", null);
- h2Val2.addChild(omfactory.createText("150"));
-
- OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
- h2Val3.addAttribute("xsi:type", "xsd:float", null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoVoid", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- return reqEnv;
-
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class GroupcVoidUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://soapinterop.org/", "m");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
+ block1.addAttribute("xsi:type", "xsd:string", null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
+ block2.addAttribute("xsi:type", "s:SOAPStruct", null);
+
+ OMElement h2Val1 = omfactory.createOMElement("varString", null);
+ h2Val1.addAttribute("xsi:type", "xsd:string", null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2 = omfactory.createOMElement("varInt", null);
+ h2Val2.addAttribute("xsi:type", "xsd:int", null);
+ h2Val2.addChild(omfactory.createText("150"));
+
+ OMElement h2Val3 = omfactory.createOMElement("varFloat", null);
+ h2Val3.addAttribute("xsi:type", "xsd:float", null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoVoid", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/GroupcVoidUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java Thu Sep 15 11:52:11 2005
@@ -1,60 +1,60 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/**
- * Created by IntelliJ IDEA.
- * User: Gayan
- * Date: Aug 29, 2005
- * Time: 12:23:27 PM
- * To change this template use File | Settings | File Templates.
- */
-public class R2MSaxms2DStringArrayUtil implements SunRound2ClientUtil{
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- OMNamespace namespace = reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- OMNamespace namespace1 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- OMNamespace namespace2 = reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- OMNamespace namespace3 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- OMNamespace namespace4 = reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- OMNamespace namespace5 = reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- OMNamespace namespace6 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echo2DStringArray", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("input2DStringArray", "", null);
- part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
- part.addAttribute("SOAP-ENC:arrayType", "xsd:string[2]", null);
-
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:string", null);
- value0.addChild(omfactory.createText("Apache Axis2"));
- OMElement value1 = omfactory.createOMElement("varString", "", null);
- value1.addAttribute("xsi:type", "xsd:string", null);
- value1.addChild(omfactory.createText("Lanka Software Foundation"));
- OMElement value2 = omfactory.createOMElement("varString", "", null);
- value2.addAttribute("xsi:type", "xsd:string", null);
- value2.addChild(omfactory.createText("www.opensource.lk"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Aug 29, 2005
+ * Time: 12:23:27 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class R2MSaxms2DStringArrayUtil implements SunRound2ClientUtil{
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ OMNamespace namespace = reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ OMNamespace namespace1 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ OMNamespace namespace2 = reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ OMNamespace namespace3 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ OMNamespace namespace4 = reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ OMNamespace namespace5 = reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ OMNamespace namespace6 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echo2DStringArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("input2DStringArray", "", null);
+ part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+ part.addAttribute("SOAP-ENC:arrayType", "xsd:string[2]", null);
+
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:string", null);
+ value0.addChild(omfactory.createText("Apache Axis2"));
+ OMElement value1 = omfactory.createOMElement("varString", "", null);
+ value1.addAttribute("xsi:type", "xsd:string", null);
+ value1.addChild(omfactory.createText("Lanka Software Foundation"));
+ OMElement value2 = omfactory.createOMElement("varString", "", null);
+ value2.addAttribute("xsi:type", "xsd:string", null);
+ value2.addChild(omfactory.createText("www.opensource.lk"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/R2MSaxms2DStringArrayUtil.java
------------------------------------------------------------------------------
svn:eol-style = native