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 [71/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/Round2EchoBase64ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBase64ClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBase64ClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBase64ClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,70 +1,70 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoBase64ClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoBase64", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputBase64", "", null);
- part.addAttribute("xsi:type", "xsd:base64Binary", null);
- part.addChild(omfactory.createText("UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
-/**
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <m:echoBase64 xmlns:m="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <inputBase64 xsi:type="xsd:base64Binary">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</inputBase64>
- </m:echoBase64>
- </SOAP-ENV:Body>
-</SOAP-ENV:Envelope>*/
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoBase64ClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoBase64", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputBase64", "", null);
+ part.addAttribute("xsi:type", "xsd:base64Binary", null);
+ part.addChild(omfactory.createText("UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
+/**
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <SOAP-ENV:Body>
+ <m:echoBase64 xmlns:m="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
+ <inputBase64 xsi:type="xsd:base64Binary">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</inputBase64>
+ </m:echoBase64>
+ </SOAP-ENV:Body>
+</SOAP-ENV:Envelope>*/
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBase64ClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,64 +1,64 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoBooleanClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoBoolean", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputBoolean", "", null);
- part.addAttribute("xsi:type", "xsd:boolean", null);
- part.addChild(omfactory.createText("true"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoBooleanClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoBoolean", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputBoolean", "", null);
+ part.addAttribute("xsi:type", "xsd:boolean", null);
+ part.addChild(omfactory.createText("true"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoBooleanClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,63 +1,63 @@
- package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoDateClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoDate", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputDate", "", null);
- part.addAttribute("xsi:type", "xsd:dateTime", null);
- part.addChild(omfactory.createText("2002-07-18T19:40:30.387-06:00"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
+ package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoDateClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoDate", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputDate", "", null);
+ part.addAttribute("xsi:type", "xsd:dateTime", null);
+ part.addChild(omfactory.createText("2002-07-18T19:40:30.387-06:00"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDateClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,64 +1,64 @@
-
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoDecimalClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoDecimal", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputDecimal", "", null);
- part.addAttribute("xsi:type", "xsd:decimal", null);
- part.addChild(omfactory.createText("455646152"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
+
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoDecimalClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoDecimal", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputDecimal", "", null);
+ part.addAttribute("xsi:type", "xsd:decimal", null);
+ part.addChild(omfactory.createText("455646152"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoDecimalClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,77 +1,77 @@
-
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoFloatArrayClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- //OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoFloatArray", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputFloatArray", "", null);
- part.addAttribute("xsi:type", "xsd:int", null);
- part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
- part.addAttribute("SOAP-ENC:arrayType", "xsd:float[3]", null);
-
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:float", null);
- value0.addChild(omfactory.createText("45.76876"));
- OMElement value1 = omfactory.createOMElement("varInt", "", null);
- value1.addAttribute("xsi:type", "xsd:float", null);
- value1.addChild(omfactory.createText("43.454"));
- OMElement value2 = omfactory.createOMElement("varFloat", "", null);
- value2.addAttribute("xsi:type", "xsd:float", null);
- value2.addChild(omfactory.createText("2523.542"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
-
- operation.addChild(part);
- return reqEnv;
-
- }
-}
+
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoFloatArrayClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ //OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoFloatArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputFloatArray", "", null);
+ part.addAttribute("xsi:type", "xsd:int", null);
+ part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+ part.addAttribute("SOAP-ENC:arrayType", "xsd:float[3]", null);
+
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:float", null);
+ value0.addChild(omfactory.createText("45.76876"));
+ OMElement value1 = omfactory.createOMElement("varInt", "", null);
+ value1.addAttribute("xsi:type", "xsd:float", null);
+ value1.addChild(omfactory.createText("43.454"));
+ OMElement value2 = omfactory.createOMElement("varFloat", "", null);
+ value2.addAttribute("xsi:type", "xsd:float", null);
+ value2.addChild(omfactory.createText("2523.542"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+
+ operation.addChild(part);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,64 +1,64 @@
-
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoFloatClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- //OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoFloat", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputFloat", "", null);
- part.addAttribute("xsi:type", "xsd:float", null);
- part.addChild(omfactory.createText("50.25"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-}
+
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoFloatClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ //OMNamespace namespace0 = reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoFloat", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputFloat", "", null);
+ part.addAttribute("xsi:type", "xsd:float", null);
+ part.addChild(omfactory.createText("50.25"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoFloatClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,64 +1,64 @@
-
-package org.apache.axis2.interopt.whitemesa.round2.util;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoHexBinaryClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
- reqEnv.declareNamespace("http://microsoft.com/wsdl/mime/textMatching/","tm");
-
- OMElement operation = omfactory.createOMElement("echoHexBinary", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputHexBinary", "", null);
- part.addAttribute("xsi:type", "xsd:hexBinary", null);
- part.addChild(omfactory.createText("AAABBAAE"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }}
+
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoHexBinaryClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+ reqEnv.declareNamespace("http://microsoft.com/wsdl/mime/textMatching/","tm");
+
+ OMElement operation = omfactory.createOMElement("echoHexBinary", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputHexBinary", "", null);
+ part.addAttribute("xsi:type", "xsd:hexBinary", null);
+ part.addChild(omfactory.createText("AAABBAAE"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.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.OMNamespace;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoIntegerArrayclientUtil implements SunRound2ClientUtil{
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoIntegerArray", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
- OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
- part.addAttribute("xsi:type","SOAP-ENC:Array",null);
- part.addAttribute("SOAP-ENC:arrayType","xsd:int[3]",null);
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:int", null);
- value0.addChild(omfactory.createText("451"));
- OMElement value1 = omfactory.createOMElement("varString", "", null);
- value1.addAttribute("xsi:type", "xsd:int", null);
- value1.addChild(omfactory.createText("425"));
- OMElement value2 = omfactory.createOMElement("varString", "", null);
- value2.addAttribute("xsi:type", "xsd:int", null);
- value2.addChild(omfactory.createText("2523"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
-
- operation.addChild(part);
-
- //reqEnv.getBody().addChild(method);
- return reqEnv;
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoIntegerArrayclientUtil implements SunRound2ClientUtil{
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoIntegerArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+ OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
+ part.addAttribute("xsi:type","SOAP-ENC:Array",null);
+ part.addAttribute("SOAP-ENC:arrayType","xsd:int[3]",null);
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:int", null);
+ value0.addChild(omfactory.createText("451"));
+ OMElement value1 = omfactory.createOMElement("varString", "", null);
+ value1.addAttribute("xsi:type", "xsd:int", null);
+ value1.addChild(omfactory.createText("425"));
+ OMElement value2 = omfactory.createOMElement("varString", "", null);
+ value2.addAttribute("xsi:type", "xsd:int", null);
+ value2.addChild(omfactory.createText("2523"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+
+ operation.addChild(part);
+
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.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.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoIntegerClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoInteger", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputInteger", "", null);
- part.addAttribute("xsi:type", "xsd:int", null);
- part.addChild(omfactory.createText("52"));
- operation.addChild(part);
- return reqEnv;
-
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoIntegerClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoInteger", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputInteger", "", null);
+ part.addAttribute("xsi:type", "xsd:int", null);
+ part.addChild(omfactory.createText("52"));
+ operation.addChild(part);
+ return reqEnv;
+
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoIntegerClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,76 +1,76 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoStringArrayClientUtil implements SunRound2ClientUtil {
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoStringArray", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputStringArray", "", null);
- part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
- part.addAttribute("SOAP-ENC:arrayType", "xsd:string[3]", null);
-
- OMElement value0 = omfactory.createOMElement("varString", "", null);
- value0.addAttribute("xsi:type", "xsd:string", null);
- value0.addChild(omfactory.createText("Apache Axis2"));
- OMElement value1 = omfactory.createOMElement("varString", "", null);
- value1.addAttribute("xsi:type", "xsd:string", null);
- value1.addChild(omfactory.createText("Lanka Software Foundation"));
- OMElement value2 = omfactory.createOMElement("varString", "", null);
- value2.addAttribute("xsi:type", "xsd:string", null);
- value2.addChild(omfactory.createText("www.opensource.lk"));
-
- part.addChild(value0);
- part.addChild(value1);
- part.addChild(value2);
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
- }
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoStringArrayClientUtil implements SunRound2ClientUtil {
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ //reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoStringArray", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputStringArray", "", null);
+ part.addAttribute("xsi:type", "SOAP-ENC:Array", null);
+ part.addAttribute("SOAP-ENC:arrayType", "xsd:string[3]", null);
+
+ OMElement value0 = omfactory.createOMElement("varString", "", null);
+ value0.addAttribute("xsi:type", "xsd:string", null);
+ value0.addChild(omfactory.createText("Apache Axis2"));
+ OMElement value1 = omfactory.createOMElement("varString", "", null);
+ value1.addAttribute("xsi:type", "xsd:string", null);
+ value1.addChild(omfactory.createText("Lanka Software Foundation"));
+ OMElement value2 = omfactory.createOMElement("varString", "", null);
+ value2.addAttribute("xsi:type", "xsd:string", null);
+ value2.addChild(omfactory.createText("www.opensource.lk"));
+
+ part.addChild(value0);
+ part.addChild(value1);
+ part.addChild(value2);
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+ }
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,67 +1,67 @@
-package org.apache.axis2.interopt.whitemesa.round2.util;
-
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPBody;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-
-
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-
-/**
- * Author: Gayan Asanka
- * Date: Aug 23, 2005
- * Time: 4:27:20 PM
- */
-
-public class Round2EchoStringclientUtil implements SunRound2ClientUtil {
-
-
- public SOAPEnvelope getEchoSoapEnvelope() {
-
- SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
- SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
- reqEnv.declareNamespace("http://soapinterop.org/", "tns");
- reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
- reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
- reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
-
- OMElement operation = omfactory.createOMElement("echoString", "http://soapinterop.org/", null);
- SOAPBody body = omfactory.createSOAPBody(reqEnv);
- body.addChild(operation);
- operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
- OMElement part = omfactory.createOMElement("inputString", "", null);
- part.addAttribute("xsi:type", "xsd:string", null);
- part.addChild(omfactory.createText("String Argument"));
-
- operation.addChild(part);
- //reqEnv.getBody().addChild(method);
- return reqEnv;
-
- }
-
-}
+package org.apache.axis2.interopt.whitemesa.round2.util;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+
+
+/*
+* Copyright 2004,2005 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+public class Round2EchoStringclientUtil implements SunRound2ClientUtil {
+
+
+ public SOAPEnvelope getEchoSoapEnvelope() {
+
+ SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+ SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+ reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+ reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+ reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+ reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+
+ OMElement operation = omfactory.createOMElement("echoString", "http://soapinterop.org/", null);
+ SOAPBody body = omfactory.createSOAPBody(reqEnv);
+ body.addChild(operation);
+ operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+ OMElement part = omfactory.createOMElement("inputString", "", null);
+ part.addAttribute("xsi:type", "xsd:string", null);
+ part.addChild(omfactory.createText("String Argument"));
+
+ operation.addChild(part);
+ //reqEnv.getBody().addChild(method);
+ return reqEnv;
+
+ }
+
+}
Propchange: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStringclientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStructArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStructArrayClientUtil.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStructArrayClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/org/apache/axis2/interopt/whitemesa/round2/util/Round2EchoStructArrayClientUtil.java Thu Sep 15 11:52:11 2005
@@ -1,115 +1,115 @@
-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 Round2EchoStructArrayClientUtil 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("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.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 Round2EchoStructArrayClientUtil 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("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/Round2EchoStructArrayClientUtil.java
------------------------------------------------------------------------------
svn:eol-style = native