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 [72/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/Round2EchoStructClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStructClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStructClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStructClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,75 +1,75 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.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 Round2EchoStructClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("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.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoStructClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("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/Round2EchoStructClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoVoidClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoVoidClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoVoidClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoVoidClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,56 +1,56 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoVoidClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("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.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoVoidClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("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/Round2EchoVoidClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/SunRound2ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/SunRound2ClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/SunRound2ClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/SunRound2ClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,31 +1,31 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-
-import org.apache.axis2.soap.SOAPEnvelope;
-
-/*
-* 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 interface SunRound2ClientUtil {
- SOAPEnvelope getEchoSoapEnvelope();
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+
+/*
+* 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 interface SunRound2ClientUtil {
+ SOAPEnvelope getEchoSoapEnvelope();
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/SunRound2ClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12Echo2DStringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12Echo2DStringArrayUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12Echo2DStringArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12Echo2DStringArrayUtil.java Thu Sep 15 11:52:11 2005
@@ -1,65 +1,65 @@
-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 6, 2005
- * Time: 9:41:45 AM
- * To change this template use File | Settings | File Templates.
- */
-public class GroupbSoap12Echo2DStringArrayUtil 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("echo2DStringArray", "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("input2DStringArray", "", null);
- part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
- part.addAttribute("SOAP-ENC:arrayType", "xsd:string[2,2]", null);
-
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:string", null);
- value0.addChild(omfactory.createText("strss fdfing1"));
- OMElement value1 = omfactory.createOMElement("varString", "", null);
- value1.addAttribute("xsi:type", "xsd:string", null);
- value1.addChild(omfactory.createText("sdfsdf25"));
- OMElement value2 = omfactory.createOMElement("varString", "", null);
- value2.addAttribute("xsi:type", "xsd:string", null);
- value2.addChild(omfactory.createText("25dsasd dfasdas23"));
- OMElement value3 = omfactory.createOMElement("varString", "", null);
- value3.addAttribute("xsi:type", "xsd:string", null);
- value3.addChild(omfactory.createText("25dsasd dfasdas23"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
- part.addChild(value3);
-
- 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 6, 2005
+ * Time: 9:41:45 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class GroupbSoap12Echo2DStringArrayUtil 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("echo2DStringArray", "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("input2DStringArray", "", null);
+ part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+ part.addAttribute("SOAP-ENC:arrayType", "xsd:string[2,2]", null);
+
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:string", null);
+ value0.addChild(omfactory.createText("strss fdfing1"));
+ OMElement value1 = omfactory.createOMElement("varString", "", null);
+ value1.addAttribute("xsi:type", "xsd:string", null);
+ value1.addChild(omfactory.createText("sdfsdf25"));
+ OMElement value2 = omfactory.createOMElement("varString", "", null);
+ value2.addAttribute("xsi:type", "xsd:string", null);
+ value2.addChild(omfactory.createText("25dsasd dfasdas23"));
+ OMElement value3 = omfactory.createOMElement("varString", "", null);
+ value3.addAttribute("xsi:type", "xsd:string", null);
+ value3.addChild(omfactory.createText("25dsasd dfasdas23"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+ part.addChild(value3);
+
+ 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/GroupbSoap12Echo2DStringArrayUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoNestedArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoNestedArrayUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoNestedArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoNestedArrayUtil.java Thu Sep 15 11:52:11 2005
@@ -1,88 +1,88 @@
-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 6, 2005
- * Time: 10:35:41 AM
- * To change this template use File | Settings | File Templates.
- */
-public class GroupbSoap12EchoNestedArrayUtil 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("echoNestedArray", "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"));
-
- OMElement value3 = omfactory.createOMElement("varArray", "", null);
- part.addAttribute("xsi:type", "s:SOAPArrayStruct", null);
- value3.addAttribute("SOAP-ENC:arrayType", "xsd:string[3]", null);
-
- OMElement value30 = omfactory.createOMElement("item", "", null);
- value30.addAttribute("xsi:type", "xsd:string", null);
- value30.addChild(omfactory.createText("strss fdfing1"));
-
- OMElement value31 = omfactory.createOMElement("item", "", null);
- value31.addAttribute("xsi:type", "xsd:string", null);
- value31.addChild(omfactory.createText("strss fdfing2"));
-
- OMElement value32 = omfactory.createOMElement("item", "", null);
- value32.addAttribute("xsi:type", "xsd:string", null);
- value32.addChild(omfactory.createText("strss fdfing3"));
-
-
-
- value3.addChild(value30);
- value3.addChild(value31);
- value3.addChild(value32);
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
- part.addChild(value3);
-
-
- 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 6, 2005
+ * Time: 10:35:41 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class GroupbSoap12EchoNestedArrayUtil 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("echoNestedArray", "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"));
+
+ OMElement value3 = omfactory.createOMElement("varArray", "", null);
+ part.addAttribute("xsi:type", "s:SOAPArrayStruct", null);
+ value3.addAttribute("SOAP-ENC:arrayType", "xsd:string[3]", null);
+
+ OMElement value30 = omfactory.createOMElement("item", "", null);
+ value30.addAttribute("xsi:type", "xsd:string", null);
+ value30.addChild(omfactory.createText("strss fdfing1"));
+
+ OMElement value31 = omfactory.createOMElement("item", "", null);
+ value31.addAttribute("xsi:type", "xsd:string", null);
+ value31.addChild(omfactory.createText("strss fdfing2"));
+
+ OMElement value32 = omfactory.createOMElement("item", "", null);
+ value32.addAttribute("xsi:type", "xsd:string", null);
+ value32.addChild(omfactory.createText("strss fdfing3"));
+
+
+
+ value3.addChild(value30);
+ value3.addChild(value31);
+ value3.addChild(value32);
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+ part.addChild(value3);
+
+
+ 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/GroupbSoap12EchoNestedArrayUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoNestedStructUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoNestedStructUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoNestedStructUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoNestedStructUtil.java Thu Sep 15 11:52:11 2005
@@ -1,86 +1,86 @@
-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 6, 2005
- * Time: 10:25:46 AM
- * To change this template use File | Settings | File Templates.
- */
-public class GroupbSoap12EchoNestedStructUtil 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("echoNestedStruct", "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:SOAPStructStruct", 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"));
-
- OMElement value3 = omfactory.createOMElement("varStruct", "", null);
-
- //OMElement part31 = omfactory.createOMElement("inputStruct", "", null);
-
- OMElement value30 = omfactory.createOMElement("varString", "", null);
- value30.addAttribute("xsi:type", "xsd:string", null);
- value30.addChild(omfactory.createText("strss fdfing1"));
-
- OMElement value31 = omfactory.createOMElement("varInt", "", null);
- value31.addAttribute("xsi:type", "xsd:int", null);
- value31.addChild(omfactory.createText("25"));
-
- OMElement value32 = omfactory.createOMElement("varFloat", "", null);
- value32.addAttribute("xsi:type", "xsd:float", null);
- value32.addChild(omfactory.createText("25.23"));
-
- value3.addChild(value30);
- value3.addChild(value31);
- value3.addChild(value32);
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
- part.addChild(value3);
-
- 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 6, 2005
+ * Time: 10:25:46 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class GroupbSoap12EchoNestedStructUtil 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("echoNestedStruct", "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:SOAPStructStruct", 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"));
+
+ OMElement value3 = omfactory.createOMElement("varStruct", "", null);
+
+ //OMElement part31 = omfactory.createOMElement("inputStruct", "", null);
+
+ OMElement value30 = omfactory.createOMElement("varString", "", null);
+ value30.addAttribute("xsi:type", "xsd:string", null);
+ value30.addChild(omfactory.createText("strss fdfing1"));
+
+ OMElement value31 = omfactory.createOMElement("varInt", "", null);
+ value31.addAttribute("xsi:type", "xsd:int", null);
+ value31.addChild(omfactory.createText("25"));
+
+ OMElement value32 = omfactory.createOMElement("varFloat", "", null);
+ value32.addAttribute("xsi:type", "xsd:float", null);
+ value32.addChild(omfactory.createText("25.23"));
+
+ value3.addChild(value30);
+ value3.addChild(value31);
+ value3.addChild(value32);
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+ part.addChild(value3);
+
+ 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/GroupbSoap12EchoNestedStructUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoSimpleTypesAsStructUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoSimpleTypesAsStructUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoSimpleTypesAsStructUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoSimpleTypesAsStructUtil.java Thu Sep 15 11:52:11 2005
@@ -1,56 +1,56 @@
-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: 8:09:53 PM
- * To change this template use File | Settings | File Templates.
- */
-public class GroupbSoap12EchoSimpleTypesAsStructUtil 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("echoSimpleTypesAsStruct", "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 part0 = omfactory.createOMElement("inputString", "", null);
- part0.addAttribute("xsi:type", "xsd:string", null);
- part0.addChild(omfactory.createText("45ascasc acasa asd52"));
-
- OMElement part1 = omfactory.createOMElement("inputInteger", "", null);
- part1.addAttribute("xsi:type", "xsd:int", null);
- part1.addChild(omfactory.createText("4552"));
-
- OMElement part2 = omfactory.createOMElement("inputFloat", "", null);
- part2.addAttribute("xsi:type", "xsd:float", null);
- part2.addChild(omfactory.createText("450.52"));
-
- operation.addChild(part0);
- operation.addChild(part1);
- operation.addChild(part2); //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: 8:09:53 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class GroupbSoap12EchoSimpleTypesAsStructUtil 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("echoSimpleTypesAsStruct", "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 part0 = omfactory.createOMElement("inputString", "", null);
+ part0.addAttribute("xsi:type", "xsd:string", null);
+ part0.addChild(omfactory.createText("45ascasc acasa asd52"));
+
+ OMElement part1 = omfactory.createOMElement("inputInteger", "", null);
+ part1.addAttribute("xsi:type", "xsd:int", null);
+ part1.addChild(omfactory.createText("4552"));
+
+ OMElement part2 = omfactory.createOMElement("inputFloat", "", null);
+ part2.addAttribute("xsi:type", "xsd:float", null);
+ part2.addChild(omfactory.createText("450.52"));
+
+ operation.addChild(part0);
+ operation.addChild(part1);
+ operation.addChild(part2); //reqEnv.getBody().addChild(method);
+
+ return reqEnv;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoSimpleTypesAsStructUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoStructAsSimpleTypesUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoStructAsSimpleTypesUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoStructAsSimpleTypesUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupbSoap12EchoStructAsSimpleTypesUtil.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.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:27:41 PM
- * To change this template use File | Settings | File Templates.
- */
-public class GroupbSoap12EchoStructAsSimpleTypesUtil 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("echoStructAsSimpleTypes", "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.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:27:41 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class GroupbSoap12EchoStructAsSimpleTypesUtil 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("echoStructAsSimpleTypes", "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/GroupbSoap12EchoStructAsSimpleTypesUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupcSoap12EchoStringUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupcSoap12EchoStringUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupcSoap12EchoStringUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupcSoap12EchoStringUtil.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.interopt.whitemesa.round2.util.SunRound2ClientUtil;
-import org.apache.axis2.soap.*;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/**
- * Created by IntelliJ IDEA.
- * User: Gayan
- * Date: Sep 6, 2005
- * Time: 10:39:09 AM
- * To change this template use File | Settings | File Templates.
- */
-public class GroupcSoap12EchoStringUtil 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://schemas.xmlsoap.org/wsdl/soap12/","soap12");
-
- SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
- OMNamespace hns= reqEnv.declareNamespace("http://soapinterop.org/echoheader/","hns"); //xmlns:m0="http://soapinterop.org/echoheader/
- SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest",hns);
- block1.addAttribute("xsi:type","xsd:string",null);
- block1.addChild(omfactory.createText("string"));
- // header.addChild(headerChild);
- header.addChild(block1);
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest",hns);
- block2.addAttribute("xsi:type","s:SOAPStruct",null);
-
- OMElement h2Val1=omfactory.createOMElement("varString",null);
- h2Val1.addAttribute("xsi:type","xsd:string",null);
- h2Val1.addChild(omfactory.createText("string"));
-
- OMElement h2Val2=omfactory.createOMElement("varInt",null);
- h2Val2.addAttribute("xsi:type","xsd:int",null);
- h2Val2.addChild(omfactory.createText("150"));
-
- OMElement h2Val3=omfactory.createOMElement("varFloat",null);
- h2Val3.addAttribute("xsi:type","xsd:float",null);
- h2Val3.addChild(omfactory.createText("456.321"));
-
- block2.addChild(h2Val1);
- block2.addChild(h2Val2);
- block2.addChild(h2Val3);
-
- OMElement operation = omfactory.createOMElement("echoString","http://soapinterop.org/", null);
-
- //operation.setNamespace(ns);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
-
- OMElement part = omfactory.createOMElement("inputString", null);
- part.addAttribute("xsi:type", "xsd:string", null);
- part.addChild(omfactory.createText("strssfdfing1"));
-
- 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.*;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Gayan
+ * Date: Sep 6, 2005
+ * Time: 10:39:09 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class GroupcSoap12EchoStringUtil 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://schemas.xmlsoap.org/wsdl/soap12/","soap12");
+
+ SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
+ OMNamespace hns= reqEnv.declareNamespace("http://soapinterop.org/echoheader/","hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+ SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest",hns);
+ block1.addAttribute("xsi:type","xsd:string",null);
+ block1.addChild(omfactory.createText("string"));
+ // header.addChild(headerChild);
+ header.addChild(block1);
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest",hns);
+ block2.addAttribute("xsi:type","s:SOAPStruct",null);
+
+ OMElement h2Val1=omfactory.createOMElement("varString",null);
+ h2Val1.addAttribute("xsi:type","xsd:string",null);
+ h2Val1.addChild(omfactory.createText("string"));
+
+ OMElement h2Val2=omfactory.createOMElement("varInt",null);
+ h2Val2.addAttribute("xsi:type","xsd:int",null);
+ h2Val2.addChild(omfactory.createText("150"));
+
+ OMElement h2Val3=omfactory.createOMElement("varFloat",null);
+ h2Val3.addAttribute("xsi:type","xsd:float",null);
+ h2Val3.addChild(omfactory.createText("456.321"));
+
+ block2.addChild(h2Val1);
+ block2.addChild(h2Val2);
+ block2.addChild(h2Val3);
+
+ OMElement operation = omfactory.createOMElement("echoString","http://soapinterop.org/", null);
+
+ //operation.setNamespace(ns);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
+
+ OMElement part = omfactory.createOMElement("inputString", null);
+ part.addAttribute("xsi:type", "xsd:string", null);
+ part.addChild(omfactory.createText("strssfdfing1"));
+
+ 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/GroupcSoap12EchoStringUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/GroupcSoap12VoidUtil.java Thu Sep 15 11:52:11 2005
@@ -1,66 +1,66 @@
-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 6, 2005
- * Time: 10:55:02 AM
- * To change this template use File | Settings | File Templates.
- */
-public class GroupcSoap12VoidUtil 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");
- OMNamespace ns1 =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); m0:echoMeStructRequest xsi:type="m1:echoMeStructRequest
-
- SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", ns1);
- block2.addAttribute("xsi:type", "hns:echoMeStructRequest", 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://www.w3.org/2003/05/soap-encoding", null);
-
- 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 6, 2005
+ * Time: 10:55:02 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class GroupcSoap12VoidUtil 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");
+ OMNamespace ns1 =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); m0:echoMeStructRequest xsi:type="m1:echoMeStructRequest
+
+ SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", ns1);
+ block2.addAttribute("xsi:type", "hns:echoMeStructRequest", 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://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/GroupcSoap12VoidUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2SOAP12EchoIntegerArrayclientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2SOAP12EchoIntegerArrayclientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2SOAP12EchoIntegerArrayclientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2SOAP12EchoIntegerArrayclientUtil.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:43:24 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2SOAP12EchoIntegerArrayclientUtil 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("echoIntegerArray", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
- OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
- part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
- part.addAttribute("SOAP-ENC:arrayType", "xsd:int[3]", null);
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:int", null);
- value0.addChild(omfactory.createText("451"));
- OMElement value1 = omfactory.createOMElement("varString", "", null);
- value1.addAttribute("xsi:type", "xsd:int", null);
- value1.addChild(omfactory.createText("425"));
- OMElement value2 = omfactory.createOMElement("varString", "", null);
- value2.addAttribute("xsi:type", "xsd:int", null);
- value2.addChild(omfactory.createText("2523"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
-
- operation.addChild(part);
-
- //reqEnv.getBody().addChild(method);
- return reqEnv;
- }
-}
+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:43:24 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2SOAP12EchoIntegerArrayclientUtil 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("echoIntegerArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
+ OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
+ part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+ part.addAttribute("SOAP-ENC:arrayType", "xsd:int[3]", null);
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:int", null);
+ value0.addChild(omfactory.createText("451"));
+ OMElement value1 = omfactory.createOMElement("varString", "", null);
+ value1.addAttribute("xsi:type", "xsd:int", null);
+ value1.addChild(omfactory.createText("425"));
+ OMElement value2 = omfactory.createOMElement("varString", "", null);
+ value2.addAttribute("xsi:type", "xsd:int", null);
+ value2.addChild(omfactory.createText("2523"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+
+ operation.addChild(part);
+
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2SOAP12EchoIntegerArrayclientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoBase64ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoBase64ClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoBase64ClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoBase64ClientUtil.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:04:20 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoBase64ClientUtil 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("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("UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi"));
-
- 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:04:20 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoBase64ClientUtil 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("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("UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi"));
+
+ 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/Round2Soap12EchoBase64ClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoBooleanClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoBooleanClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoBooleanClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/soap12/Round2Soap12EchoBooleanClientUtil.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:18:48 PM
- * To change this template use File | Settings | File Templates.
- */
-public class Round2Soap12EchoBooleanClientUtil 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("echoBoolean", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
-
- OMElement part = omfactory.createOMElement("inputBoolean", "", null);
- part.addAttribute("xsi:type", "xsd:boolean", null);
- part.addChild(omfactory.createText("true"));
-
- 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:18:48 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class Round2Soap12EchoBooleanClientUtil 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("echoBoolean", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
+
+ OMElement part = omfactory.createOMElement("inputBoolean", "", null);
+ part.addAttribute("xsi:type", "xsd:boolean", null);
+ part.addChild(omfactory.createText("true"));
+
+ 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/Round2Soap12EchoBooleanClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native