diff --git a/README b/README index 39cb46c..1134acb 100644 --- a/README +++ b/README @@ -1,12 +1,13 @@ --------- QAPortalAutoBedAPI ------------ -copy jars to WEB-INF/lib, deploye the 5 data services and deploye the QAPortalAutoTestResultService. +deploy data services on DSS and AutoTestResultService on AS. ----------------------------------------- files included > dist - distribution - --> dependencies - jars and data services - --> QAPortalAutoTestResultService.aar - service -> project - the eclipse project for the QAPortalAutoTestResultService + --> dependencies - data services + --> AutoTestResultsService.aar - service +> project - the eclipse project for the AutoTestResultService +> old - the axis 2 specific service and dependancy jars diff --git a/old/AutoTestResultsService.aar b/old/AutoTestResultsService.aar new file mode 100644 index 0000000..d50ce88 Binary files /dev/null and b/old/AutoTestResultsService.aar differ diff --git a/old/InsertBuildMappingTestResult.jar b/old/InsertBuildMappingTestResult.jar new file mode 100644 index 0000000..175053e Binary files /dev/null and b/old/InsertBuildMappingTestResult.jar differ diff --git a/old/InsertTestResult.jar b/old/InsertTestResult.jar new file mode 100644 index 0000000..c5e5bf2 Binary files /dev/null and b/old/InsertTestResult.jar differ diff --git a/old/QAPortalAutoTestResultService/.classpath b/old/QAPortalAutoTestResultService/.classpath new file mode 100644 index 0000000..c502a77 --- /dev/null +++ b/old/QAPortalAutoTestResultService/.classpath @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/old/QAPortalAutoTestResultService/.project b/old/QAPortalAutoTestResultService/.project new file mode 100644 index 0000000..ebb85b4 --- /dev/null +++ b/old/QAPortalAutoTestResultService/.project @@ -0,0 +1,36 @@ + + + QAPortalAutoTestResultService + + + + + + org.eclipse.wst.jsdt.core.javascriptValidator + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/old/QAPortalAutoTestResultService/.settings/.jsdtscope b/old/QAPortalAutoTestResultService/.settings/.jsdtscope new file mode 100644 index 0000000..3a28de0 --- /dev/null +++ b/old/QAPortalAutoTestResultService/.settings/.jsdtscope @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/old/QAPortalAutoTestResultService/.settings/org.eclipse.jdt.core.prefs b/old/QAPortalAutoTestResultService/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..f42de36 --- /dev/null +++ b/old/QAPortalAutoTestResultService/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.common.component b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..3de85b9 --- /dev/null +++ b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.common.component @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.common.project.facet.core.xml b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..d54438c --- /dev/null +++ b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.container b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.name b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.validation.prefs b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 0000000..5b064c7 --- /dev/null +++ b/old/QAPortalAutoTestResultService/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,2 @@ +disabled=120WebContent/axis2-web +eclipse.preferences.version=1 diff --git a/old/QAPortalAutoTestResultService/WebContent/META-INF/MANIFEST.MF b/old/QAPortalAutoTestResultService/WebContent/META-INF/MANIFEST.MF new file mode 100644 index 0000000..5570da1 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: sagara +Build-Jdk: 1.6.0_22 + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/META-INF/LICENSE b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/META-INF/LICENSE new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/META-INF/LICENSE @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/META-INF/NOTICE b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/META-INF/NOTICE new file mode 100644 index 0000000..bd39693 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/META-INF/NOTICE @@ -0,0 +1,26 @@ +========================================================================= +== NOTICE file corresponding to the section 4 d of == +== the Apache License, Version 2.0, == +== in this case for the Apache Axis2 distribution. == +========================================================================= + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). +Portions Copyright 2006 International Business Machines Corp. +Portions Copyright 2005-2007 WSO2, Inc. + +This product also includes schemas and specification developed by: +- the W3C consortium (http://www.w3c.org) + +This product also includes WS-* schemas developed by International +Business Machines Corporation, Microsoft Corporation, BEA Systems, +TIBCO Software, SAP AG, Sonic Software, and VeriSign + +This product also includes a WSDL developed by salesforce.com +- Copyright 1999-2006 salesforce.com, inc. + +Portions of the included xmlbeans library were originally based on the following: +- software copyright (c) 2000-2003, BEA Systems, . + +Please read the different LICENSE files present in the lib directory of +this distribution. diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/commons-logging.properties b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/commons-logging.properties new file mode 100644 index 0000000..1e570d6 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/commons-logging.properties @@ -0,0 +1,30 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# + +# This is the logging properties that goes to the war, there are two logging conf kept at the +# svn, one for developement (one at src/test-resources) and other for producation + +# Uncomment the next line to disable all logging. +#org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog + +# Uncomment the next line to enable the simple log based logging +#org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog + +# Uncomment the next line to enable log4j based logging +org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/log4j.properties b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/log4j.properties new file mode 100644 index 0000000..2fa4429 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/log4j.properties @@ -0,0 +1,40 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# + +# Set root category priority to INFO and its only appender to CONSOLE. +log4j.rootCategory=INFO, CONSOLE +#log4j.rootCategory=INFO, CONSOLE, LOGFILE + +# Set the enterprise logger priority to FATAL +log4j.logger.org.apache.axis2.enterprise=FATAL +log4j.logger.de.hunsicker.jalopy.io=FATAL +log4j.logger.httpclient.wire.header=FATAL +log4j.logger.org.apache.commons.httpclient=FATAL + +# CONSOLE is set to be a ConsoleAppender using a PatternLayout. +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %m%n + +# LOGFILE is set to be a File appender using a PatternLayout. +log4j.appender.LOGFILE=org.apache.log4j.FileAppender +log4j.appender.LOGFILE.File=axis2.log +log4j.appender.LOGFILE.Append=true +log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout +log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/transport/http/AxisAdminServlet.class b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/transport/http/AxisAdminServlet.class new file mode 100644 index 0000000..bccb1c3 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/transport/http/AxisAdminServlet.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AdminAgent.class b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AdminAgent.class new file mode 100644 index 0000000..49c02af Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AdminAgent.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AxisAdminServlet.class b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AxisAdminServlet.class new file mode 100644 index 0000000..973f43c Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AxisAdminServlet.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/conf/axis2.xml b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/conf/axis2.xml new file mode 100644 index 0000000..cad435b --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/conf/axis2.xml @@ -0,0 +1,520 @@ + + + + + + + true + false + false + false + + + + + false + + + true + + + + + + + + + + + + + 30000 + + + + false + + + + + + false + + admin + axis2 + + + + + + + + + + + + + + + + + + + + + + + + + false + + + false + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + HTTP/1.1 + chunked + + + + + + + HTTP/1.1 + chunked + + + + + + + + + + + + + + + + + + + + + + + + true + + + multicast + + + wso2.carbon.domain + + + true + + + 10 + + + 228.0.0.4 + + + 45564 + + + 500 + + + 3000 + + + 127.0.0.1 + + + 127.0.0.1 + + + 4000 + + + true + + + true + + + + + + + + + + + 127.0.0.1 + 4000 + + + 127.0.0.1 + 4001 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-1.4.7.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-1.4.7.jar new file mode 100644 index 0000000..79251c6 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-1.4.7.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/activation-1.1.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/activation-1.1.jar new file mode 100644 index 0000000..53f82a1 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/activation-1.1.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/activation-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/activation-LICENSE.txt new file mode 100644 index 0000000..55ce20a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/activation-LICENSE.txt @@ -0,0 +1,119 @@ +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 + +1. Definitions. + +1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications. + +1.2. Contributor Version means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. + +1.3. Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. + +1.4. Executable means the Covered Software in any form other than Source Code. + +1.5. Initial Developer means the individual or entity that first makes Original Software available under this License. + +1.6. Larger Work means a work which combines Covered Software or portions thereof with code not governed by the terms of this License. + +1.7. License means this document. + +1.8. Licensable means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. + +1.9. Modifications means the Source Code and Executable form of any of the following: + +A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications; + +B. Any new file that contains any part of the Original Software or previous Modification; or + +C. Any new file that is contributed or otherwise made available under the terms of this License. + +1.10. Original Software means the Source Code and Executable form of computer software code that is originally released under this License. + +1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. + +1.12. Source Code means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code. + +1.13. You (or Your) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, You includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, control means (a)�the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b)�ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. + +2. License Grants. + +2.1. The Initial Developer Grant. +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license: +(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and +(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof). +(c) The licenses granted in Sections�2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License. +(d) Notwithstanding Section�2.1(b) above, no patent license is granted: (1)�for code that You delete from the Original Software, or (2)�for infringements caused by: (i)�the modification of the Original Software, or (ii)�the combination of the Original Software with other software or devices. + +2.2. Contributor Grant. +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: +(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and +(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1)�Modifications made by that Contributor (or portions thereof); and (2)�the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). +(c) The licenses granted in Sections�2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party. +(d) Notwithstanding Section�2.2(b) above, no patent license is granted: (1)�for any code that Contributor has deleted from the Contributor Version; (2)�for infringements caused by: (i)�third party modifications of Contributor Version, or (ii)�the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3)�under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor. + +3. Distribution Obligations. + +3.1. Availability of Source Code. + +Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange. + +3.2. Modifications. + +The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License. + +3.3. Required Notices. +You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer. + +3.4. Application of Additional Terms. +You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. + +3.5. Distribution of Executable Versions. +You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. + +3.6. Larger Works. +You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. + +4. Versions of the License. + +4.1. New Versions. +Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License. + +4.2. Effect of New Versions. + +You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward. +4.3. Modified Versions. + +When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a)�rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b)�otherwise make it clear that the license contains terms which differ from this License. + +5. DISCLAIMER OF WARRANTY. + +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +6. TERMINATION. + +6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. + +6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as Participant) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections�2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant. + +6.3. In the event of termination under Sections�6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + +The Covered Software is a commercial item, as that term is defined in 48�C.F.R.�2.101 (Oct. 1995), consisting of commercial computer software (as that term is defined at 48 C.F.R. �252.227-7014(a)(1)) and commercial computer software documentation as such terms are used in 48�C.F.R.�12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License. + +9. MISCELLANEOUS. + +This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + +As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. + +NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) +The GlassFish code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California. + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/antlr-2-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/antlr-2-LICENSE.txt new file mode 100644 index 0000000..d62cc1a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/antlr-2-LICENSE.txt @@ -0,0 +1,31 @@ + +SOFTWARE RIGHTS + +ANTLR 1989-2006 Developed by Terence Parr +Partially supported by University of San Francisco & jGuru.com + +We reserve no legal rights to the ANTLR--it is fully in the +public domain. An individual or company may do whatever +they wish with source code distributed with ANTLR or the +code generated by ANTLR, including the incorporation of +ANTLR, or its output, into commerical software. + +We encourage users to develop software with ANTLR. However, +we do ask that credit is given to us for developing +ANTLR. By "credit", we mean that if you use ANTLR or +incorporate any source code into one of your programs +(commercial product, research project, or otherwise) that +you acknowledge this fact somewhere in the documentation, +research report, etc... If you like ANTLR and have +developed a nice tool with the output, please mention that +you developed it using ANTLR. In addition, we ask that the +headers remain intact in our source code. As long as these +guidelines are kept, we expect to continue enhancing this +system and expect to make other tools available as they are +completed. + +The primary ANTLR guy: + +Terence Parr +parrt@cs.usfca.edu +parrt@antlr.org diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/antlr-2.7.7.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/antlr-2.7.7.jar new file mode 100644 index 0000000..5e5f14b Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/antlr-2.7.7.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-api-1.2.13.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-api-1.2.13.jar new file mode 100644 index 0000000..84cb42c Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-api-1.2.13.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-api-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-api-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-api-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-1.2.13.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-1.2.13.jar new file mode 100644 index 0000000..4890bb2 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-1.2.13.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-1.2.13.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-1.2.13.jar new file mode 100644 index 0000000..a959b28 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-1.2.13.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-1.6.2.jar new file mode 100644 index 0000000..6234fdb Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-codegen-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-codegen-1.6.2.jar new file mode 100644 index 0000000..7d037d4 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-codegen-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-clustering-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-clustering-1.6.2.jar new file mode 100644 index 0000000..e45be99 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-clustering-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-codegen-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-codegen-1.6.2.jar new file mode 100644 index 0000000..f742f19 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-codegen-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-corba-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-corba-1.6.2.jar new file mode 100644 index 0000000..ee3c78e Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-corba-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-fastinfoset-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-fastinfoset-1.6.2.jar new file mode 100644 index 0000000..d10c36a Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-fastinfoset-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-java2wsdl-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-java2wsdl-1.6.2.jar new file mode 100644 index 0000000..0bb869d Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-java2wsdl-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxbri-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxbri-1.6.2.jar new file mode 100644 index 0000000..616eec9 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxbri-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxws-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxws-1.6.2.jar new file mode 100644 index 0000000..064351a Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxws-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jibx-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jibx-1.6.2.jar new file mode 100644 index 0000000..75f9d1a Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-jibx-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-json-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-json-1.6.2.jar new file mode 100644 index 0000000..edd7936 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-json-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-kernel-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-kernel-1.6.2.jar new file mode 100644 index 0000000..3ae5f7a Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-kernel-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-metadata-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-metadata-1.6.2.jar new file mode 100644 index 0000000..492f1ac Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-metadata-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-mtompolicy-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-mtompolicy-1.6.2.jar new file mode 100644 index 0000000..561e84a Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-mtompolicy-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-saaj-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-saaj-1.6.2.jar new file mode 100644 index 0000000..c14531d Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-saaj-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-soapmonitor-servlet-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-soapmonitor-servlet-1.6.2.jar new file mode 100644 index 0000000..276dac7 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-soapmonitor-servlet-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-spring-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-spring-1.6.2.jar new file mode 100644 index 0000000..30b9baa Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-spring-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-http-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-http-1.6.2.jar new file mode 100644 index 0000000..b1dad78 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-http-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-local-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-local-1.6.2.jar new file mode 100644 index 0000000..34a7073 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-local-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-xmlbeans-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-xmlbeans-1.6.2.jar new file mode 100644 index 0000000..58fba9b Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/axis2-xmlbeans-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-cli-1.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-cli-1.2.jar new file mode 100644 index 0000000..ce4b9ff Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-cli-1.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-cli-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-cli-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-cli-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-codec-1.3.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-codec-1.3.jar new file mode 100644 index 0000000..957b675 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-codec-1.3.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-codec-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-codec-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-codec-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-1.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-1.2.jar new file mode 100644 index 0000000..12539f5 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-1.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-3.1.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-3.1.jar new file mode 100644 index 0000000..7c59774 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-3.1.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-io-1.4.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-io-1.4.jar new file mode 100644 index 0000000..133dc6c Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-io-1.4.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-io-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-io-LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-io-LICENSE.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar new file mode 100644 index 0000000..1deef14 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-logging-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-logging-LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/commons-logging-LICENSE.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar new file mode 100644 index 0000000..ab1ee3b Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/httpcore-4.0.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/httpcore-4.0.jar new file mode 100644 index 0000000..37eb7d4 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/httpcore-4.0.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/httpcore-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/httpcore-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/httpcore-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/log4j-1.2.15.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/log4j-1.2.15.jar new file mode 100644 index 0000000..c930a6a Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/log4j-1.2.15.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/log4j-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/log4j-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/log4j-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/mail-1.4.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/mail-1.4.jar new file mode 100644 index 0000000..fd4555b Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/mail-1.4.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/mail-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/mail-LICENSE.txt new file mode 100644 index 0000000..55ce20a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/mail-LICENSE.txt @@ -0,0 +1,119 @@ +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 + +1. Definitions. + +1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications. + +1.2. Contributor Version means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. + +1.3. Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. + +1.4. Executable means the Covered Software in any form other than Source Code. + +1.5. Initial Developer means the individual or entity that first makes Original Software available under this License. + +1.6. Larger Work means a work which combines Covered Software or portions thereof with code not governed by the terms of this License. + +1.7. License means this document. + +1.8. Licensable means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. + +1.9. Modifications means the Source Code and Executable form of any of the following: + +A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications; + +B. Any new file that contains any part of the Original Software or previous Modification; or + +C. Any new file that is contributed or otherwise made available under the terms of this License. + +1.10. Original Software means the Source Code and Executable form of computer software code that is originally released under this License. + +1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. + +1.12. Source Code means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code. + +1.13. You (or Your) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, You includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, control means (a)�the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b)�ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. + +2. License Grants. + +2.1. The Initial Developer Grant. +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license: +(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and +(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof). +(c) The licenses granted in Sections�2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License. +(d) Notwithstanding Section�2.1(b) above, no patent license is granted: (1)�for code that You delete from the Original Software, or (2)�for infringements caused by: (i)�the modification of the Original Software, or (ii)�the combination of the Original Software with other software or devices. + +2.2. Contributor Grant. +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: +(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and +(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1)�Modifications made by that Contributor (or portions thereof); and (2)�the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). +(c) The licenses granted in Sections�2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party. +(d) Notwithstanding Section�2.2(b) above, no patent license is granted: (1)�for any code that Contributor has deleted from the Contributor Version; (2)�for infringements caused by: (i)�third party modifications of Contributor Version, or (ii)�the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3)�under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor. + +3. Distribution Obligations. + +3.1. Availability of Source Code. + +Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange. + +3.2. Modifications. + +The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License. + +3.3. Required Notices. +You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer. + +3.4. Application of Additional Terms. +You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. + +3.5. Distribution of Executable Versions. +You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. + +3.6. Larger Works. +You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. + +4. Versions of the License. + +4.1. New Versions. +Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License. + +4.2. Effect of New Versions. + +You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward. +4.3. Modified Versions. + +When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a)�rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b)�otherwise make it clear that the license contains terms which differ from this License. + +5. DISCLAIMER OF WARRANTY. + +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +6. TERMINATION. + +6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. + +6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as Participant) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections�2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant. + +6.3. In the event of termination under Sections�6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + +The Covered Software is a commercial item, as that term is defined in 48�C.F.R.�2.101 (Oct. 1995), consisting of commercial computer software (as that term is defined at 48 C.F.R. �252.227-7014(a)(1)) and commercial computer software documentation as such terms are used in 48�C.F.R.�12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License. + +9. MISCELLANEOUS. + +This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + +As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. + +NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) +The GlassFish code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California. + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/neethi-3.0.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/neethi-3.0.2.jar new file mode 100644 index 0000000..383efde Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/neethi-3.0.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/neethi-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/neethi-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/neethi-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-api-1.0M9.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-api-1.0M9.jar new file mode 100644 index 0000000..3b07e8e Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-api-1.0M9.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-api-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-api-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-api-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-1.0M9.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-1.0M9.jar new file mode 100644 index 0000000..f99c8d7 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-1.0M9.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-1.0M9.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-1.0M9.jar new file mode 100644 index 0000000..0e3fff5 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-1.0M9.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-1.6.2.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-1.6.2.jar new file mode 100644 index 0000000..b9ffc36 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-1.6.2.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-LICENSE.txt new file mode 100644 index 0000000..ffc4d1f --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-LICENSE.txt @@ -0,0 +1,88 @@ +Common Public License - v 1.0 + + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and +b) in the case of each subsequent Contributor: +i) changes to the Program, and +ii) additions to the Program; +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. + + +"Program" means the Contributions distributed in accordance with this Agreement. + + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and +b) its license agreement: +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. + + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. + + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. + + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + + +If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. + + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. + + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wstx-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wstx-LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wstx-LICENSE.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wstx-asl-3.2.9.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wstx-asl-3.2.9.jar new file mode 100644 index 0000000..ffdbd1f Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/wstx-asl-3.2.9.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-2.3.0.jar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-2.3.0.jar new file mode 100644 index 0000000..ccd8163 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-2.3.0.jar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-LICENSE.txt b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/addressing-1.6.2.mar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/addressing-1.6.2.mar new file mode 100644 index 0000000..c156ee7 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/addressing-1.6.2.mar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/axis2-jaxws-mar-1.6.2.mar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/axis2-jaxws-mar-1.6.2.mar new file mode 100644 index 0000000..9bf3f61 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/axis2-jaxws-mar-1.6.2.mar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/mex-1.6.2.mar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/mex-1.6.2.mar new file mode 100644 index 0000000..0b348d6 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/mex-1.6.2.mar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/modules.list b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/modules.list new file mode 100644 index 0000000..9615a26 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/modules.list @@ -0,0 +1,7 @@ +mtompolicy-1.6.2.mar +ping-1.6.2.mar +mex-1.6.2.mar +scripting-1.6.2.mar +addressing-1.6.2.mar +axis2-jaxws-mar-1.6.2.mar +soapmonitor-1.6.2.mar diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/mtompolicy-1.6.2.mar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/mtompolicy-1.6.2.mar new file mode 100644 index 0000000..3227144 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/mtompolicy-1.6.2.mar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/ping-1.6.2.mar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/ping-1.6.2.mar new file mode 100644 index 0000000..a9e3ca9 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/ping-1.6.2.mar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/scripting-1.6.2.mar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/scripting-1.6.2.mar new file mode 100644 index 0000000..ddfb2e6 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/scripting-1.6.2.mar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/soapmonitor-1.6.2.mar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/soapmonitor-1.6.2.mar new file mode 100644 index 0000000..5830c96 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/modules/soapmonitor-1.6.2.mar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/META-INF/services.xml b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/META-INF/services.xml new file mode 100644 index 0000000..45c5f23 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/META-INF/services.xml @@ -0,0 +1,10 @@ + + + Please Type your service description here + + + + + + com.qaportal.QAPortalAutoTestResultService + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/META-INF/services.xml~ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/META-INF/services.xml~ new file mode 100644 index 0000000..9d1fe07 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/META-INF/services.xml~ @@ -0,0 +1,10 @@ + + + Please Type your service description here + + + + + + com.qaportal.QAPortalAutoTestResultService + diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/QAPortalAutoTestResultService.aar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/QAPortalAutoTestResultService.aar new file mode 100644 index 0000000..a0cc49c Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/QAPortalAutoTestResultService.aar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/com/qaportal/QAPortalAutoTestResultService.class b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/com/qaportal/QAPortalAutoTestResultService.class new file mode 100644 index 0000000..b2636b7 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/QAPortalAutoTestResultService/com/qaportal/QAPortalAutoTestResultService.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/services.list b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/services.list new file mode 100644 index 0000000..6e2f514 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/services.list @@ -0,0 +1 @@ +version-1.6.2.aar diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/version-1.6.2.aar b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/version-1.6.2.aar new file mode 100644 index 0000000..26ec7af Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/services/version-1.6.2.aar differ diff --git a/old/QAPortalAutoTestResultService/WebContent/WEB-INF/web.xml b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/web.xml new file mode 100644 index 0000000..45f151d --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/WEB-INF/web.xml @@ -0,0 +1,40 @@ + + + QAPortalAutoTestResultService + + index.html + index.htm + index.jsp + default.html + default.htm + default.jsp + /axis2-web/index.jsp + + + Apache-Axis Servlet + AxisServlet + org.apache.axis2.transport.http.AxisServlet + + + AxisServlet + /servlet/AxisServlet + + + AxisServlet + *.jws + + + AxisServlet + /services/* + + + Apache-Axis Admin Servlet Web Admin + AxisAdminServlet + org.apache.axis2.transport.http.AxisAdminServlet + 100 + + + AxisAdminServlet + /axis2-admin/* + + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/ActivateService.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ActivateService.jsp new file mode 100644 index 0000000..1ea3082 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ActivateService.jsp @@ -0,0 +1,82 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisService, + java.util.Collection, + java.util.HashMap, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Turn On Service

+
+ + + + + + <% +HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP); +Collection col = services.values(); +String html = ""; +int count = 0; + +for (Iterator iterator = col.iterator(); iterator.hasNext();) { + AxisService axisServices = (AxisService) iterator.next(); + if(!axisServices.isActive()){ + count++; + html += ""; + } +} +request.getSession().setAttribute(Constants.SERVICE_MAP,null); +if (count > 0) { +%> + + + + + + + + + + +<% +} else { + %> + + <% +} +%> + + +
+

The services that are inactive are listed below. Although you can activate the services from this page, once system is restarted the services will be inactive again

+
Select Service : + +
Activate Service +
  + + + No inactive services present.
+
+ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/EngageToServiceGroup.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/EngageToServiceGroup.jsp new file mode 100644 index 0000000..e062014 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/EngageToServiceGroup.jsp @@ -0,0 +1,138 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + org.apache.axis2.description.AxisServiceGroup, + java.util.Collection" %> +<%@ page import="java.util.HashMap"%> +<%@ page import="java.util.Iterator"%> +<%@ page import="org.apache.axis2.util.Utils" %> + +<% + String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS); + HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP); + request.getSession().setAttribute(Constants.MODULE_MAP,null); + Collection moduleCol = moduels.values(); + Iterator servicesGroups = (Iterator)request.getSession().getAttribute(Constants.SERVICE_GROUP_MAP); + request.getSession().setAttribute(Constants.SERVICE_GROUP_MAP,null); +%> +

Engage Module for a Service Group

+

To engage a module for a set of services grouped as an axis service group,

+ +
    +
  1. select the module you want to engage
  2. +
  3. select the axis service group you like the module to be engaged.
  4. +
  5. click "Engage".
  6. +
+ + +<% + if (!moduleCol.iterator().hasNext()) {%> +

No modules are present to be engaged.

+ <%} else { + if (!servicesGroups.hasNext()) {%> +

No Axis service groups are present to be engaged.

+ <%} else { +%> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Select a Module :
+
+   +   +
Select a Service Group :
+ +
+   +   +
+ +
+   +   +
+   +   +
+ +
+
+<% + } + } +%> + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/AuthError.html b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/AuthError.html new file mode 100644 index 0000000..a439e49 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/AuthError.html @@ -0,0 +1,44 @@ + + + + Error In Admin Application + + + + + + +
+ + + + + + +
Failure in Authentication! Please check your username and password
back
+ +
+ + + + +
All rights reserved by Apache Software Foundation
+ + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/GenError.html b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/GenError.html new file mode 100644 index 0000000..80ee16a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/GenError.html @@ -0,0 +1,44 @@ + + + + Error In Admin Application + + + + + + +
+ + + + + + +
Server Encountered an Error!
home
+ +
+ + + + +
All rights reserved by Apache Software Foundation
+ + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/error404.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/error404.jsp new file mode 100644 index 0000000..6fee940 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/error404.jsp @@ -0,0 +1,63 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=iso-8859-1" language="java" %> + + + + + Axis2 :: Resource not found! + + + + + + + + + + +
+ + + + + +
+

Requested resource not found!

+
+
+
+
+
home
+ + + + +
+ + + + + +

Copyright © 1999-2006, The Apache Software Foundation
Licensed under the Apache License, Version 2.0.
+
 
+ + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/error500.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/error500.jsp new file mode 100644 index 0000000..4d6495e --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Error/error500.jsp @@ -0,0 +1,64 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=iso-8859-1" language="java" %> + + + + + Axis2 :: Internal server error + + + + + + + + + + +
+ + + + + +
+

Internal server error

+
+
+
+
+
home
+
+ + + + +
+ + + + + +

Copyright © 1999-2006, The Apache Software Foundation
Licensed under the Apache License, Version 2.0.
+
 
+ + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/HappyAxis.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/HappyAxis.jsp new file mode 100644 index 0000000..ac63e63 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/HappyAxis.jsp @@ -0,0 +1,508 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + + +<%@ page import="org.apache.axis2.AxisFault, + org.apache.axis2.Constants, + org.apache.axis2.addressing.EndpointReference, + org.apache.axis2.client.Options, + org.apache.axis2.client.ServiceClient, + org.apache.axis2.context.ConfigurationContext, + org.apache.axis2.context.ConfigurationContextFactory, + javax.xml.parsers.SAXParser, + javax.xml.parsers.SAXParserFactory, + java.io.IOException, + java.io.InputStream, + java.io.StringWriter, + org.apache.axiom.om.OMElement, + org.apache.axiom.om.OMFactory, + org.apache.axiom.om.OMNamespace, + org.apache.axiom.om.OMAbstractFactory, + javax.xml.stream.XMLOutputFactory, + javax.xml.stream.XMLStreamException" + session="false" %> + + + Axis2 Happiness Page + + + + + + +<%IP = request.getRequestURL().toString();%> +<%! + /* + * Happiness tests for axis2. These look at the classpath and warn if things + * are missing. Normally addng this much code in a JSP page is mad + * but here we want to validate JSP compilation too, and have a drop-in + * page for easy re-use + */ + String IP; + + /** + * Get a string providing install information. + * TODO: make this platform aware and give specific hints + */ + public String getInstallHints(HttpServletRequest request) { + + return "Note: On Tomcat 4.x and Java1.4, you may need to put libraries that contain " + + "java.* or javax.* packages into CATALINA_HOME/common/lib" + + "
jaxrpc.jar and saaj.jar are two such libraries."; + } + + /** + * test for a class existing + * @param classname + * @return class iff present + */ + Class classExists(String classname) { + try { + return Class.forName(classname); + } catch (ClassNotFoundException e) { + return null; + } + } + + /** + * test for resource on the classpath + * @param resource + * @return true iff present + */ + boolean resourceExists(String resource) { + boolean found; + InputStream instream = this.getClass().getResourceAsStream(resource); + found = instream != null; + if (instream != null) { + try { + instream.close(); + } catch (IOException e) { + } + } + return found; + } + + /** + * probe for a class, print an error message is missing + * @param out stream to print stuff + * @param category text like "warning" or "error" + * @param classname class to look for + * @param jarFile where this class comes from + * @param errorText extra error text + * @param homePage where to d/l the library + * @return the number of missing classes + * @throws IOException + */ + int probeClass(JspWriter out, + String category, + String classname, + String jarFile, + String axisOperation, + String errorText, + String homePage) throws IOException { + try { + Class clazz = classExists(classname); + if (clazz == null) { + String url = ""; + if (homePage != null) { + url = "
See " + homePage + ""; + } + out.write("

" + category + ": could not find class " + classname + + " from file " + jarFile + + "
" + errorText + + url + + "

"); + return 1; + } else { + String location = getLocation(out, clazz); + if (location == null) { + out.write("Found " + axisOperation + " (" + classname + ")
"); + } else { + out.write("Found " + axisOperation + " (" + classname + ")
  at " + location + "
"); + } + return 0; + } + } catch (NoClassDefFoundError ncdfe) { + String url = ""; + if (homePage != null) { + url = "
See " + homePage + ""; + } + out.write("

" + category + ": could not find a dependency" + + " of class " + classname + + " from file " + jarFile + + "
" + errorText + + url + + "
The root cause was: " + ncdfe.getMessage() + + "
This can happen e.g. if " + classname + " is in" + + " the 'common' classpath, but a dependency like " + + " activation.jar is only in the webapp classpath." + + "

"); + return 1; + } + } + + /** + * get the location of a class + * @param out + * @param clazz + * @return the jar file or path where a class was found + */ + + String getLocation(JspWriter out, + Class clazz) { + try { + java.net.URL url = clazz.getProtectionDomain().getCodeSource().getLocation(); + String location = url.toString(); + if (location.startsWith("jar")) { + url = ((java.net.JarURLConnection) url.openConnection()).getJarFileURL(); + location = url.toString(); + } + + if (location.startsWith("file")) { + java.io.File file = new java.io.File(url.getFile()); + return file.getAbsolutePath(); + } else { + return url.toString(); + } + } catch (Throwable t) { + } + return "an unknown location"; + } + + /** + * a class we need if a class is missing + * @param out stream to print stuff + * @param classname class to look for + * @param jarFile where this class comes from + * @param errorText extra error text + * @param homePage where to d/l the library + * @throws IOException when needed + * @return the number of missing libraries (0 or 1) + */ + int needClass(JspWriter out, + String classname, + String jarFile, + String axisOperation, + String errorText, + String homePage) throws IOException { + return probeClass(out, + "Error", + classname, + jarFile, + axisOperation, + errorText, + homePage); + } + + /** + * print warning message if a class is missing + * @param out stream to print stuff + * @param classname class to look for + * @param jarFile where this class comes from + * @param errorText extra error text + * @param homePage where to d/l the library + * @throws IOException when needed + * @return the number of missing libraries (0 or 1) + */ + int wantClass(JspWriter out, + String classname, + String jarFile, + String axisOperation, + String errorText, + String homePage) throws IOException { + return probeClass(out, + "Warning", + classname, + jarFile, + axisOperation, + errorText, + homePage); + } + + /** + * probe for a resource existing, + * @param out + * @param resource + * @param errorText + * @throws Exception + */ + int wantResource(JspWriter out, + String resource, + String errorText) throws Exception { + if (!resourceExists(resource)) { + out.write("

Warning: could not find resource " + resource + + "
" + + errorText); + return 0; + } else { + out.write("found " + resource + "
"); + return 1; + } + } + + + /** + * get servlet version string + * + */ + + public String getServletVersion() { + ServletContext context = getServletConfig().getServletContext(); + int major = context.getMajorVersion(); + int minor = context.getMinorVersion(); + return Integer.toString(major) + '.' + Integer.toString(minor); + } + + + /** + * what parser are we using. + * @return the classname of the parser + */ + private String getParserName() { + SAXParser saxParser = getSAXParser(); + if (saxParser == null) { + return "Could not create an XML Parser"; + } + + // check to what is in the classname + return saxParser.getClass().getName(); + } + + /** + * Create a JAXP SAXParser + * @return parser or null for trouble + */ + private SAXParser getSAXParser() { + SAXParserFactory saxParserFactory = SAXParserFactory.newInstance(); + if (saxParserFactory == null) { + return null; + } + SAXParser saxParser = null; + try { + saxParser = saxParserFactory.newSAXParser(); + } catch (Exception e) { + } + return saxParser; + } + + /** + * get the location of the parser + * @return path or null for trouble in tracking it down + */ + + private String getParserLocation(JspWriter out) { + SAXParser saxParser = getSAXParser(); + if (saxParser == null) { + return null; + } + return getLocation(out, saxParser.getClass()); + } + + private String value; + + private OMElement createEnvelope() { + OMFactory fac = OMAbstractFactory.getOMFactory(); + OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample", "ns1"); + OMElement method = fac.createOMElement("getVersion", omNs); + OMElement value = fac.createOMElement("myValue", omNs); + method.addChild(value); + return method; + } + + public boolean invokeTheService() { + try { + // since this one is an internal request we do not use public frontendHostUrl + // for it + int lastindex = IP.lastIndexOf('/'); + IP = IP.substring(0, lastindex); + ///axis2/axis2-web/services/version + IP = IP.replaceAll("axis2-web", ""); + + OMElement payload = createEnvelope(); + ConfigurationContext configctx = + ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, null); + ServiceClient client = new ServiceClient(configctx, null); + EndpointReference targetEPR = new EndpointReference(IP + configctx.getServicePath() + "/Version"); + Options options = new Options(); + client.setOptions(options); + options.setTo(targetEPR); + options.setTransportInProtocol(Constants.TRANSPORT_HTTP); + + OMElement result = client.sendReceive(payload); + StringWriter writer = new StringWriter(); + result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(writer)); + writer.flush(); + value = writer.toString(); + return true; + } catch (AxisFault axisFault) { + System.out.println(value); + return false; + } catch (XMLStreamException e) { + value = e.getMessage(); + return false; + } + } + + public String getFormatedSystemProperty(String systemProperty){ + if (systemProperty == null) + return ""; + return systemProperty.replaceAll(":", ": "); + } +%> + +

Axis2 Happiness Page

+ +

Examining webapp configuration

+ +
+ +

Essential Components

+ +<% + int needed = 0,wanted = 0; + + /** + * the essentials, without these Axis is not going to work + */ + needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", + "axis2-1.0.jar", + "Apache-Axis", + "Axis2 will not work", + "http://xml.apache.org/axis2/"); + needed += needClass(out, "org.apache.commons.logging.Log", + "commons-logging.jar", + "Jakarta-Commons Logging", + "Axis2 will not work", + "http://jakarta.apache.org/commons/logging.html"); + needed += needClass(out, "javax.xml.stream.XMLStreamReader", + "stax-api-1.0.1.jar", + "Streaming API for XML", + "Axis2 will not work", + "http://dist.codehaus.org/stax/jars/"); + needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", + "wstx-asl-3.0.1.jar", + "Streaming API for XML implementation", + "Axis2 will not work", + "http://dist.codehaus.org/stax/jars/"); + +%> +<% + /* + * resources on the classpath path + */ + /* broken; this is a file, not a resource + wantResource(out,"/server-config.wsdd", + "There is no server configuration file;" + +"run AdminClient to create one"); + */ + /* add more libraries here */ + + //is everything we need here + if (needed == 0) { + //yes, be happy + out.write("

The core axis2 libraries are present.

"); + } else { + //no, be very unhappy + response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); + out.write("" + + needed + + " core axis2 librar" + + (needed == 1 ? "y is" : "ies are") + + " missing"); + } + //now look at wanted stuff +%> +

+ Note: Even if everything this page probes for is present, + there is no guarantee your Axis Service will work, because there are many configuration options + that we do not check for. These tests are necessary but not sufficient +

+
+

Examining Version Service

+<% + boolean serviceStatus = invokeTheService(); + if (serviceStatus) { +%> +
+ + Found Axis2 default Version service and Axis2 is working + properly. +

Now you can drop a service archive in axis2/WEB-INF/services. + Following output was produced while invoking Axis2 version service +

+

<%= value%>

+
+ +<% +} else { +%> +

+ There was a problem in Axis2 version service , may be + the service not available or some thing has gone wrong. But this does + not mean system is not working ! + Try to upload some other service and check to see whether it is + working. +
+
+

+ +<% + } +%> +

Examining Application Server

+
+ + + + + +
Servlet version<%=getServletVersion()%>
Platform<%=getServletConfig().getServletContext().getServerInfo()%>
+
+

Examining System Properties

+<% + /** + * Dump the system properties + */ + java.util.Enumeration e = null; + try { + e = System.getProperties().propertyNames(); + } catch (SecurityException se) { + } + if (e != null) { + out.write("
");
+        out.write("");
+        for (; e.hasMoreElements();) {
+            out.write("");
+            String key = (String) e.nextElement();
+            out.write("");
+            out.write("");
+            out.write("");
+        }
+        out.write("
" + key + "" + getFormatedSystemProperty(System.getProperty(key)) + " 
"); + out.write("

"); + } else { + out.write("System properties are not accessible

"); + } +%> + + + + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/InActivateService.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/InActivateService.jsp new file mode 100644 index 0000000..1d430cd --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/InActivateService.jsp @@ -0,0 +1,83 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisService, + java.util.Collection, + java.util.HashMap, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Deactivate Service

+
+ + + + + +<% +HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP); +Collection col = services.values(); +String html = ""; +int count = 0; + +for (Iterator iterator = col.iterator(); iterator.hasNext();) { + AxisService axisServices = (AxisService) iterator.next(); + if(axisServices.isActive()){ + count++; + html += ""; + } +} +request.getSession().setAttribute(Constants.SERVICE_MAP,null); +if (count > 0) { +%> + + + + + + + + + + + +<% +} else { + %> + + <% +} +%> + + +
+

Only the services that are active are listed below. Note that although you can activate a service from this page, once system is restarted the service will be active again

+
Select Service : + +
Deactivate Service +
  + + + No active services present.
+
+ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/LeftFrame.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/LeftFrame.jsp new file mode 100644 index 0000000..9a4321e --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/LeftFrame.jsp @@ -0,0 +1,204 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.context.ConfigurationContext" %> +<%@ page import="org.apache.axis2.context.ServiceContext" %> +<%@ page import="org.apache.axis2.context.ServiceGroupContext" %> +<%@ page import="org.apache.axis2.deployment.util.PhasesInfo" %> +<%@ page import="org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.AxisServiceGroup" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.engine.Handler" %> +<%@ page import="org.apache.axis2.engine.Phase" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.ArrayList" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Tools +
+      + + Upload Service +
+ System Components         +
+      + + Available Services +
+      + + Available Service Groups +
+      + + Available Modules +
+      + + Globally Engaged Modules +
+      + + Available Phases +
+ Execution Chains +
+      + + Global Chains +
+      + + Operation Specific Chains +
+ Engage Module +
+      + + For all Services +
+      + + For a Service Group +
+      + + For a Service +
+      + + For an Operation +
+ Services +
+      + + Deactivate Service +
+      + + Activate Service +
+      + + Edit Parameters +
+ Contexts +
+      + + View Hierarchy +
diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/ListServiceGroup.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ListServiceGroup.jsp new file mode 100644 index 0000000..7a7b3de --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ListServiceGroup.jsp @@ -0,0 +1,67 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.AxisServiceGroup" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Available Service Groups

+<% + Iterator axisServiceGroupIter = (Iterator) request.getSession().getAttribute( + Constants.SERVICE_GROUP_MAP); + request.getSession().setAttribute(Constants.SERVICE_GROUP_MAP,null); + while (axisServiceGroupIter.hasNext()) { + AxisServiceGroup axisServiceGroup = (AxisServiceGroup) axisServiceGroupIter.next(); + String groupName = axisServiceGroup.getServiceGroupName(); + Collection modules = axisServiceGroup.getEngagedModules(); + Iterator axisServiceIter = axisServiceGroup.getServices(); +%> +

<%=groupName%>

    + <% + while (axisServiceIter.hasNext()){ + AxisService axisService = (AxisService) axisServiceIter.next(); + String serviceName = axisService.getName(); + %> +
  • + <%=serviceName%>
  • + <% + } + %> +
+<% + if (modules.size() > 0) { +%> +Engaged modules
    + <% + for (Iterator iterator = modules.iterator(); iterator.hasNext();) { + AxisModule axisOperation = (AxisModule) iterator.next(); + String modulDesc = axisOperation.getName(); + %> +
  • <%=modulDesc%>
  • + <% + } + %>
<% + } + } +%> + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/Login.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Login.jsp new file mode 100644 index 0000000..cb6cafc --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/Login.jsp @@ -0,0 +1,90 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + Login to Axis2 :: Administration page + + + + + + + + + + + +
+

Welcome :

+

Welcome to the Axis2 administration console. From inside the Axis2 administration console you can :

+
    +
  • Check on the health of your Axis2 deployment.
  • +
  • Change any parameters at run time.
  • +
  • Upload new services into Axis2 [Service hot-deployment].
  • +
+ Warning: Please note that configuration changes done through the administration console + will be lost when the server is restarted. +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+





+
+

Test

+ + + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/MainFrame.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/MainFrame.jsp new file mode 100644 index 0000000..be78c52 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/MainFrame.jsp @@ -0,0 +1,29 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + + + + + Axis2 Administration + + + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/SelectService.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/SelectService.jsp new file mode 100644 index 0000000..baaaa84 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/SelectService.jsp @@ -0,0 +1,79 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisService, + java.util.Collection, + java.util.HashMap, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + <% + String action =""; + String buttonName="" ; + String status = (String)request.getSession().getAttribute(Constants.SELECT_SERVICE_TYPE); + String heading = ""; + String disc = ""; + if(status != null && status.equals("MODULE")) { + action = "listOperations"; + buttonName = " View Operations"; + heading = "Select a service to view operation specific chains"; + disc = "Select an Axis service from the combo and click on the 'View Operations' button to view operation specific Chains."; + } else if(status != null && status.equals("VIEW")){ + buttonName = " View "; + action = "viewServiceHandlers"; + heading = "Select a service to view service handlers"; + disc = "Select an Axis service from the combo and click on the 'View' button to view service handlers."; + } else if (status != null && status.equals("SERVICE_PARAMETER")){ + buttonName = " Edit Parameters "; + action = "editServicePara"; // Constants.EDIR_SERVICE_PARA; + heading = "Select a Service to Edit Parameters"; + disc = "Select an Axis service from the combo and click on the 'Edit Parameters' button to edit parameters."; + } + %> +

<%=heading%>

+

<%=disc%>

+
+ + + + + + + + +
Select a Service : +
 
  + +
+
+ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/ServiceParaEdit.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ServiceParaEdit.jsp new file mode 100644 index 0000000..072726f --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ServiceParaEdit.jsp @@ -0,0 +1,122 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation, + org.apache.axis2.description.AxisService, + org.apache.axis2.description.Parameter, + java.util.ArrayList, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Edit Service Parameters

+
+ <% + AxisService axisService = (AxisService)request.getSession(). + getAttribute(Constants.SERVICE); + if(axisService != null ){ + %> + + + + + + + + <% + ArrayList service_para = axisService.getParameters(); + for (int i = 0; i < service_para.size(); i++) { + Parameter parameter = (Parameter) service_para.get(i); + if (parameter.getParameterType()==Parameter.OM_PARAMETER) { + continue; + } + %> + + + + + <% + } + Iterator operations = axisService.getOperations(); + if(operations.hasNext()){ + %> + + + + + + + + <% + } + + ArrayList op_paras ; + operations = axisService.getOperations(); + while (operations.hasNext()) { + AxisOperation axisOperation = (AxisOperation) operations.next(); + String operationName = axisOperation.getName().getLocalPart(); + %> + + + + + + + <% + op_paras = axisOperation.getParameters(); + for (int i = 0; i < op_paras.size(); i++) { + Parameter parameter = (Parameter) op_paras.get(i); + if (parameter.getParameterType()==Parameter.OM_PARAMETER) { + continue; + } + %> + + + + + <% + } + } + %> + + + + +
+ <% + String servicName = axisService.getName(); + %>Service Parameters :: <%=servicName%> +
<%=parameter.getName()%>" size="50"> +
        
Operation Paramaters :: +
    
Operation : <%=operationName%>
<%=parameter.getName()%>" size="50"> +
  + +
+ <% + } else { + %> +

<%=request.getAttribute("status")%>

+ <% + } + + %> + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/TopFrame.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/TopFrame.jsp new file mode 100644 index 0000000..881bf82 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/TopFrame.jsp @@ -0,0 +1,30 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + + + + + Untitled Document + + + + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewContexts.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewContexts.jsp new file mode 100644 index 0000000..962537c --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewContexts.jsp @@ -0,0 +1,64 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants"%> +<%@ page import="org.apache.axis2.context.ConfigurationContext"%> +<%@ page import="org.apache.axis2.context.ServiceContext"%> +<%@ page import="org.apache.axis2.context.ServiceGroupContext"%> +<%@ page import="java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Running Context Hierarchy

+<% + ConfigurationContext configContext = (ConfigurationContext) request.getSession().getAttribute( + Constants.CONFIG_CONTEXT); + + String[] serviceGroupIds = configContext.getServiceGroupContextIDs(); + if (serviceGroupIds.length > 0) { +%> +
    + <% + + for (int i = 0; i < serviceGroupIds.length; i++) { + String groupContextID = serviceGroupIds[i]; + ServiceGroupContext groupContext = configContext.getServiceGroupContext(groupContextID); + %> +
  • <%=groupContextID%> + View + Remove
  • + <% + Iterator serviceContextItr = groupContext.getServiceContexts(); + %>
      <% + while (serviceContextItr.hasNext()) { + ServiceContext serviceContext = (ServiceContext)serviceContextItr.next(); + String serviceConID = serviceContext.getAxisService().getName(); + %> +
    • <%=serviceConID%> + View
    • + <% + } + %>

    <% + } + %>
+ <% + } else {%> +

No running contexts were found on the system.

+ <%} +%> + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewGlobalHandlers.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewGlobalHandlers.jsp new file mode 100644 index 0000000..29e71ba --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewGlobalHandlers.jsp @@ -0,0 +1,137 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.engine.AxisConfiguration, + org.apache.axis2.engine.Handler, + org.apache.axis2.engine.Phase, + java.util.List"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

View Global Execution Chains

+ <% + AxisConfiguration axisConfig = (AxisConfiguration)request.getSession(). + getAttribute(Constants.GLOBAL_HANDLERS); + if(axisConfig != null ){ + List handlers ; + List phases = axisConfig.getInFlowPhases(); + %> +

In Flow Up To and Including Dispatcher

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + phases = axisConfig.getInFaultFlowPhases(); + %> +

In Fault Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + + phases = axisConfig.getOutFlowPhases(); + %> +

Out Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + phases = axisConfig.getOutFaultFlowPhases(); + %> +

Out Fault Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + + } + %> + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewServiceHandlers.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewServiceHandlers.jsp new file mode 100644 index 0000000..4979b7c --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/ViewServiceHandlers.jsp @@ -0,0 +1,147 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation, + org.apache.axis2.description.AxisService, + org.apache.axis2.engine.Handler, + org.apache.axis2.engine.Phase, + java.util.ArrayList, + java.util.List, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + +

View Operation Specific Chains

+ <% + AxisService axisService = (AxisService)request.getSession(). + getAttribute(Constants.SERVICE_HANDLERS); + if(axisService != null ){ + List handlers ; + Iterator operations = axisService.getOperations(); + while (operations.hasNext()) { + AxisOperation axisOperationon = (AxisOperation) operations.next(); + %>

Operation Name : <%=axisOperationon.getName().getLocalPart()%>

<% + ArrayList phases = axisOperationon.getRemainingPhasesInFlow(); + %> +

In Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + phases = axisOperationon.getPhasesInFaultFlow(); + %> +

In Fault Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + + phases = axisOperationon.getPhasesOutFlow(); + %> +

Out Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + phases = axisOperationon.getPhasesOutFaultFlow(); + %> +

Out Fault Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + + } + } + + %> + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/admin.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/admin.jsp new file mode 100644 index 0000000..6d8ee14 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/admin.jsp @@ -0,0 +1,31 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Welcome to Axis2 Web Admin Module !!

+

You are now logged into the Axis2 administration console from inside +the console you will be able to

+
    +
  • to check on the health of your Axis2 deployment.
  • +
  • to change any parameters at run time.
  • +
  • to upload new services into Axis2 [Service hot-deployment].
  • +
+ + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/css/axis-style.css b/old/QAPortalAutoTestResultService/WebContent/axis2-web/css/axis-style.css new file mode 100644 index 0000000..62749e5 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/css/axis-style.css @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +BODY { + background-color : "#FFFFFF"; + leftmargin:"0"; + topmargin:"0"; + font-family:Arial; + font-size:11pt; +} +h1 { font-family: Arial; font-size: 16pt; font-weight: bold } +h2 { font-family: Arial; font-size: 13pt; font-weight: bold; color: #5D0D7D } +ul { font-family: Arial; font-size: 11pt } +input { font-family: Arial; font-size: 8pt; font-weight: bold } +td { font-family: Arial; font-size: 10pt } +h3 { font-family: Arial; font-size: 12pt; font-weight:bold } +TABLE.FULL_BLANK { + width : 100%; + height : 100%; + border : 0; + padding : 0; +} + +TABLE.LOG_IN_FORM{ + height: 200px%; + border:1px solid #000000; + width: 300px%; + cellspacing:1px; + cellpadding:1px; + background-color: #f7f7f7 ; +} + +UL.loginUL LI{ + padding: 10pt; +} \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/deleteService.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/deleteService.jsp new file mode 100644 index 0000000..80120e0 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/deleteService.jsp @@ -0,0 +1,23 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

<%=request.getSession().getAttribute("status")%>

+

Click here to go to the service list page

+ \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/disengage.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/disengage.jsp new file mode 100644 index 0000000..129bb76 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/disengage.jsp @@ -0,0 +1,22 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +<%=request.getSession().getAttribute("status")%> + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingglobally.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingglobally.jsp new file mode 100644 index 0000000..829d2a4 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingglobally.jsp @@ -0,0 +1,72 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + java.util.Collection, + java.util.HashMap, + java.util.Iterator" %> +<%@ page import="org.apache.axis2.util.Utils" %> + + +<% + String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS); +%> +

Engage Module Globally

+ +

To engage a module on all services across the system, select a module from the combo box below + and click on the "Engage" button. Any module that needs to place handlers into the pre-dispatch + phase needs to be engaged globally.

+ + + + + + + + + + +
Select a Module : + +
  + +
+ +<% + if (status != null) { +%> +

<%=Utils.sanitizeWebOutput(status)%>

+<% + } %> + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingtoanoperation.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingtoanoperation.jsp new file mode 100644 index 0000000..b0b1210 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingtoanoperation.jsp @@ -0,0 +1,126 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + org.apache.axis2.description.AxisOperation, + org.apache.axis2.util.Utils, + java.util.Collection, + java.util.HashMap, + java.util.Iterator"%> + +<% + String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS); +%> +

Engage Module for an Operation

+

To engage a module for an axis operation,

+
    +
  1. select the module you want to engage
  2. +
  3. select the axis operation you like the module to be engaged.
  4. +
  5. click "Engage".
  6. +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+   +   +
Select a Module :
+
+   +   +
Select an Operation :
+
+   +   +
+ +
+   +   +
+   +   +
+ +
+
+ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingtoaservice.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingtoaservice.jsp new file mode 100644 index 0000000..457d06b --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/engagingtoaservice.jsp @@ -0,0 +1,144 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + org.apache.axis2.description.AxisService, + java.util.Collection, + java.util.HashMap, + java.util.Iterator" + %> +<%@ page import="org.apache.axis2.util.Utils" %> + +<% + String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS); +%> +

Engage Module for a Service

+ +

To engage a module for a axis service,

+ +
    +
  1. select the module you want to engage
  2. +
  3. select the axis service you like the module to be engaged.
  4. +
  5. click "Engage".
  6. +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+   +   +
Select a Module :
+
+   +   +
Select a Service :
+
+   +   +
+ +
+   +   +
+   +   +
+ +
+
+ + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/error.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/error.jsp new file mode 100644 index 0000000..6850040 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/error.jsp @@ -0,0 +1,31 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@page isErrorPage="true" %> + + + + + + + + +
An error has occured!. Please check the details below
<%=exception.getMessage()%>
+ \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/errorModule.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/errorModule.jsp new file mode 100644 index 0000000..e100e3a --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/errorModule.jsp @@ -0,0 +1,30 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + java.util.Hashtable"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + <% + Hashtable errornessModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP); + String moduleName = request.getParameter("moduleName"); + %>

The Module has deployment faults

<% + %><%=(String)errornessModules.get(moduleName) %><% + %> + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/globalModules.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/globalModules.jsp new file mode 100644 index 0000000..4a414ca --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/globalModules.jsp @@ -0,0 +1,55 @@ + <%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> <%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + java.util.Collection, + java.util.Iterator"%> + <%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Globally Engaged Modules

+ <% + boolean foundModules = false; + boolean wroteUL = false; + String modulename = ""; + Collection moduleCol = (Collection) request.getSession().getAttribute(Constants.MODULE_MAP); + request.getSession().setAttribute(Constants.MODULE_MAP, null); + if (moduleCol != null && moduleCol.size() > 0) { + for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) { + AxisModule axisOperation = (AxisModule) iterator.next(); + modulename = axisOperation.getName(); + if (!wroteUL) { + wroteUL = true; + %> +
    +<% + } + %>
  • <%=modulename%>
  • +
    <% + } + if (wroteUL){ +%> +
+<% + } + } else{ + %> +

There are no modules engaged globally

+ <% + } + %> + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/asf-logo.gif b/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/asf-logo.gif new file mode 100644 index 0000000..b240328 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/asf-logo.gif differ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis.gif b/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis.gif new file mode 100644 index 0000000..e970c5b Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis.gif differ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis.jpg b/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis.jpg new file mode 100644 index 0000000..47f9762 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis.jpg differ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis_l.jpg b/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis_l.jpg new file mode 100644 index 0000000..172a755 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/axis2-web/images/axis_l.jpg differ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminfooter.inc b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminfooter.inc new file mode 100644 index 0000000..4d22571 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminfooter.inc @@ -0,0 +1,23 @@ + + + + + + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminheader.inc b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminheader.inc new file mode 100644 index 0000000..11d5e09 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminheader.inc @@ -0,0 +1,28 @@ + + + + + + + + + + +

Axis 2

.Log out
diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminheader.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminheader.jsp new file mode 100644 index 0000000..a687e82 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/adminheader.jsp @@ -0,0 +1,81 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.context.ConfigurationContext" %> +<%@ page import="org.apache.axis2.context.ServiceContext" %> +<%@ page import="org.apache.axis2.context.ServiceGroupContext" %> +<%@ page import="org.apache.axis2.deployment.util.PhasesInfo" %> +<%@ page import="org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.AxisServiceGroup" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.engine.Handler" %> +<%@ page import="org.apache.axis2.engine.Phase" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.ArrayList" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%-- +~ Licensed to the Apache Software Foundation (ASF) under one +~ or more contributor license agreements. See the NOTICE file +~ distributed with this work for additional information +~ regarding copyright ownership. The ASF licenses this file +~ to you 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. +--%> +<%@ page contentType="text/html;charset=iso-8859-1" language="java" %> + + + + + Axis2 :: Administration Page + + + + + + + + + + + + + + +
+ + + + + + +
Back  |  Log out
diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/footer.inc b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/footer.inc new file mode 100644 index 0000000..b60b945 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/footer.inc @@ -0,0 +1,37 @@ + +
+ + + + +
+ + + + + +

Copyright © 1999-2006, The Apache Software Foundation
Licensed under the Apache License, Version 2.0.
+
 
+
diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/header.inc b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/header.inc new file mode 100644 index 0000000..9d40f92 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/header.inc @@ -0,0 +1,29 @@ + + +
+ + +
+ + + + + +
+
 
diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/httpbase.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/httpbase.jsp new file mode 100644 index 0000000..c840fe0 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/httpbase.jsp @@ -0,0 +1,71 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.context.ConfigurationContext" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.transport.http.AxisServlet" %> +<%@ page import="org.apache.axis2.transport.TransportListener" %> +<%! + private String frontendHostUrl; + private String hostname; + + public void jspInit() { + ServletContext context = this.getServletConfig().getServletContext(); + ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT); + if (configctx != null) { + Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL); + if (parameter != null) { + frontendHostUrl = (String) parameter.getValue(); + } + Parameter hostnameParam = configctx.getAxisConfiguration().getParameter(TransportListener.HOST_ADDRESS); + if (hostnameParam != null) { + hostname = (String) hostnameParam.getValue(); + } + } + } + + public String calculateHttpBase(HttpServletRequest aRequest) { + StringBuffer stringBuffer = new StringBuffer(); + if (frontendHostUrl != null) { + stringBuffer.append(frontendHostUrl); + } else { + String scheme = aRequest.getScheme(); + stringBuffer.append(scheme); + stringBuffer.append("://"); + stringBuffer.append(hostname != null ? hostname : aRequest.getServerName()); + if (("http".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 80) || "https".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 443) { + stringBuffer.append(":"); + stringBuffer.append(aRequest.getServerPort()); + } + // I think i saw web containers return null for root web context + if (aRequest.getContextPath() != null) { + stringBuffer.append(aRequest.getContextPath()); + } + } + // append / char if needed + if (stringBuffer.charAt(stringBuffer.length() - 1) != '/') { + stringBuffer.append("/"); + } + String curentUrl = stringBuffer.toString(); + aRequest.setAttribute("frontendHostUrl", curentUrl); + return curentUrl; + } +%> + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/link-footer.inc b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/link-footer.inc new file mode 100644 index 0000000..8778ce2 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/link-footer.inc @@ -0,0 +1,23 @@ + + + + + +
Back Home
\ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/link-footer.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/link-footer.jsp new file mode 100644 index 0000000..766e01b --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/include/link-footer.jsp @@ -0,0 +1,69 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.AxisFault" %> +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.addressing.EndpointReference" %> +<%@ page import="org.apache.axis2.client.Options" %> +<%@ page import="org.apache.axis2.client.ServiceClient" %> +<%@ page import="org.apache.axis2.context.ConfigurationContext" %> +<%@ page import="org.apache.axis2.context.ConfigurationContextFactory" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="javax.xml.parsers.SAXParser" %> +<%@ page import="javax.xml.parsers.SAXParserFactory" %> +<%@ page import="java.io.IOException" %> +<%@ page import="java.io.InputStream" %> +<%@ page import="java.io.StringWriter" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%-- +~ Licensed to the Apache Software Foundation (ASF) under one +~ or more contributor license agreements. See the NOTICE file +~ distributed with this work for additional information +~ regarding copyright ownership. The ASF licenses this file +~ to you 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. +--%> + + + +
+ + + + +
Back Home  |   Refresh
+
 
diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/index.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/index.jsp new file mode 100644 index 0000000..67ed353 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/index.jsp @@ -0,0 +1,58 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + Axis 2 - Home + + + + + +
+ +

Welcome!

+ Welcome to the new generation of Axis. If you can see this page you have + successfully deployed the Axis2 Web Application. However, to ensure that Axis2 + is properly working, we encourage you to click on the validate link. +
+
    +
  • Services +
    + View the list of all the available services deployed in this server. +
  • +
  • Validate +
    + Check the system to see whether all the required libraries are in place + and view the system information. +
  • + <%--
  • Do an interop test +
    + You can run Interoperability tests here +
  • --%> +
  • Administration +
    + Console for administering this Axis2 installation. +
  • +
+ + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/listFaultyService.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listFaultyService.jsp new file mode 100644 index 0000000..fa31d03 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listFaultyService.jsp @@ -0,0 +1,85 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation"%> +<%@ page import="org.apache.axis2.description.AxisService"%> +<%@ page import="java.util.Hashtable"%> +<%@ page import="java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + List Single service + + + + + + <% + String prifix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) +"services/"; + %> + <% + String isFault = (String)request.getSession().getAttribute(Constants.IS_FAULTY); + String servicName = request.getParameter("serviceName"); + if(Constants.IS_FAULTY.equals(isFault)){ + Hashtable errornessservices =(Hashtable)request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP); + %> +

This Web axisService has deployment faults

<% + %><%=(String)errornessservices.get(servicName) %> + <% + + }else { + + AxisService axisService = + (AxisService) request.getSession().getAttribute(Constants.SINGLE_SERVICE); + if(axisService!=null){ + Iterator opItr = axisService.getOperations(); + //operationsList = operations.values(); + String serviceName = axisService.getName(); + %>

<%=serviceName%>

+ Service EPR : <%=prifix + axisService.getName()%>
+

Service Description : <%=axisService.getServiceDescription()%>

+ Service Status : <%=axisService.isActive()?"Active":"InActive"%>
+ <% + if (opItr.hasNext()) { + %>Available operations<% + } else { + %> There are no Operations specified<% + } + opItr = axisService.getOperations(); + %>
    <% + while (opItr.hasNext()) { + AxisOperation axisOperation = (AxisOperation) opItr.next(); + %>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <% + } + %>
+ <% + } else{ + %> +

No services found in this location.

+ <% + } + + } + %> + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/listGroupService.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listGroupService.jsp new file mode 100644 index 0000000..80038a7 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listGroupService.jsp @@ -0,0 +1,104 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + List Services + + + + + +

Available services

+<% + String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) +"/"; +%> +<% + HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP); + request.getSession().setAttribute(Constants.SERVICE_MAP,null); + AxisService axisService = (AxisService) serviceMap.get(request.getParameter("serviceName")); + if (axisService != null) { + Iterator operations; + String serviceName; + operations = axisService.getOperations(); + serviceName = axisService.getName(); +%>
+ +

<%=serviceName%> +

+Service EPR :<%=prefix + axisService.getName()%> +

Service Description : <%=axisService.getServiceDescription()%>

+Service Status : <%=axisService.isActive() ? "Active" : "InActive"%>
+<% + Collection engagedModules = axisService.getEngagedModules(); + String moduleName; + if (engagedModules.size() > 0) { +%> +Engaged Modules for the Axis Service
    + <% + for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) { + AxisModule axisOperation = (AxisModule) iteratorm.next(); + moduleName = axisOperation.getName(); + %>
  • <%=moduleName%>
  • + <% + }%> +
+<% + } + if (operations.hasNext()) { +%>
Available operations<% +} else { +%> There are no operations specified<% + } +%>
    <% + operations = axisService.getOperations(); + while (operations.hasNext()) { + AxisOperation axisOperation = (AxisOperation) operations.next(); +%>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <% + engagedModules = axisOperation.getEngagedModules(); + if (engagedModules.size() > 0) { + %> +
    Engaged Modules for the Operation
      + <% + for (Iterator iterator2 = engagedModules.iterator(); iterator2.hasNext();) { + AxisModule moduleDecription = (AxisModule) iterator2.next(); + moduleName = moduleDecription.getName(); + %>
    • <%=moduleName%>

    • <% + } +%>
    <% + } + + } +%>
+<% + } +%> + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/listModules.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listModules.jsp new file mode 100644 index 0000000..bd4ada6 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listModules.jsp @@ -0,0 +1,81 @@ + <%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> <%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + java.util.Collection"%> + <%@ page import="java.util.Enumeration"%> + <%@ page import="java.util.HashMap"%> + <%@ page import="java.util.Hashtable"%> + <%@ page import="java.util.Iterator"%> + <%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Available Modules

+ <% + boolean foundModules = false; + boolean wroteUL = false; + HashMap moduleMap = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP); + request.getSession().setAttribute(Constants.MODULE_MAP,null); + Hashtable errornesModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP); + if (moduleMap!=null && !moduleMap.isEmpty()){ + String modulename ; + String moduleDescription ; + Collection moduleNames = moduleMap.values(); + for (Iterator iterator = moduleNames.iterator(); iterator.hasNext();) { + foundModules = true; + AxisModule moduleQName = (AxisModule) iterator.next(); + modulename = moduleQName.getName(); + moduleDescription = moduleQName.getModuleDescription(); + if(moduleDescription==null){ + moduleDescription = "[ -- No module description found --]"; + } + if (!wroteUL){ + wroteUL = true; +%> +
    +<% + } + %>
  • <%=modulename%> : <%=moduleDescription%>
  • + <% + } + if (wroteUL){ +%> +
+<% + } + } + %> + <%if(errornesModules.size()>0){ + %> +

Faulty Modules

+ <% + Enumeration faultyModules = errornesModules.keys(); + while (faultyModules.hasMoreElements()) { + foundModules = true; + String faultyModuleName = (String) faultyModules.nextElement(); + %> + <%=faultyModuleName%> + <% + } + } + if(! foundModules) { + %> +

There are no modules deployed in the system.

+ <% + } + %> + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/listService.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listService.jsp new file mode 100644 index 0000000..2ff1cb6 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listService.jsp @@ -0,0 +1,158 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + +

Available Services

+<% String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/"; +%> +<% + HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP); + request.getSession().setAttribute(Constants.SERVICE_MAP, null); + Hashtable errornessservice = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP); + boolean status = false; + if (serviceMap != null && !serviceMap.isEmpty()) { + Iterator operations; + String serviceName; + Collection servicecol = serviceMap.values(); + for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) { + AxisService axisService = (AxisService) iterator.next(); + operations = axisService.getOperations(); + serviceName = axisService.getName(); +%>

<%=serviceName%>

+<% + // do we need to enable REST in the main servlet so that it handles both REST and SOAP messages + boolean disableREST = false; + AxisConfiguration axisConfiguration = axisService.getAxisConfiguration(); + + Parameter parameter ; + + // do we need to completely disable REST support + parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST); + if (parameter != null) { + disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue()); + } + if (!disableREST) { +%> + +<% +%> +<% + } + + + String serviceDescription = axisService.getServiceDescription(); + if (serviceDescription == null || "".equals(serviceDescription)) { + serviceDescription = "No description available for this service"; + } +%> +

Service Description : <%=serviceDescription%>
+Service EPR : <%=prefix + axisService.getName()%>
+Service Status : <%=axisService.isActive() ? "Active" : "InActive"%> +Actions : Remove Service


+<% + Collection engagedModules = axisService.getEngagedModules(); + String moduleName; + boolean modules_present = false; + if (engagedModules.size() > 0) { +%> +Engaged modules for the service +<% + for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) { + AxisModule axisOperation = (AxisModule) iteratorm.next(); + moduleName = axisOperation.getName(); + if (!modules_present) { + modules_present = true; +%> +
    + <% } + %>
  • <%=moduleName%> :: Disengage
  • +
    + <% + } + if (modules_present) {%> +
+<% + } + } + if (operations.hasNext()) { +%>
Available operations<% +} else { +%> There are no Operations specified<% + } +%>
    <% + operations = axisService.getOperations(); + while (operations.hasNext()) { + AxisOperation axisOperation = (AxisOperation) operations.next(); +%>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <%--
    Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%> + <% + engagedModules = axisOperation.getEngagedModules(); + if (engagedModules.size() > 0) { + %> +
    Engaged Modules for the Operation
      + <% + for (Iterator iterator2 = engagedModules.iterator(); iterator2.hasNext();) { + AxisModule moduleDecription = (AxisModule) iterator2.next(); + moduleName = moduleDecription.getName(); + %>
    • <%=moduleName%> :: Disengage

    • <% + } +%>
    <% + } + + } +%>
+<% + status = true; + } + } + if (errornessservice != null) { + if (errornessservice.size() > 0) { + request.getSession().setAttribute(Constants.IS_FAULTY, Constants.IS_FAULTY); +%> +

Faulty Services

+<% + Enumeration faultyservices = errornessservice.keys(); + while (faultyservices.hasMoreElements()) { + String faultyserviceName = (String) faultyservices.nextElement(); +%>

+ <%=faultyserviceName%>

+<% + } + } + status = true; + } + if (!status) { +%> No services listed! Try hitting refresh. <% + } +%> + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/listServices.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listServices.jsp new file mode 100644 index 0000000..68129f0 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listServices.jsp @@ -0,0 +1,131 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + +List Services + + + + + + +

Available services

+<% String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/"; +%> +<% + HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP); + request.getSession().setAttribute(Constants.SERVICE_MAP, null); + Hashtable errornessservice = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP); + boolean status = false; + if (serviceMap != null && !serviceMap.isEmpty()) { + Iterator opItr; + //HashMap operations; + String serviceName; + Collection servicecol = serviceMap.values(); + // Collection operationsList; + for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) { + AxisService axisService = (AxisService) iterator.next(); + opItr = axisService.getOperations(); + //operationsList = operations.values(); + serviceName = axisService.getName(); +%>

<%=serviceName%>

+<% + boolean disableREST = false; + AxisConfiguration axisConfiguration = axisService.getAxisConfiguration(); + + Parameter parameter ; + + // do we need to completely disable REST support + parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST); + if (parameter != null) { + disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue()); + } + + if (!disableREST ) { + +%> +<% + } + + + String serviceDescription = axisService.getServiceDescription(); + if (serviceDescription == null || "".equals(serviceDescription)) { + serviceDescription = "No description available for this service"; + } +%> +
Service Description : <%=serviceDescription%>
+
Service EPR : <%=prefix + axisService.getName()%>
+
Service Status : <%=axisService.isActive() ? "Active" : "InActive"%>

+<% + if (opItr.hasNext()) { +%>Available Operations<% +} else { +%> There are no Operations specified<% + } + opItr = axisService.getOperations(); +%>
    <% + while (opItr.hasNext()) { + AxisOperation axisOperation = (AxisOperation) opItr.next(); +%>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <%--
    Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%> + <% + } + %>
+<% + status = true; + } + } + if (errornessservice != null) { + if (errornessservice.size() > 0) { + request.getSession().setAttribute(Constants.IS_FAULTY, Constants.IS_FAULTY); +%> +
+ +

Faulty Services

+<% + Enumeration faultyservices = errornessservice.keys(); + while (faultyservices.hasMoreElements()) { + String faultyserviceName = (String) faultyservices.nextElement(); +%>

+ <%=faultyserviceName%>

+<% + } + } + status = true; + } + if (!status) { +%> No services listed! Try hitting refresh. <% + } +%> + + + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/listSingleService.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listSingleService.jsp new file mode 100644 index 0000000..243114d --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/listSingleService.jsp @@ -0,0 +1,103 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

List Single Service

+<% + String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/"; +%> +<% + String isFault = (String) request.getSession().getAttribute(Constants.IS_FAULTY); + String servicName = request.getParameter("serviceName"); + if (Constants.IS_FAULTY.equals(isFault)) { + Hashtable errornessservices = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP); +%> +

This Axis service has deployment faults.

<% +%><%=(String) errornessservices.get(servicName) %> +<% + +} else { + + AxisService axisService = + (AxisService) request.getSession().getAttribute(Constants.SINGLE_SERVICE); + if (axisService != null) { + Iterator opItr = axisService.getOperations(); + //operationsList = operations.values(); + String serviceName = axisService.getName(); +%>

<%=serviceName%>

+Service EPR : <%=prefix + axisService.getName()%>
+<% + boolean disableREST = false; + AxisConfiguration axisConfiguration = axisService.getAxisConfiguration(); + + Parameter parameter; + + // do we need to completely disable REST support + parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST); + if (parameter != null) { + disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue()); + } + if (!disableREST ) { +%> +<% + } + + + String serviceDescription = axisService.getServiceDescription(); + if (serviceDescription == null || "".equals(serviceDescription)) { + serviceDescription = "No description available for this service"; + } +%> +

Service Description : <%=serviceDescription%>

+ +Service Status : <%=axisService.isActive() ? "Active" : "InActive"%>
+<% + if (opItr.hasNext()) { +%>Available operations<% +} else { +%> There are no Operations specified<% + } + opItr = axisService.getOperations(); +%>
    <% + while (opItr.hasNext()) { + AxisOperation axisOperation = (AxisOperation) opItr.next(); +%>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <%--
    Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%> + <% + } + %>
+<% +} else { +%> +

No services found in this location

+<% + } + + } +%> + diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/upload.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/upload.jsp new file mode 100644 index 0000000..0162225 --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/upload.jsp @@ -0,0 +1,69 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + +

Upload an Axis Service Archive File

+ +

You can upload a packaged Axis2 service from this page in two small steps.

+
    +
  • Browse to the location and select the axis service archive file you wish to upload
  • +
  • Click "Upload" button
  • +
+

Simple as that!

+ +<% if ("success".equals(request.getAttribute("status"))) { %> +File <%= request.getAttribute("filename") %> successfully uploaded

+<% +} else if ("failure".equals(request.getAttribute("status"))) { +%> +The following error occurred
<%= request.getAttribute("cause") %>

+<% } %> + +
+ + + + + + + + + +
Service archive :
 
+
+
+

Hot deployment of new service archives is <%=request.getAttribute("hotDeployment") %>

+

Hot update of existing service archives is <%=request.getAttribute("hotUpdate") %>

+
+ diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewServiceContext.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewServiceContext.jsp new file mode 100644 index 0000000..44ab8fa --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewServiceContext.jsp @@ -0,0 +1,50 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.context.ServiceContext" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Running Context Hierarchy

+<% + ServiceContext serviceContext = (ServiceContext) request.getSession().getAttribute("ServiceContext"); + String type = (String) request.getSession().getAttribute("TYPE"); + if (serviceContext != null) { + if (type != null) { + if ("VIEW".equals(type)) { + Iterator propertyNames = serviceContext.getPropertyNames(); +%> +

Persistance Properties

    + <% + while (propertyNames.hasNext()) { + String key = (String) propertyNames.next(); + Object property = serviceContext.getProperty(key); + %> +
  • <%=key%> : <%=property.toString()%>
  • + <% + } + %>
+<% + } +} else { +%>

No Service Context Found

<% + } + } +%> + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewServiceGroupContext.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewServiceGroupContext.jsp new file mode 100644 index 0000000..27ca86c --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewServiceGroupContext.jsp @@ -0,0 +1,55 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.context.ConfigurationContext"%> +<%@ page import="org.apache.axis2.context.ServiceGroupContext"%> +<%@ page import="java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Runing Context hierachy

+<% + String type = (String) request.getSession().getAttribute("TYPE"); + ConfigurationContext configCtx = (ConfigurationContext) request.getSession().getAttribute("ConfigurationContext"); + ServiceGroupContext sgContext = (ServiceGroupContext) request.getSession().getAttribute("ServiceGroupContext"); + if (sgContext != null) { + if (type != null) { + if ("VIEW".equals(type)) { + Iterator propertyNames = sgContext.getPropertyNames(); +%> +

Persistance properties

    + <% + while (propertyNames.hasNext()) { + String key = (String) propertyNames.next(); + Object property = sgContext.getProperty(key); + %> +
  • <%=key%> : <%=property.toString()%>
  • + <% + } + %>
+ <% + } else if("DELETE".equals(type)){ + configCtx.removeServiceGroupContext(sgContext.getId()); + %>Removed the context<% + } + } + } else { +%>

No service group context found

<% + } +%> + \ No newline at end of file diff --git a/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewphases.jsp b/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewphases.jsp new file mode 100644 index 0000000..8c7db9c --- /dev/null +++ b/old/QAPortalAutoTestResultService/WebContent/axis2-web/viewphases.jsp @@ -0,0 +1,111 @@ + <%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> <%@ page import="org.apache.axis2.Constants, + org.apache.axis2.deployment.util.PhasesInfo, + org.apache.axis2.engine.Phase"%> + <%@ page import="java.util.List"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Available Phases

+ <% + PhasesInfo phases = (PhasesInfo)request.getSession().getAttribute(Constants.PHASE_LIST); + request.getSession().setAttribute(Constants.PHASE_LIST,null); + List tempList = phases.getGlobalInflow(); + %>

System Pre-defined Phases

+ InFlow Up to Dispatcher +
+ <% + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ InFaultFlow +
+ <% + tempList = phases.getGlobalInFaultPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ OutFlow +
+ <% + tempList = phases.getGlobalOutPhaseList(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ OutFaultFlow +
+ <% + tempList = phases.getOUT_FaultPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+
+

User Defined Phases

+ Inflow after Dispatcher +
+ <% + tempList = phases.getOperationInPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ InFaultFlow after Dispatcher +
+ <% + tempList = phases.getOperationInFaultPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ OutFlow +
+ <% + tempList = phases.getOperationOutPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ OutFaultFlow +
+ <% + tempList = phases.getOperationOutFaultPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ diff --git a/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorData.class b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorData.class new file mode 100644 index 0000000..941d4fa Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorData.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorFilter.class b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorFilter.class new file mode 100644 index 0000000..5d94bd2 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorFilter.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorPage.class b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorPage.class new file mode 100644 index 0000000..56c2fde Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorPage.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTableModel.class b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTableModel.class new file mode 100644 index 0000000..069e2f6 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTableModel.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTextArea.class b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTextArea.class new file mode 100644 index 0000000..92ce867 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTextArea.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$ServiceFilterPanel.class b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$ServiceFilterPanel.class new file mode 100644 index 0000000..68a36c7 Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$ServiceFilterPanel.class differ diff --git a/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet.class b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet.class new file mode 100644 index 0000000..6ea7eeb Binary files /dev/null and b/old/QAPortalAutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet.class differ diff --git a/old/QAPortalAutoTestResultService/build/classes/com/qaportal/QAPortalAutoTestResultService.class b/old/QAPortalAutoTestResultService/build/classes/com/qaportal/QAPortalAutoTestResultService.class new file mode 100644 index 0000000..b2636b7 Binary files /dev/null and b/old/QAPortalAutoTestResultService/build/classes/com/qaportal/QAPortalAutoTestResultService.class differ diff --git a/old/QAPortalAutoTestResultService/src/com/qaportal/QAPortalAutoTestResultService.java b/old/QAPortalAutoTestResultService/src/com/qaportal/QAPortalAutoTestResultService.java new file mode 100644 index 0000000..3ac4a21 --- /dev/null +++ b/old/QAPortalAutoTestResultService/src/com/qaportal/QAPortalAutoTestResultService.java @@ -0,0 +1,124 @@ +package com.qaportal; + +import java.util.ArrayList; +import java.util.List; + +import org.wso2.ws.dataservice.DataServiceFault; +import org.wso2.ws.dataservice.Entry; +import org.wso2.ws.dataservice.GetTestcasesforAutoTestResultsService; +import org.wso2.ws.dataservice.GetTestcasesforAutoTestResultsServicePortType; +import org.wso2.ws.dataservice.InsertBuildMappingTestResultPortType; +import org.wso2.ws.dataservice.InsertBuildMappingTestResult_Service; +import org.wso2.ws.dataservice.InsertTestResultPortType; +import org.wso2.ws.dataservice.InsertTestResult_Service; +import org.wso2.ws.dataservice.TestCaseTestResultMapping; +import org.wso2.ws.dataservice.TestCaseTestResultMappingPortType; +import org.wso2.ws.dataservice.UpdateResultsService; +import org.wso2.ws.dataservice.UpdateResultsServicePortType; +import org.wso2.ws.dataservice.WSO2QAPTESTCASE; +import org.wso2.ws.dataservice.WSO2QAPTESTRESULTID; + +public class QAPortalAutoTestResultService { +private String testClassName; +private String buildName; +private int autoTestResult; +private List testcaseIDList; +private List testResultIDList; +private String submitResultStatus; + +public String submitResult(String className,String buildVersionName,int testResult) +{ + GetTestcasesforAutoTestResultsService testForAutoService = new GetTestcasesforAutoTestResultsService(); + GetTestcasesforAutoTestResultsServicePortType testForAutoPort = testForAutoService.getSOAP11Endpoint(); + testClassName=className; + buildName=buildVersionName; + autoTestResult=testResult; + testcaseIDList = new ArrayList(); + testResultIDList = new ArrayList(); + try + { + List testCaseIdObjs = testForAutoPort.getTestCases(testClassName, buildName); + + + if(testCaseIdObjs.isEmpty()) + { + //no test cases in the system for the automated test bed results + //log + System.out.println("no results..."); + submitResultStatus="FAIL"; + } + else + { + + for(WSO2QAPTESTCASE testcase:testCaseIdObjs) + { + testcaseIDList.add(Integer.parseInt(testcase.getWSO2QAPTESTCASEID())); + } + /* + * GetTestcasesforAutoTestResultsService returns Test Case IDs which are affected by the auto bed test results. + * these test cases are used to find out which test results should be appended. + */ + TestCaseTestResultMapping caseResultMappingService = new TestCaseTestResultMapping(); + TestCaseTestResultMappingPortType caseResultMappingPort = caseResultMappingService.getSOAP11Endpoint(); + + List testResultIDObjs = caseResultMappingPort.getTestCaseTestResultMapping(testcaseIDList,buildName); + + + if(testResultIDObjs.isEmpty()) + { + /* + * in the case where there are no test results to be appended, a new test result is inserted. + */ + + InsertTestResult_Service insertResultService = new InsertTestResult_Service(); + InsertTestResultPortType insertResultPort = insertResultService.getSOAP11Endpoint(); + + for(int testId : testcaseIDList) + { + List resultID = insertResultPort.insertTestResult(testId,autoTestResult); + + InsertBuildMappingTestResult_Service buildMapService = new InsertBuildMappingTestResult_Service(); + InsertBuildMappingTestResultPortType buildMapPort = buildMapService.getSOAP11Endpoint(); + + buildMapPort.insertBuildMappingTestResult(buildName, resultID.get(0).getID().intValue()); + + } + + submitResultStatus="PASS:INSERT"; + + } + else + { + /* + * in the case where there are test cases to be appended, an update is carried out. + */ + + for(WSO2QAPTESTRESULTID resultidObj: testResultIDObjs) + { + testResultIDList.add(resultidObj.getWSO2QAPTESTRESULTID().intValue()); + + } + + UpdateResultsService updateResultsService = new UpdateResultsService(); + UpdateResultsServicePortType updateResultsPort = updateResultsService.getSOAP11Endpoint(); + + updateResultsPort.updateTestResult(autoTestResult, testResultIDList); + + submitResultStatus="PASS:UPDATE"; + } + + } + + + + + } + catch(DataServiceFault ex) + { + submitResultStatus="FAIL"; + ex.printStackTrace(); + } + + return submitResultStatus; +} +} diff --git a/old/TestCaseTestResultMapping.jar b/old/TestCaseTestResultMapping.jar new file mode 100644 index 0000000..afe753b Binary files /dev/null and b/old/TestCaseTestResultMapping.jar differ diff --git a/old/TestCasesforAutoTestBedResults.jar b/old/TestCasesforAutoTestBedResults.jar new file mode 100644 index 0000000..a103dbc Binary files /dev/null and b/old/TestCasesforAutoTestBedResults.jar differ diff --git a/old/UpdateTestResults.jar b/old/UpdateTestResults.jar new file mode 100644 index 0000000..c2f3d11 Binary files /dev/null and b/old/UpdateTestResults.jar differ diff --git a/project/AutoTestResultService/.classpath b/project/AutoTestResultService/.classpath new file mode 100644 index 0000000..49bb789 --- /dev/null +++ b/project/AutoTestResultService/.classpath @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project/AutoTestResultService/.project b/project/AutoTestResultService/.project new file mode 100644 index 0000000..9298904 --- /dev/null +++ b/project/AutoTestResultService/.project @@ -0,0 +1,36 @@ + + + AutoTestResultService + + + + + + org.eclipse.wst.jsdt.core.javascriptValidator + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/project/AutoTestResultService/.settings/.jsdtscope b/project/AutoTestResultService/.settings/.jsdtscope new file mode 100644 index 0000000..3a28de0 --- /dev/null +++ b/project/AutoTestResultService/.settings/.jsdtscope @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/project/AutoTestResultService/.settings/org.eclipse.jdt.core.prefs b/project/AutoTestResultService/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..f42de36 --- /dev/null +++ b/project/AutoTestResultService/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/project/AutoTestResultService/.settings/org.eclipse.wst.common.component b/project/AutoTestResultService/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..2ee479e --- /dev/null +++ b/project/AutoTestResultService/.settings/org.eclipse.wst.common.component @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/project/AutoTestResultService/.settings/org.eclipse.wst.common.project.facet.core.xml b/project/AutoTestResultService/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..d54438c --- /dev/null +++ b/project/AutoTestResultService/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/project/AutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.container b/project/AutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ b/project/AutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/project/AutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.name b/project/AutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ b/project/AutoTestResultService/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git a/project/AutoTestResultService/.settings/org.eclipse.wst.validation.prefs b/project/AutoTestResultService/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 0000000..5b064c7 --- /dev/null +++ b/project/AutoTestResultService/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,2 @@ +disabled=120WebContent/axis2-web +eclipse.preferences.version=1 diff --git a/project/AutoTestResultService/WebContent/META-INF/MANIFEST.MF b/project/AutoTestResultService/WebContent/META-INF/MANIFEST.MF new file mode 100644 index 0000000..5570da1 --- /dev/null +++ b/project/AutoTestResultService/WebContent/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: sagara +Build-Jdk: 1.6.0_22 + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/classes/META-INF/LICENSE b/project/AutoTestResultService/WebContent/WEB-INF/classes/META-INF/LICENSE new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/classes/META-INF/LICENSE @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/classes/META-INF/NOTICE b/project/AutoTestResultService/WebContent/WEB-INF/classes/META-INF/NOTICE new file mode 100644 index 0000000..bd39693 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/classes/META-INF/NOTICE @@ -0,0 +1,26 @@ +========================================================================= +== NOTICE file corresponding to the section 4 d of == +== the Apache License, Version 2.0, == +== in this case for the Apache Axis2 distribution. == +========================================================================= + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). +Portions Copyright 2006 International Business Machines Corp. +Portions Copyright 2005-2007 WSO2, Inc. + +This product also includes schemas and specification developed by: +- the W3C consortium (http://www.w3c.org) + +This product also includes WS-* schemas developed by International +Business Machines Corporation, Microsoft Corporation, BEA Systems, +TIBCO Software, SAP AG, Sonic Software, and VeriSign + +This product also includes a WSDL developed by salesforce.com +- Copyright 1999-2006 salesforce.com, inc. + +Portions of the included xmlbeans library were originally based on the following: +- software copyright (c) 2000-2003, BEA Systems, . + +Please read the different LICENSE files present in the lib directory of +this distribution. diff --git a/project/AutoTestResultService/WebContent/WEB-INF/classes/commons-logging.properties b/project/AutoTestResultService/WebContent/WEB-INF/classes/commons-logging.properties new file mode 100644 index 0000000..1e570d6 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/classes/commons-logging.properties @@ -0,0 +1,30 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# + +# This is the logging properties that goes to the war, there are two logging conf kept at the +# svn, one for developement (one at src/test-resources) and other for producation + +# Uncomment the next line to disable all logging. +#org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog + +# Uncomment the next line to enable the simple log based logging +#org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog + +# Uncomment the next line to enable log4j based logging +org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger diff --git a/project/AutoTestResultService/WebContent/WEB-INF/classes/log4j.properties b/project/AutoTestResultService/WebContent/WEB-INF/classes/log4j.properties new file mode 100644 index 0000000..2fa4429 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/classes/log4j.properties @@ -0,0 +1,40 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# + +# Set root category priority to INFO and its only appender to CONSOLE. +log4j.rootCategory=INFO, CONSOLE +#log4j.rootCategory=INFO, CONSOLE, LOGFILE + +# Set the enterprise logger priority to FATAL +log4j.logger.org.apache.axis2.enterprise=FATAL +log4j.logger.de.hunsicker.jalopy.io=FATAL +log4j.logger.httpclient.wire.header=FATAL +log4j.logger.org.apache.commons.httpclient=FATAL + +# CONSOLE is set to be a ConsoleAppender using a PatternLayout. +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %m%n + +# LOGFILE is set to be a File appender using a PatternLayout. +log4j.appender.LOGFILE=org.apache.log4j.FileAppender +log4j.appender.LOGFILE.File=axis2.log +log4j.appender.LOGFILE.Append=true +log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout +log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/transport/http/AxisAdminServlet.class b/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/transport/http/AxisAdminServlet.class new file mode 100644 index 0000000..bccb1c3 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/transport/http/AxisAdminServlet.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AdminAgent.class b/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AdminAgent.class new file mode 100644 index 0000000..49c02af Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AdminAgent.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AxisAdminServlet.class b/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AxisAdminServlet.class new file mode 100644 index 0000000..973f43c Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/classes/org/apache/axis2/webapp/AxisAdminServlet.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/conf/axis2.xml b/project/AutoTestResultService/WebContent/WEB-INF/conf/axis2.xml new file mode 100644 index 0000000..cad435b --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/conf/axis2.xml @@ -0,0 +1,520 @@ + + + + + + + true + false + false + false + + + + + false + + + true + + + + + + + + + + + + + 30000 + + + + false + + + + + + false + + admin + axis2 + + + + + + + + + + + + + + + + + + + + + + + + + false + + + false + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + HTTP/1.1 + chunked + + + + + + + HTTP/1.1 + chunked + + + + + + + + + + + + + + + + + + + + + + + + true + + + multicast + + + wso2.carbon.domain + + + true + + + 10 + + + 228.0.0.4 + + + 45564 + + + 500 + + + 3000 + + + 127.0.0.1 + + + 127.0.0.1 + + + 4000 + + + true + + + true + + + + + + + + + + + 127.0.0.1 + 4000 + + + 127.0.0.1 + 4001 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-1.4.7.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-1.4.7.jar new file mode 100644 index 0000000..79251c6 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-1.4.7.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/XmlSchema-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/activation-1.1.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/activation-1.1.jar new file mode 100644 index 0000000..53f82a1 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/activation-1.1.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/activation-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/activation-LICENSE.txt new file mode 100644 index 0000000..55ce20a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/activation-LICENSE.txt @@ -0,0 +1,119 @@ +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 + +1. Definitions. + +1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications. + +1.2. Contributor Version means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. + +1.3. Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. + +1.4. Executable means the Covered Software in any form other than Source Code. + +1.5. Initial Developer means the individual or entity that first makes Original Software available under this License. + +1.6. Larger Work means a work which combines Covered Software or portions thereof with code not governed by the terms of this License. + +1.7. License means this document. + +1.8. Licensable means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. + +1.9. Modifications means the Source Code and Executable form of any of the following: + +A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications; + +B. Any new file that contains any part of the Original Software or previous Modification; or + +C. Any new file that is contributed or otherwise made available under the terms of this License. + +1.10. Original Software means the Source Code and Executable form of computer software code that is originally released under this License. + +1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. + +1.12. Source Code means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code. + +1.13. You (or Your) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, You includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, control means (a)�the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b)�ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. + +2. License Grants. + +2.1. The Initial Developer Grant. +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license: +(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and +(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof). +(c) The licenses granted in Sections�2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License. +(d) Notwithstanding Section�2.1(b) above, no patent license is granted: (1)�for code that You delete from the Original Software, or (2)�for infringements caused by: (i)�the modification of the Original Software, or (ii)�the combination of the Original Software with other software or devices. + +2.2. Contributor Grant. +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: +(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and +(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1)�Modifications made by that Contributor (or portions thereof); and (2)�the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). +(c) The licenses granted in Sections�2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party. +(d) Notwithstanding Section�2.2(b) above, no patent license is granted: (1)�for any code that Contributor has deleted from the Contributor Version; (2)�for infringements caused by: (i)�third party modifications of Contributor Version, or (ii)�the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3)�under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor. + +3. Distribution Obligations. + +3.1. Availability of Source Code. + +Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange. + +3.2. Modifications. + +The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License. + +3.3. Required Notices. +You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer. + +3.4. Application of Additional Terms. +You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. + +3.5. Distribution of Executable Versions. +You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. + +3.6. Larger Works. +You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. + +4. Versions of the License. + +4.1. New Versions. +Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License. + +4.2. Effect of New Versions. + +You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward. +4.3. Modified Versions. + +When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a)�rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b)�otherwise make it clear that the license contains terms which differ from this License. + +5. DISCLAIMER OF WARRANTY. + +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +6. TERMINATION. + +6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. + +6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as Participant) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections�2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant. + +6.3. In the event of termination under Sections�6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + +The Covered Software is a commercial item, as that term is defined in 48�C.F.R.�2.101 (Oct. 1995), consisting of commercial computer software (as that term is defined at 48 C.F.R. �252.227-7014(a)(1)) and commercial computer software documentation as such terms are used in 48�C.F.R.�12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License. + +9. MISCELLANEOUS. + +This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + +As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. + +NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) +The GlassFish code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California. + + + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/antlr-2-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/antlr-2-LICENSE.txt new file mode 100644 index 0000000..d62cc1a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/antlr-2-LICENSE.txt @@ -0,0 +1,31 @@ + +SOFTWARE RIGHTS + +ANTLR 1989-2006 Developed by Terence Parr +Partially supported by University of San Francisco & jGuru.com + +We reserve no legal rights to the ANTLR--it is fully in the +public domain. An individual or company may do whatever +they wish with source code distributed with ANTLR or the +code generated by ANTLR, including the incorporation of +ANTLR, or its output, into commerical software. + +We encourage users to develop software with ANTLR. However, +we do ask that credit is given to us for developing +ANTLR. By "credit", we mean that if you use ANTLR or +incorporate any source code into one of your programs +(commercial product, research project, or otherwise) that +you acknowledge this fact somewhere in the documentation, +research report, etc... If you like ANTLR and have +developed a nice tool with the output, please mention that +you developed it using ANTLR. In addition, we ask that the +headers remain intact in our source code. As long as these +guidelines are kept, we expect to continue enhancing this +system and expect to make other tools available as they are +completed. + +The primary ANTLR guy: + +Terence Parr +parrt@cs.usfca.edu +parrt@antlr.org diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/antlr-2.7.7.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/antlr-2.7.7.jar new file mode 100644 index 0000000..5e5f14b Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/antlr-2.7.7.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-api-1.2.13.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-api-1.2.13.jar new file mode 100644 index 0000000..84cb42c Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-api-1.2.13.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-api-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-api-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-api-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-1.2.13.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-1.2.13.jar new file mode 100644 index 0000000..4890bb2 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-1.2.13.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-dom-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-1.2.13.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-1.2.13.jar new file mode 100644 index 0000000..a959b28 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-1.2.13.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/axiom-impl-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-1.6.2.jar new file mode 100644 index 0000000..6234fdb Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-codegen-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-codegen-1.6.2.jar new file mode 100644 index 0000000..7d037d4 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-adb-codegen-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-clustering-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-clustering-1.6.2.jar new file mode 100644 index 0000000..e45be99 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-clustering-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-codegen-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-codegen-1.6.2.jar new file mode 100644 index 0000000..f742f19 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-codegen-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-corba-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-corba-1.6.2.jar new file mode 100644 index 0000000..ee3c78e Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-corba-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-fastinfoset-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-fastinfoset-1.6.2.jar new file mode 100644 index 0000000..d10c36a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-fastinfoset-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-java2wsdl-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-java2wsdl-1.6.2.jar new file mode 100644 index 0000000..0bb869d Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-java2wsdl-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxbri-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxbri-1.6.2.jar new file mode 100644 index 0000000..616eec9 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxbri-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxws-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxws-1.6.2.jar new file mode 100644 index 0000000..064351a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jaxws-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jibx-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jibx-1.6.2.jar new file mode 100644 index 0000000..75f9d1a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-jibx-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-json-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-json-1.6.2.jar new file mode 100644 index 0000000..edd7936 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-json-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-kernel-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-kernel-1.6.2.jar new file mode 100644 index 0000000..3ae5f7a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-kernel-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-metadata-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-metadata-1.6.2.jar new file mode 100644 index 0000000..492f1ac Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-metadata-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-mtompolicy-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-mtompolicy-1.6.2.jar new file mode 100644 index 0000000..561e84a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-mtompolicy-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-saaj-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-saaj-1.6.2.jar new file mode 100644 index 0000000..c14531d Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-saaj-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-soapmonitor-servlet-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-soapmonitor-servlet-1.6.2.jar new file mode 100644 index 0000000..276dac7 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-soapmonitor-servlet-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-spring-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-spring-1.6.2.jar new file mode 100644 index 0000000..30b9baa Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-spring-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-http-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-http-1.6.2.jar new file mode 100644 index 0000000..b1dad78 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-http-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-local-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-local-1.6.2.jar new file mode 100644 index 0000000..34a7073 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-transport-local-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-xmlbeans-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-xmlbeans-1.6.2.jar new file mode 100644 index 0000000..58fba9b Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/axis2-xmlbeans-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-cli-1.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-cli-1.2.jar new file mode 100644 index 0000000..ce4b9ff Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-cli-1.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-cli-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-cli-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-cli-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-codec-1.3.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-codec-1.3.jar new file mode 100644 index 0000000..957b675 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-codec-1.3.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-codec-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-codec-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-codec-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-1.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-1.2.jar new file mode 100644 index 0000000..12539f5 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-1.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-fileupload-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-3.1.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-3.1.jar new file mode 100644 index 0000000..7c59774 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-3.1.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-httpclient-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-io-1.4.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-io-1.4.jar new file mode 100644 index 0000000..133dc6c Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-io-1.4.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-io-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-io-LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-io-LICENSE.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar new file mode 100644 index 0000000..1deef14 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-logging-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-logging-LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/commons-logging-LICENSE.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar new file mode 100644 index 0000000..ab1ee3b Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/httpcore-4.0.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/httpcore-4.0.jar new file mode 100644 index 0000000..37eb7d4 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/httpcore-4.0.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/httpcore-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/httpcore-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/httpcore-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/log4j-1.2.15.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/log4j-1.2.15.jar new file mode 100644 index 0000000..c930a6a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/log4j-1.2.15.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/log4j-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/log4j-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/log4j-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/mail-1.4.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/mail-1.4.jar new file mode 100644 index 0000000..fd4555b Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/mail-1.4.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/mail-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/mail-LICENSE.txt new file mode 100644 index 0000000..55ce20a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/mail-LICENSE.txt @@ -0,0 +1,119 @@ +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 + +1. Definitions. + +1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications. + +1.2. Contributor Version means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. + +1.3. Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. + +1.4. Executable means the Covered Software in any form other than Source Code. + +1.5. Initial Developer means the individual or entity that first makes Original Software available under this License. + +1.6. Larger Work means a work which combines Covered Software or portions thereof with code not governed by the terms of this License. + +1.7. License means this document. + +1.8. Licensable means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. + +1.9. Modifications means the Source Code and Executable form of any of the following: + +A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications; + +B. Any new file that contains any part of the Original Software or previous Modification; or + +C. Any new file that is contributed or otherwise made available under the terms of this License. + +1.10. Original Software means the Source Code and Executable form of computer software code that is originally released under this License. + +1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. + +1.12. Source Code means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code. + +1.13. You (or Your) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, You includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, control means (a)�the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b)�ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. + +2. License Grants. + +2.1. The Initial Developer Grant. +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license: +(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and +(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof). +(c) The licenses granted in Sections�2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License. +(d) Notwithstanding Section�2.1(b) above, no patent license is granted: (1)�for code that You delete from the Original Software, or (2)�for infringements caused by: (i)�the modification of the Original Software, or (ii)�the combination of the Original Software with other software or devices. + +2.2. Contributor Grant. +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: +(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and +(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1)�Modifications made by that Contributor (or portions thereof); and (2)�the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). +(c) The licenses granted in Sections�2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party. +(d) Notwithstanding Section�2.2(b) above, no patent license is granted: (1)�for any code that Contributor has deleted from the Contributor Version; (2)�for infringements caused by: (i)�third party modifications of Contributor Version, or (ii)�the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3)�under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor. + +3. Distribution Obligations. + +3.1. Availability of Source Code. + +Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange. + +3.2. Modifications. + +The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License. + +3.3. Required Notices. +You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer. + +3.4. Application of Additional Terms. +You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. + +3.5. Distribution of Executable Versions. +You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. + +3.6. Larger Works. +You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. + +4. Versions of the License. + +4.1. New Versions. +Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License. + +4.2. Effect of New Versions. + +You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward. +4.3. Modified Versions. + +When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a)�rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b)�otherwise make it clear that the license contains terms which differ from this License. + +5. DISCLAIMER OF WARRANTY. + +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +6. TERMINATION. + +6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. + +6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as Participant) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections�2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant. + +6.3. In the event of termination under Sections�6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + +The Covered Software is a commercial item, as that term is defined in 48�C.F.R.�2.101 (Oct. 1995), consisting of commercial computer software (as that term is defined at 48 C.F.R. �252.227-7014(a)(1)) and commercial computer software documentation as such terms are used in 48�C.F.R.�12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License. + +9. MISCELLANEOUS. + +This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + +As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. + +NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) +The GlassFish code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California. + + + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/neethi-3.0.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/neethi-3.0.2.jar new file mode 100644 index 0000000..383efde Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/neethi-3.0.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/neethi-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/neethi-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/neethi-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-api-1.0M9.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-api-1.0M9.jar new file mode 100644 index 0000000..3b07e8e Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-api-1.0M9.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-api-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-api-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-api-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-1.0M9.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-1.0M9.jar new file mode 100644 index 0000000..f99c8d7 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-1.0M9.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-commons-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-1.0M9.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-1.0M9.jar new file mode 100644 index 0000000..0e3fff5 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-1.0M9.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-LICENSE.txt new file mode 100644 index 0000000..57bc88a --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/woden-impl-dom-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-1.6.2.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-1.6.2.jar new file mode 100644 index 0000000..b9ffc36 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-1.6.2.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-LICENSE.txt new file mode 100644 index 0000000..ffc4d1f --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/wsdl4j-LICENSE.txt @@ -0,0 +1,88 @@ +Common Public License - v 1.0 + + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and +b) in the case of each subsequent Contributor: +i) changes to the Program, and +ii) additions to the Program; +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. + + +"Program" means the Contributions distributed in accordance with this Agreement. + + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and +b) its license agreement: +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. + + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. + + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. + + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + + +If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. + + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. + + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/wstx-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/wstx-LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/wstx-LICENSE.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/wstx-asl-3.2.9.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/wstx-asl-3.2.9.jar new file mode 100644 index 0000000..ffdbd1f Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/wstx-asl-3.2.9.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-2.3.0.jar b/project/AutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-2.3.0.jar new file mode 100644 index 0000000..ccd8163 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-2.3.0.jar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-LICENSE.txt b/project/AutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-LICENSE.txt new file mode 100644 index 0000000..fef8c29 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/lib/xmlbeans-LICENSE.txt @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/modules/addressing-1.6.2.mar b/project/AutoTestResultService/WebContent/WEB-INF/modules/addressing-1.6.2.mar new file mode 100644 index 0000000..c156ee7 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/modules/addressing-1.6.2.mar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/modules/axis2-jaxws-mar-1.6.2.mar b/project/AutoTestResultService/WebContent/WEB-INF/modules/axis2-jaxws-mar-1.6.2.mar new file mode 100644 index 0000000..9bf3f61 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/modules/axis2-jaxws-mar-1.6.2.mar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/modules/mex-1.6.2.mar b/project/AutoTestResultService/WebContent/WEB-INF/modules/mex-1.6.2.mar new file mode 100644 index 0000000..0b348d6 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/modules/mex-1.6.2.mar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/modules/modules.list b/project/AutoTestResultService/WebContent/WEB-INF/modules/modules.list new file mode 100644 index 0000000..9615a26 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/modules/modules.list @@ -0,0 +1,7 @@ +mtompolicy-1.6.2.mar +ping-1.6.2.mar +mex-1.6.2.mar +scripting-1.6.2.mar +addressing-1.6.2.mar +axis2-jaxws-mar-1.6.2.mar +soapmonitor-1.6.2.mar diff --git a/project/AutoTestResultService/WebContent/WEB-INF/modules/mtompolicy-1.6.2.mar b/project/AutoTestResultService/WebContent/WEB-INF/modules/mtompolicy-1.6.2.mar new file mode 100644 index 0000000..3227144 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/modules/mtompolicy-1.6.2.mar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/modules/ping-1.6.2.mar b/project/AutoTestResultService/WebContent/WEB-INF/modules/ping-1.6.2.mar new file mode 100644 index 0000000..a9e3ca9 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/modules/ping-1.6.2.mar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/modules/scripting-1.6.2.mar b/project/AutoTestResultService/WebContent/WEB-INF/modules/scripting-1.6.2.mar new file mode 100644 index 0000000..ddfb2e6 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/modules/scripting-1.6.2.mar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/modules/soapmonitor-1.6.2.mar b/project/AutoTestResultService/WebContent/WEB-INF/modules/soapmonitor-1.6.2.mar new file mode 100644 index 0000000..5830c96 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/modules/soapmonitor-1.6.2.mar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/AutoTestResultsService.aar b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/AutoTestResultsService.aar new file mode 100644 index 0000000..d50ce88 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/AutoTestResultsService.aar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/META-INF/services.xml b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/META-INF/services.xml new file mode 100644 index 0000000..9330abd --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/META-INF/services.xml @@ -0,0 +1,10 @@ + + + Please Type your service description here + + + + + + com.qaportal.AutoTestResultsService + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/META-INF/services.xml~ b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/META-INF/services.xml~ new file mode 100644 index 0000000..fe7f452 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/META-INF/services.xml~ @@ -0,0 +1,10 @@ + + + Please Type your service description here + + + + + + com.qaportal.AutoTestResultsService + diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/AutoTestResultsService.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/AutoTestResultsService.class new file mode 100644 index 0000000..41da318 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/AutoTestResultsService.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/DataServiceFaultException.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/DataServiceFaultException.class new file mode 100644 index 0000000..1d61dcb Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/DataServiceFaultException.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.class new file mode 100644 index 0000000..200d248 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$1.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$1.class new file mode 100644 index 0000000..7bca91f Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$1.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..bdd411a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..6c66273 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..cbd3e56 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault.class new file mode 100644 index 0000000..781760d Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$ExtensionMapper.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$ExtensionMapper.class new file mode 100644 index 0000000..8e5a7f0 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases$Factory.class new file mode 100644 index 0000000..51de0b2 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases.class new file mode 100644 index 0000000..e4a3d3c Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..0e0c796 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS.class new file mode 100644 index 0000000..b0e095a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE$Factory.class new file mode 100644 index 0000000..295b814 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE.class new file mode 100644 index 0000000..199ef7d Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection$Factory.class new file mode 100644 index 0000000..712b981 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection.class new file mode 100644 index 0000000..24eeed3 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE$Factory.class new file mode 100644 index 0000000..3240f81 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE.class new file mode 100644 index 0000000..8e59704 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.class new file mode 100644 index 0000000..ace95e7 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultCallbackHandler.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultCallbackHandler.class new file mode 100644 index 0000000..12c5af7 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultCallbackHandler.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..6d35617 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..1d52ef7 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..381b4d9 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault.class new file mode 100644 index 0000000..b696b2b Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$ExtensionMapper.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$ExtensionMapper.class new file mode 100644 index 0000000..2ea569b Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult$Factory.class new file mode 100644 index 0000000..06fced0 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult.class new file mode 100644 index 0000000..5d7703a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..2e48816 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS.class new file mode 100644 index 0000000..0e70eb2 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub.class new file mode 100644 index 0000000..b3511b8 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertBuildMappingTestResultStub.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultCallbackHandler.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultCallbackHandler.class new file mode 100644 index 0000000..0552011 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultCallbackHandler.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$1.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$1.class new file mode 100644 index 0000000..827c40f Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$1.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..d0e8ffa Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..49b95e3 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DataServiceFault$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..cb5a500 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DataServiceFault.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DataServiceFault.class new file mode 100644 index 0000000..49ed4da Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$Entry$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$Entry$Factory.class new file mode 100644 index 0000000..74e567a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$Entry$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$Entry.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$Entry.class new file mode 100644 index 0000000..bcbf494 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$Entry.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$ExtensionMapper.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$ExtensionMapper.class new file mode 100644 index 0000000..9cd3fb5 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeys$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeys$Factory.class new file mode 100644 index 0000000..5275651 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeys$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeys.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeys.class new file mode 100644 index 0000000..1bd206f Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeys.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeysE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeysE$Factory.class new file mode 100644 index 0000000..9188fcf Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeysE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeysE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeysE.class new file mode 100644 index 0000000..eaf143f Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$GeneratedKeysE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$InsertTestResult$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$InsertTestResult$Factory.class new file mode 100644 index 0000000..134b641 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$InsertTestResult$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$InsertTestResult.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$InsertTestResult.class new file mode 100644 index 0000000..8a1c3d8 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$InsertTestResult.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..5fa7b78 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$REQUEST_STATUS.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$REQUEST_STATUS.class new file mode 100644 index 0000000..f05198c Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub.class new file mode 100644 index 0000000..f5dff3a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/InsertTestResultStub.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingCallbackHandler.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingCallbackHandler.class new file mode 100644 index 0000000..76e10df Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingCallbackHandler.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$1.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$1.class new file mode 100644 index 0000000..cdb9a7d Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$1.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..8120946 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..a524e4c Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..071d597 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault.class new file mode 100644 index 0000000..37a5ee8 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$ExtensionMapper.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$ExtensionMapper.class new file mode 100644 index 0000000..e16722a Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping$Factory.class new file mode 100644 index 0000000..5f511f8 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping.class new file mode 100644 index 0000000..dc7df27 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..a62d197 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS.class new file mode 100644 index 0000000..657b7f0 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID$Factory.class new file mode 100644 index 0000000..393f911 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID.class new file mode 100644 index 0000000..2ad4d3f Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection$Factory.class new file mode 100644 index 0000000..462dd94 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection.class new file mode 100644 index 0000000..e31e8a9 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE$Factory.class new file mode 100644 index 0000000..db3c61b Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE.class new file mode 100644 index 0000000..604bb33 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub.class new file mode 100644 index 0000000..bcd373f Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/TestCaseTestResultMappingStub.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceCallbackHandler.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceCallbackHandler.class new file mode 100644 index 0000000..5fd4ab6 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceCallbackHandler.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..61f1d42 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..bee8f0d Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DataServiceFault$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..14aa55f Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DataServiceFault.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DataServiceFault.class new file mode 100644 index 0000000..2a2266e Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$ExtensionMapper.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$ExtensionMapper.class new file mode 100644 index 0000000..62a2cf1 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..52e7e8b Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS.class new file mode 100644 index 0000000..5ef99c9 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$UpdateTestResult$Factory.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$UpdateTestResult$Factory.class new file mode 100644 index 0000000..074ed54 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$UpdateTestResult$Factory.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$UpdateTestResult.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$UpdateTestResult.class new file mode 100644 index 0000000..9eea842 Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub$UpdateTestResult.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub.class b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub.class new file mode 100644 index 0000000..30524cd Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/AutoTestResultsService/com/qaportal/UpdateResultsServiceStub.class differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/services.list b/project/AutoTestResultService/WebContent/WEB-INF/services/services.list new file mode 100644 index 0000000..6e2f514 --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/services/services.list @@ -0,0 +1 @@ +version-1.6.2.aar diff --git a/project/AutoTestResultService/WebContent/WEB-INF/services/version-1.6.2.aar b/project/AutoTestResultService/WebContent/WEB-INF/services/version-1.6.2.aar new file mode 100644 index 0000000..26ec7af Binary files /dev/null and b/project/AutoTestResultService/WebContent/WEB-INF/services/version-1.6.2.aar differ diff --git a/project/AutoTestResultService/WebContent/WEB-INF/web.xml b/project/AutoTestResultService/WebContent/WEB-INF/web.xml new file mode 100644 index 0000000..21369ab --- /dev/null +++ b/project/AutoTestResultService/WebContent/WEB-INF/web.xml @@ -0,0 +1,40 @@ + + + AutoTestResultService + + index.html + index.htm + index.jsp + default.html + default.htm + default.jsp + /axis2-web/index.jsp + + + Apache-Axis Servlet + AxisServlet + org.apache.axis2.transport.http.AxisServlet + + + AxisServlet + /servlet/AxisServlet + + + AxisServlet + *.jws + + + AxisServlet + /services/* + + + Apache-Axis Admin Servlet Web Admin + AxisAdminServlet + org.apache.axis2.transport.http.AxisAdminServlet + 100 + + + AxisAdminServlet + /axis2-admin/* + + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/ActivateService.jsp b/project/AutoTestResultService/WebContent/axis2-web/ActivateService.jsp new file mode 100644 index 0000000..1ea3082 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/ActivateService.jsp @@ -0,0 +1,82 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisService, + java.util.Collection, + java.util.HashMap, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Turn On Service

+
+ + + + + + <% +HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP); +Collection col = services.values(); +String html = ""; +int count = 0; + +for (Iterator iterator = col.iterator(); iterator.hasNext();) { + AxisService axisServices = (AxisService) iterator.next(); + if(!axisServices.isActive()){ + count++; + html += ""; + } +} +request.getSession().setAttribute(Constants.SERVICE_MAP,null); +if (count > 0) { +%> + + + + + + + + + + +<% +} else { + %> + + <% +} +%> + + +
+

The services that are inactive are listed below. Although you can activate the services from this page, once system is restarted the services will be inactive again

+
Select Service : + +
Activate Service +
  + + + No inactive services present.
+
+ diff --git a/project/AutoTestResultService/WebContent/axis2-web/EngageToServiceGroup.jsp b/project/AutoTestResultService/WebContent/axis2-web/EngageToServiceGroup.jsp new file mode 100644 index 0000000..e062014 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/EngageToServiceGroup.jsp @@ -0,0 +1,138 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + org.apache.axis2.description.AxisServiceGroup, + java.util.Collection" %> +<%@ page import="java.util.HashMap"%> +<%@ page import="java.util.Iterator"%> +<%@ page import="org.apache.axis2.util.Utils" %> + +<% + String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS); + HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP); + request.getSession().setAttribute(Constants.MODULE_MAP,null); + Collection moduleCol = moduels.values(); + Iterator servicesGroups = (Iterator)request.getSession().getAttribute(Constants.SERVICE_GROUP_MAP); + request.getSession().setAttribute(Constants.SERVICE_GROUP_MAP,null); +%> +

Engage Module for a Service Group

+

To engage a module for a set of services grouped as an axis service group,

+ +
    +
  1. select the module you want to engage
  2. +
  3. select the axis service group you like the module to be engaged.
  4. +
  5. click "Engage".
  6. +
+ + +<% + if (!moduleCol.iterator().hasNext()) {%> +

No modules are present to be engaged.

+ <%} else { + if (!servicesGroups.hasNext()) {%> +

No Axis service groups are present to be engaged.

+ <%} else { +%> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Select a Module :
+
+   +   +
Select a Service Group :
+ +
+   +   +
+ +
+   +   +
+   +   +
+ +
+
+<% + } + } +%> + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/Error/AuthError.html b/project/AutoTestResultService/WebContent/axis2-web/Error/AuthError.html new file mode 100644 index 0000000..a439e49 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/Error/AuthError.html @@ -0,0 +1,44 @@ + + + + Error In Admin Application + + + + + + +
+ + + + + + +
Failure in Authentication! Please check your username and password
back
+ +
+ + + + +
All rights reserved by Apache Software Foundation
+ + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/Error/GenError.html b/project/AutoTestResultService/WebContent/axis2-web/Error/GenError.html new file mode 100644 index 0000000..80ee16a --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/Error/GenError.html @@ -0,0 +1,44 @@ + + + + Error In Admin Application + + + + + + +
+ + + + + + +
Server Encountered an Error!
home
+ +
+ + + + +
All rights reserved by Apache Software Foundation
+ + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/Error/error404.jsp b/project/AutoTestResultService/WebContent/axis2-web/Error/error404.jsp new file mode 100644 index 0000000..6fee940 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/Error/error404.jsp @@ -0,0 +1,63 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=iso-8859-1" language="java" %> + + + + + Axis2 :: Resource not found! + + + + + + + + + + +
+ + + + + +
+

Requested resource not found!

+
+
+
+
+
home
+ + + + +
+ + + + + +

Copyright © 1999-2006, The Apache Software Foundation
Licensed under the Apache License, Version 2.0.
+
 
+ + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/Error/error500.jsp b/project/AutoTestResultService/WebContent/axis2-web/Error/error500.jsp new file mode 100644 index 0000000..4d6495e --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/Error/error500.jsp @@ -0,0 +1,64 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=iso-8859-1" language="java" %> + + + + + Axis2 :: Internal server error + + + + + + + + + + +
+ + + + + +
+

Internal server error

+
+
+
+
+
home
+
+ + + + +
+ + + + + +

Copyright © 1999-2006, The Apache Software Foundation
Licensed under the Apache License, Version 2.0.
+
 
+ + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/HappyAxis.jsp b/project/AutoTestResultService/WebContent/axis2-web/HappyAxis.jsp new file mode 100644 index 0000000..ac63e63 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/HappyAxis.jsp @@ -0,0 +1,508 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + + +<%@ page import="org.apache.axis2.AxisFault, + org.apache.axis2.Constants, + org.apache.axis2.addressing.EndpointReference, + org.apache.axis2.client.Options, + org.apache.axis2.client.ServiceClient, + org.apache.axis2.context.ConfigurationContext, + org.apache.axis2.context.ConfigurationContextFactory, + javax.xml.parsers.SAXParser, + javax.xml.parsers.SAXParserFactory, + java.io.IOException, + java.io.InputStream, + java.io.StringWriter, + org.apache.axiom.om.OMElement, + org.apache.axiom.om.OMFactory, + org.apache.axiom.om.OMNamespace, + org.apache.axiom.om.OMAbstractFactory, + javax.xml.stream.XMLOutputFactory, + javax.xml.stream.XMLStreamException" + session="false" %> + + + Axis2 Happiness Page + + + + + + +<%IP = request.getRequestURL().toString();%> +<%! + /* + * Happiness tests for axis2. These look at the classpath and warn if things + * are missing. Normally addng this much code in a JSP page is mad + * but here we want to validate JSP compilation too, and have a drop-in + * page for easy re-use + */ + String IP; + + /** + * Get a string providing install information. + * TODO: make this platform aware and give specific hints + */ + public String getInstallHints(HttpServletRequest request) { + + return "Note: On Tomcat 4.x and Java1.4, you may need to put libraries that contain " + + "java.* or javax.* packages into CATALINA_HOME/common/lib" + + "
jaxrpc.jar and saaj.jar are two such libraries."; + } + + /** + * test for a class existing + * @param classname + * @return class iff present + */ + Class classExists(String classname) { + try { + return Class.forName(classname); + } catch (ClassNotFoundException e) { + return null; + } + } + + /** + * test for resource on the classpath + * @param resource + * @return true iff present + */ + boolean resourceExists(String resource) { + boolean found; + InputStream instream = this.getClass().getResourceAsStream(resource); + found = instream != null; + if (instream != null) { + try { + instream.close(); + } catch (IOException e) { + } + } + return found; + } + + /** + * probe for a class, print an error message is missing + * @param out stream to print stuff + * @param category text like "warning" or "error" + * @param classname class to look for + * @param jarFile where this class comes from + * @param errorText extra error text + * @param homePage where to d/l the library + * @return the number of missing classes + * @throws IOException + */ + int probeClass(JspWriter out, + String category, + String classname, + String jarFile, + String axisOperation, + String errorText, + String homePage) throws IOException { + try { + Class clazz = classExists(classname); + if (clazz == null) { + String url = ""; + if (homePage != null) { + url = "
See " + homePage + ""; + } + out.write("

" + category + ": could not find class " + classname + + " from file " + jarFile + + "
" + errorText + + url + + "

"); + return 1; + } else { + String location = getLocation(out, clazz); + if (location == null) { + out.write("Found " + axisOperation + " (" + classname + ")
"); + } else { + out.write("Found " + axisOperation + " (" + classname + ")
  at " + location + "
"); + } + return 0; + } + } catch (NoClassDefFoundError ncdfe) { + String url = ""; + if (homePage != null) { + url = "
See " + homePage + ""; + } + out.write("

" + category + ": could not find a dependency" + + " of class " + classname + + " from file " + jarFile + + "
" + errorText + + url + + "
The root cause was: " + ncdfe.getMessage() + + "
This can happen e.g. if " + classname + " is in" + + " the 'common' classpath, but a dependency like " + + " activation.jar is only in the webapp classpath." + + "

"); + return 1; + } + } + + /** + * get the location of a class + * @param out + * @param clazz + * @return the jar file or path where a class was found + */ + + String getLocation(JspWriter out, + Class clazz) { + try { + java.net.URL url = clazz.getProtectionDomain().getCodeSource().getLocation(); + String location = url.toString(); + if (location.startsWith("jar")) { + url = ((java.net.JarURLConnection) url.openConnection()).getJarFileURL(); + location = url.toString(); + } + + if (location.startsWith("file")) { + java.io.File file = new java.io.File(url.getFile()); + return file.getAbsolutePath(); + } else { + return url.toString(); + } + } catch (Throwable t) { + } + return "an unknown location"; + } + + /** + * a class we need if a class is missing + * @param out stream to print stuff + * @param classname class to look for + * @param jarFile where this class comes from + * @param errorText extra error text + * @param homePage where to d/l the library + * @throws IOException when needed + * @return the number of missing libraries (0 or 1) + */ + int needClass(JspWriter out, + String classname, + String jarFile, + String axisOperation, + String errorText, + String homePage) throws IOException { + return probeClass(out, + "Error", + classname, + jarFile, + axisOperation, + errorText, + homePage); + } + + /** + * print warning message if a class is missing + * @param out stream to print stuff + * @param classname class to look for + * @param jarFile where this class comes from + * @param errorText extra error text + * @param homePage where to d/l the library + * @throws IOException when needed + * @return the number of missing libraries (0 or 1) + */ + int wantClass(JspWriter out, + String classname, + String jarFile, + String axisOperation, + String errorText, + String homePage) throws IOException { + return probeClass(out, + "Warning", + classname, + jarFile, + axisOperation, + errorText, + homePage); + } + + /** + * probe for a resource existing, + * @param out + * @param resource + * @param errorText + * @throws Exception + */ + int wantResource(JspWriter out, + String resource, + String errorText) throws Exception { + if (!resourceExists(resource)) { + out.write("

Warning: could not find resource " + resource + + "
" + + errorText); + return 0; + } else { + out.write("found " + resource + "
"); + return 1; + } + } + + + /** + * get servlet version string + * + */ + + public String getServletVersion() { + ServletContext context = getServletConfig().getServletContext(); + int major = context.getMajorVersion(); + int minor = context.getMinorVersion(); + return Integer.toString(major) + '.' + Integer.toString(minor); + } + + + /** + * what parser are we using. + * @return the classname of the parser + */ + private String getParserName() { + SAXParser saxParser = getSAXParser(); + if (saxParser == null) { + return "Could not create an XML Parser"; + } + + // check to what is in the classname + return saxParser.getClass().getName(); + } + + /** + * Create a JAXP SAXParser + * @return parser or null for trouble + */ + private SAXParser getSAXParser() { + SAXParserFactory saxParserFactory = SAXParserFactory.newInstance(); + if (saxParserFactory == null) { + return null; + } + SAXParser saxParser = null; + try { + saxParser = saxParserFactory.newSAXParser(); + } catch (Exception e) { + } + return saxParser; + } + + /** + * get the location of the parser + * @return path or null for trouble in tracking it down + */ + + private String getParserLocation(JspWriter out) { + SAXParser saxParser = getSAXParser(); + if (saxParser == null) { + return null; + } + return getLocation(out, saxParser.getClass()); + } + + private String value; + + private OMElement createEnvelope() { + OMFactory fac = OMAbstractFactory.getOMFactory(); + OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample", "ns1"); + OMElement method = fac.createOMElement("getVersion", omNs); + OMElement value = fac.createOMElement("myValue", omNs); + method.addChild(value); + return method; + } + + public boolean invokeTheService() { + try { + // since this one is an internal request we do not use public frontendHostUrl + // for it + int lastindex = IP.lastIndexOf('/'); + IP = IP.substring(0, lastindex); + ///axis2/axis2-web/services/version + IP = IP.replaceAll("axis2-web", ""); + + OMElement payload = createEnvelope(); + ConfigurationContext configctx = + ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, null); + ServiceClient client = new ServiceClient(configctx, null); + EndpointReference targetEPR = new EndpointReference(IP + configctx.getServicePath() + "/Version"); + Options options = new Options(); + client.setOptions(options); + options.setTo(targetEPR); + options.setTransportInProtocol(Constants.TRANSPORT_HTTP); + + OMElement result = client.sendReceive(payload); + StringWriter writer = new StringWriter(); + result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(writer)); + writer.flush(); + value = writer.toString(); + return true; + } catch (AxisFault axisFault) { + System.out.println(value); + return false; + } catch (XMLStreamException e) { + value = e.getMessage(); + return false; + } + } + + public String getFormatedSystemProperty(String systemProperty){ + if (systemProperty == null) + return ""; + return systemProperty.replaceAll(":", ": "); + } +%> + +

Axis2 Happiness Page

+ +

Examining webapp configuration

+ +
+ +

Essential Components

+ +<% + int needed = 0,wanted = 0; + + /** + * the essentials, without these Axis is not going to work + */ + needed = needClass(out, "org.apache.axis2.transport.http.AxisServlet", + "axis2-1.0.jar", + "Apache-Axis", + "Axis2 will not work", + "http://xml.apache.org/axis2/"); + needed += needClass(out, "org.apache.commons.logging.Log", + "commons-logging.jar", + "Jakarta-Commons Logging", + "Axis2 will not work", + "http://jakarta.apache.org/commons/logging.html"); + needed += needClass(out, "javax.xml.stream.XMLStreamReader", + "stax-api-1.0.1.jar", + "Streaming API for XML", + "Axis2 will not work", + "http://dist.codehaus.org/stax/jars/"); + needed += needClass(out, "org.codehaus.stax2.XMLStreamWriter2", + "wstx-asl-3.0.1.jar", + "Streaming API for XML implementation", + "Axis2 will not work", + "http://dist.codehaus.org/stax/jars/"); + +%> +<% + /* + * resources on the classpath path + */ + /* broken; this is a file, not a resource + wantResource(out,"/server-config.wsdd", + "There is no server configuration file;" + +"run AdminClient to create one"); + */ + /* add more libraries here */ + + //is everything we need here + if (needed == 0) { + //yes, be happy + out.write("

The core axis2 libraries are present.

"); + } else { + //no, be very unhappy + response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); + out.write("" + + needed + + " core axis2 librar" + + (needed == 1 ? "y is" : "ies are") + + " missing"); + } + //now look at wanted stuff +%> +

+ Note: Even if everything this page probes for is present, + there is no guarantee your Axis Service will work, because there are many configuration options + that we do not check for. These tests are necessary but not sufficient +

+
+

Examining Version Service

+<% + boolean serviceStatus = invokeTheService(); + if (serviceStatus) { +%> +
+ + Found Axis2 default Version service and Axis2 is working + properly. +

Now you can drop a service archive in axis2/WEB-INF/services. + Following output was produced while invoking Axis2 version service +

+

<%= value%>

+
+ +<% +} else { +%> +

+ There was a problem in Axis2 version service , may be + the service not available or some thing has gone wrong. But this does + not mean system is not working ! + Try to upload some other service and check to see whether it is + working. +
+
+

+ +<% + } +%> +

Examining Application Server

+
+ + + + + +
Servlet version<%=getServletVersion()%>
Platform<%=getServletConfig().getServletContext().getServerInfo()%>
+
+

Examining System Properties

+<% + /** + * Dump the system properties + */ + java.util.Enumeration e = null; + try { + e = System.getProperties().propertyNames(); + } catch (SecurityException se) { + } + if (e != null) { + out.write("
");
+        out.write("");
+        for (; e.hasMoreElements();) {
+            out.write("");
+            String key = (String) e.nextElement();
+            out.write("");
+            out.write("");
+            out.write("");
+        }
+        out.write("
" + key + "" + getFormatedSystemProperty(System.getProperty(key)) + " 
"); + out.write("

"); + } else { + out.write("System properties are not accessible

"); + } +%> + + + + + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/InActivateService.jsp b/project/AutoTestResultService/WebContent/axis2-web/InActivateService.jsp new file mode 100644 index 0000000..1d430cd --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/InActivateService.jsp @@ -0,0 +1,83 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisService, + java.util.Collection, + java.util.HashMap, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Deactivate Service

+
+ + + + + +<% +HashMap services = (HashMap)request.getSession().getAttribute(Constants.SERVICE_MAP); +Collection col = services.values(); +String html = ""; +int count = 0; + +for (Iterator iterator = col.iterator(); iterator.hasNext();) { + AxisService axisServices = (AxisService) iterator.next(); + if(axisServices.isActive()){ + count++; + html += ""; + } +} +request.getSession().setAttribute(Constants.SERVICE_MAP,null); +if (count > 0) { +%> + + + + + + + + + + + +<% +} else { + %> + + <% +} +%> + + +
+

Only the services that are active are listed below. Note that although you can activate a service from this page, once system is restarted the service will be active again

+
Select Service : + +
Deactivate Service +
  + + + No active services present.
+
+ diff --git a/project/AutoTestResultService/WebContent/axis2-web/LeftFrame.jsp b/project/AutoTestResultService/WebContent/axis2-web/LeftFrame.jsp new file mode 100644 index 0000000..9a4321e --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/LeftFrame.jsp @@ -0,0 +1,204 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.context.ConfigurationContext" %> +<%@ page import="org.apache.axis2.context.ServiceContext" %> +<%@ page import="org.apache.axis2.context.ServiceGroupContext" %> +<%@ page import="org.apache.axis2.deployment.util.PhasesInfo" %> +<%@ page import="org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.AxisServiceGroup" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.engine.Handler" %> +<%@ page import="org.apache.axis2.engine.Phase" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.ArrayList" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Tools +
+      + + Upload Service +
+ System Components         +
+      + + Available Services +
+      + + Available Service Groups +
+      + + Available Modules +
+      + + Globally Engaged Modules +
+      + + Available Phases +
+ Execution Chains +
+      + + Global Chains +
+      + + Operation Specific Chains +
+ Engage Module +
+      + + For all Services +
+      + + For a Service Group +
+      + + For a Service +
+      + + For an Operation +
+ Services +
+      + + Deactivate Service +
+      + + Activate Service +
+      + + Edit Parameters +
+ Contexts +
+      + + View Hierarchy +
diff --git a/project/AutoTestResultService/WebContent/axis2-web/ListServiceGroup.jsp b/project/AutoTestResultService/WebContent/axis2-web/ListServiceGroup.jsp new file mode 100644 index 0000000..7a7b3de --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/ListServiceGroup.jsp @@ -0,0 +1,67 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.AxisServiceGroup" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Available Service Groups

+<% + Iterator axisServiceGroupIter = (Iterator) request.getSession().getAttribute( + Constants.SERVICE_GROUP_MAP); + request.getSession().setAttribute(Constants.SERVICE_GROUP_MAP,null); + while (axisServiceGroupIter.hasNext()) { + AxisServiceGroup axisServiceGroup = (AxisServiceGroup) axisServiceGroupIter.next(); + String groupName = axisServiceGroup.getServiceGroupName(); + Collection modules = axisServiceGroup.getEngagedModules(); + Iterator axisServiceIter = axisServiceGroup.getServices(); +%> +

<%=groupName%>

    + <% + while (axisServiceIter.hasNext()){ + AxisService axisService = (AxisService) axisServiceIter.next(); + String serviceName = axisService.getName(); + %> +
  • + <%=serviceName%>
  • + <% + } + %> +
+<% + if (modules.size() > 0) { +%> +Engaged modules
    + <% + for (Iterator iterator = modules.iterator(); iterator.hasNext();) { + AxisModule axisOperation = (AxisModule) iterator.next(); + String modulDesc = axisOperation.getName(); + %> +
  • <%=modulDesc%>
  • + <% + } + %>
<% + } + } +%> + diff --git a/project/AutoTestResultService/WebContent/axis2-web/Login.jsp b/project/AutoTestResultService/WebContent/axis2-web/Login.jsp new file mode 100644 index 0000000..cb6cafc --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/Login.jsp @@ -0,0 +1,90 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + Login to Axis2 :: Administration page + + + + + + + + + + + +
+

Welcome :

+

Welcome to the Axis2 administration console. From inside the Axis2 administration console you can :

+
    +
  • Check on the health of your Axis2 deployment.
  • +
  • Change any parameters at run time.
  • +
  • Upload new services into Axis2 [Service hot-deployment].
  • +
+ Warning: Please note that configuration changes done through the administration console + will be lost when the server is restarted. +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+





+
+

Test

+ + + + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/MainFrame.jsp b/project/AutoTestResultService/WebContent/axis2-web/MainFrame.jsp new file mode 100644 index 0000000..be78c52 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/MainFrame.jsp @@ -0,0 +1,29 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + + + + + Axis2 Administration + + + + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/SelectService.jsp b/project/AutoTestResultService/WebContent/axis2-web/SelectService.jsp new file mode 100644 index 0000000..baaaa84 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/SelectService.jsp @@ -0,0 +1,79 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisService, + java.util.Collection, + java.util.HashMap, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + <% + String action =""; + String buttonName="" ; + String status = (String)request.getSession().getAttribute(Constants.SELECT_SERVICE_TYPE); + String heading = ""; + String disc = ""; + if(status != null && status.equals("MODULE")) { + action = "listOperations"; + buttonName = " View Operations"; + heading = "Select a service to view operation specific chains"; + disc = "Select an Axis service from the combo and click on the 'View Operations' button to view operation specific Chains."; + } else if(status != null && status.equals("VIEW")){ + buttonName = " View "; + action = "viewServiceHandlers"; + heading = "Select a service to view service handlers"; + disc = "Select an Axis service from the combo and click on the 'View' button to view service handlers."; + } else if (status != null && status.equals("SERVICE_PARAMETER")){ + buttonName = " Edit Parameters "; + action = "editServicePara"; // Constants.EDIR_SERVICE_PARA; + heading = "Select a Service to Edit Parameters"; + disc = "Select an Axis service from the combo and click on the 'Edit Parameters' button to edit parameters."; + } + %> +

<%=heading%>

+

<%=disc%>

+
+ + + + + + + + +
Select a Service : +
 
  + +
+
+ diff --git a/project/AutoTestResultService/WebContent/axis2-web/ServiceParaEdit.jsp b/project/AutoTestResultService/WebContent/axis2-web/ServiceParaEdit.jsp new file mode 100644 index 0000000..072726f --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/ServiceParaEdit.jsp @@ -0,0 +1,122 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation, + org.apache.axis2.description.AxisService, + org.apache.axis2.description.Parameter, + java.util.ArrayList, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Edit Service Parameters

+
+ <% + AxisService axisService = (AxisService)request.getSession(). + getAttribute(Constants.SERVICE); + if(axisService != null ){ + %> + + + + + + + + <% + ArrayList service_para = axisService.getParameters(); + for (int i = 0; i < service_para.size(); i++) { + Parameter parameter = (Parameter) service_para.get(i); + if (parameter.getParameterType()==Parameter.OM_PARAMETER) { + continue; + } + %> + + + + + <% + } + Iterator operations = axisService.getOperations(); + if(operations.hasNext()){ + %> + + + + + + + + <% + } + + ArrayList op_paras ; + operations = axisService.getOperations(); + while (operations.hasNext()) { + AxisOperation axisOperation = (AxisOperation) operations.next(); + String operationName = axisOperation.getName().getLocalPart(); + %> + + + + + + + <% + op_paras = axisOperation.getParameters(); + for (int i = 0; i < op_paras.size(); i++) { + Parameter parameter = (Parameter) op_paras.get(i); + if (parameter.getParameterType()==Parameter.OM_PARAMETER) { + continue; + } + %> + + + + + <% + } + } + %> + + + + +
+ <% + String servicName = axisService.getName(); + %>Service Parameters :: <%=servicName%> +
<%=parameter.getName()%>" size="50"> +
        
Operation Paramaters :: +
    
Operation : <%=operationName%>
<%=parameter.getName()%>" size="50"> +
  + +
+ <% + } else { + %> +

<%=request.getAttribute("status")%>

+ <% + } + + %> + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/TopFrame.jsp b/project/AutoTestResultService/WebContent/axis2-web/TopFrame.jsp new file mode 100644 index 0000000..881bf82 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/TopFrame.jsp @@ -0,0 +1,30 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + + + + + Untitled Document + + + + + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/ViewContexts.jsp b/project/AutoTestResultService/WebContent/axis2-web/ViewContexts.jsp new file mode 100644 index 0000000..962537c --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/ViewContexts.jsp @@ -0,0 +1,64 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants"%> +<%@ page import="org.apache.axis2.context.ConfigurationContext"%> +<%@ page import="org.apache.axis2.context.ServiceContext"%> +<%@ page import="org.apache.axis2.context.ServiceGroupContext"%> +<%@ page import="java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Running Context Hierarchy

+<% + ConfigurationContext configContext = (ConfigurationContext) request.getSession().getAttribute( + Constants.CONFIG_CONTEXT); + + String[] serviceGroupIds = configContext.getServiceGroupContextIDs(); + if (serviceGroupIds.length > 0) { +%> +
    + <% + + for (int i = 0; i < serviceGroupIds.length; i++) { + String groupContextID = serviceGroupIds[i]; + ServiceGroupContext groupContext = configContext.getServiceGroupContext(groupContextID); + %> +
  • <%=groupContextID%> + View + Remove
  • + <% + Iterator serviceContextItr = groupContext.getServiceContexts(); + %>
      <% + while (serviceContextItr.hasNext()) { + ServiceContext serviceContext = (ServiceContext)serviceContextItr.next(); + String serviceConID = serviceContext.getAxisService().getName(); + %> +
    • <%=serviceConID%> + View
    • + <% + } + %>

    <% + } + %>
+ <% + } else {%> +

No running contexts were found on the system.

+ <%} +%> + diff --git a/project/AutoTestResultService/WebContent/axis2-web/ViewGlobalHandlers.jsp b/project/AutoTestResultService/WebContent/axis2-web/ViewGlobalHandlers.jsp new file mode 100644 index 0000000..29e71ba --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/ViewGlobalHandlers.jsp @@ -0,0 +1,137 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.engine.AxisConfiguration, + org.apache.axis2.engine.Handler, + org.apache.axis2.engine.Phase, + java.util.List"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

View Global Execution Chains

+ <% + AxisConfiguration axisConfig = (AxisConfiguration)request.getSession(). + getAttribute(Constants.GLOBAL_HANDLERS); + if(axisConfig != null ){ + List handlers ; + List phases = axisConfig.getInFlowPhases(); + %> +

In Flow Up To and Including Dispatcher

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + phases = axisConfig.getInFaultFlowPhases(); + %> +

In Fault Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + + phases = axisConfig.getOutFlowPhases(); + %> +

Out Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + phases = axisConfig.getOutFaultFlowPhases(); + %> +

Out Fault Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + + } + %> + diff --git a/project/AutoTestResultService/WebContent/axis2-web/ViewServiceHandlers.jsp b/project/AutoTestResultService/WebContent/axis2-web/ViewServiceHandlers.jsp new file mode 100644 index 0000000..4979b7c --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/ViewServiceHandlers.jsp @@ -0,0 +1,147 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation, + org.apache.axis2.description.AxisService, + org.apache.axis2.engine.Handler, + org.apache.axis2.engine.Phase, + java.util.ArrayList, + java.util.List, + java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + +

View Operation Specific Chains

+ <% + AxisService axisService = (AxisService)request.getSession(). + getAttribute(Constants.SERVICE_HANDLERS); + if(axisService != null ){ + List handlers ; + Iterator operations = axisService.getOperations(); + while (operations.hasNext()) { + AxisOperation axisOperationon = (AxisOperation) operations.next(); + %>

Operation Name : <%=axisOperationon.getName().getLocalPart()%>

<% + ArrayList phases = axisOperationon.getRemainingPhasesInFlow(); + %> +

In Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + phases = axisOperationon.getPhasesInFaultFlow(); + %> +

In Fault Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + + phases = axisOperationon.getPhasesOutFlow(); + %> +

Out Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + phases = axisOperationon.getPhasesOutFaultFlow(); + %> +

Out Fault Flow

+
    + <% + for (int i = 0; i < phases.size(); i++) { + Phase phase = (Phase) phases.get(i); + %> +
  • Phase Name : <%=phase.getPhaseName()%>
  • +
      + <% + handlers = phase.getHandlers(); + for (int j = 0; j < handlers.size(); j++) { + Handler handler = (Handler) handlers.get(j); + %> +
    • Handler Name : <%=handler.getHandlerDesc().getName()%>
    • + <% + } + %> +
    + <% + } + %> +
+ <% + + } + } + + %> + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/admin.jsp b/project/AutoTestResultService/WebContent/axis2-web/admin.jsp new file mode 100644 index 0000000..6d8ee14 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/admin.jsp @@ -0,0 +1,31 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Welcome to Axis2 Web Admin Module !!

+

You are now logged into the Axis2 administration console from inside +the console you will be able to

+
    +
  • to check on the health of your Axis2 deployment.
  • +
  • to change any parameters at run time.
  • +
  • to upload new services into Axis2 [Service hot-deployment].
  • +
+ + diff --git a/project/AutoTestResultService/WebContent/axis2-web/css/axis-style.css b/project/AutoTestResultService/WebContent/axis2-web/css/axis-style.css new file mode 100644 index 0000000..62749e5 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/css/axis-style.css @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +BODY { + background-color : "#FFFFFF"; + leftmargin:"0"; + topmargin:"0"; + font-family:Arial; + font-size:11pt; +} +h1 { font-family: Arial; font-size: 16pt; font-weight: bold } +h2 { font-family: Arial; font-size: 13pt; font-weight: bold; color: #5D0D7D } +ul { font-family: Arial; font-size: 11pt } +input { font-family: Arial; font-size: 8pt; font-weight: bold } +td { font-family: Arial; font-size: 10pt } +h3 { font-family: Arial; font-size: 12pt; font-weight:bold } +TABLE.FULL_BLANK { + width : 100%; + height : 100%; + border : 0; + padding : 0; +} + +TABLE.LOG_IN_FORM{ + height: 200px%; + border:1px solid #000000; + width: 300px%; + cellspacing:1px; + cellpadding:1px; + background-color: #f7f7f7 ; +} + +UL.loginUL LI{ + padding: 10pt; +} \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/deleteService.jsp b/project/AutoTestResultService/WebContent/axis2-web/deleteService.jsp new file mode 100644 index 0000000..80120e0 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/deleteService.jsp @@ -0,0 +1,23 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

<%=request.getSession().getAttribute("status")%>

+

Click here to go to the service list page

+ \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/disengage.jsp b/project/AutoTestResultService/WebContent/axis2-web/disengage.jsp new file mode 100644 index 0000000..129bb76 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/disengage.jsp @@ -0,0 +1,22 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +<%=request.getSession().getAttribute("status")%> + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/engagingglobally.jsp b/project/AutoTestResultService/WebContent/axis2-web/engagingglobally.jsp new file mode 100644 index 0000000..829d2a4 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/engagingglobally.jsp @@ -0,0 +1,72 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + java.util.Collection, + java.util.HashMap, + java.util.Iterator" %> +<%@ page import="org.apache.axis2.util.Utils" %> + + +<% + String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS); +%> +

Engage Module Globally

+ +

To engage a module on all services across the system, select a module from the combo box below + and click on the "Engage" button. Any module that needs to place handlers into the pre-dispatch + phase needs to be engaged globally.

+ + + + + + + + + + +
Select a Module : + +
  + +
+ +<% + if (status != null) { +%> +

<%=Utils.sanitizeWebOutput(status)%>

+<% + } %> + diff --git a/project/AutoTestResultService/WebContent/axis2-web/engagingtoanoperation.jsp b/project/AutoTestResultService/WebContent/axis2-web/engagingtoanoperation.jsp new file mode 100644 index 0000000..b0b1210 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/engagingtoanoperation.jsp @@ -0,0 +1,126 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + org.apache.axis2.description.AxisOperation, + org.apache.axis2.util.Utils, + java.util.Collection, + java.util.HashMap, + java.util.Iterator"%> + +<% + String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS); +%> +

Engage Module for an Operation

+

To engage a module for an axis operation,

+
    +
  1. select the module you want to engage
  2. +
  3. select the axis operation you like the module to be engaged.
  4. +
  5. click "Engage".
  6. +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+   +   +
Select a Module :
+
+   +   +
Select an Operation :
+
+   +   +
+ +
+   +   +
+   +   +
+ +
+
+ diff --git a/project/AutoTestResultService/WebContent/axis2-web/engagingtoaservice.jsp b/project/AutoTestResultService/WebContent/axis2-web/engagingtoaservice.jsp new file mode 100644 index 0000000..457d06b --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/engagingtoaservice.jsp @@ -0,0 +1,144 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + org.apache.axis2.description.AxisService, + java.util.Collection, + java.util.HashMap, + java.util.Iterator" + %> +<%@ page import="org.apache.axis2.util.Utils" %> + +<% + String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS); +%> +

Engage Module for a Service

+ +

To engage a module for a axis service,

+ +
    +
  1. select the module you want to engage
  2. +
  3. select the axis service you like the module to be engaged.
  4. +
  5. click "Engage".
  6. +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+   +   +
Select a Module :
+
+   +   +
Select a Service :
+
+   +   +
+ +
+   +   +
+   +   +
+ +
+
+ + diff --git a/project/AutoTestResultService/WebContent/axis2-web/error.jsp b/project/AutoTestResultService/WebContent/axis2-web/error.jsp new file mode 100644 index 0000000..6850040 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/error.jsp @@ -0,0 +1,31 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@page isErrorPage="true" %> + + + + + + + + +
An error has occured!. Please check the details below
<%=exception.getMessage()%>
+ \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/errorModule.jsp b/project/AutoTestResultService/WebContent/axis2-web/errorModule.jsp new file mode 100644 index 0000000..e100e3a --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/errorModule.jsp @@ -0,0 +1,30 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + java.util.Hashtable"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + <% + Hashtable errornessModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP); + String moduleName = request.getParameter("moduleName"); + %>

The Module has deployment faults

<% + %><%=(String)errornessModules.get(moduleName) %><% + %> + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/globalModules.jsp b/project/AutoTestResultService/WebContent/axis2-web/globalModules.jsp new file mode 100644 index 0000000..4a414ca --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/globalModules.jsp @@ -0,0 +1,55 @@ + <%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> <%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + java.util.Collection, + java.util.Iterator"%> + <%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Globally Engaged Modules

+ <% + boolean foundModules = false; + boolean wroteUL = false; + String modulename = ""; + Collection moduleCol = (Collection) request.getSession().getAttribute(Constants.MODULE_MAP); + request.getSession().setAttribute(Constants.MODULE_MAP, null); + if (moduleCol != null && moduleCol.size() > 0) { + for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) { + AxisModule axisOperation = (AxisModule) iterator.next(); + modulename = axisOperation.getName(); + if (!wroteUL) { + wroteUL = true; + %> +
    +<% + } + %>
  • <%=modulename%>
  • +
    <% + } + if (wroteUL){ +%> +
+<% + } + } else{ + %> +

There are no modules engaged globally

+ <% + } + %> + diff --git a/project/AutoTestResultService/WebContent/axis2-web/images/asf-logo.gif b/project/AutoTestResultService/WebContent/axis2-web/images/asf-logo.gif new file mode 100644 index 0000000..b240328 Binary files /dev/null and b/project/AutoTestResultService/WebContent/axis2-web/images/asf-logo.gif differ diff --git a/project/AutoTestResultService/WebContent/axis2-web/images/axis.gif b/project/AutoTestResultService/WebContent/axis2-web/images/axis.gif new file mode 100644 index 0000000..e970c5b Binary files /dev/null and b/project/AutoTestResultService/WebContent/axis2-web/images/axis.gif differ diff --git a/project/AutoTestResultService/WebContent/axis2-web/images/axis.jpg b/project/AutoTestResultService/WebContent/axis2-web/images/axis.jpg new file mode 100644 index 0000000..47f9762 Binary files /dev/null and b/project/AutoTestResultService/WebContent/axis2-web/images/axis.jpg differ diff --git a/project/AutoTestResultService/WebContent/axis2-web/images/axis_l.jpg b/project/AutoTestResultService/WebContent/axis2-web/images/axis_l.jpg new file mode 100644 index 0000000..172a755 Binary files /dev/null and b/project/AutoTestResultService/WebContent/axis2-web/images/axis_l.jpg differ diff --git a/project/AutoTestResultService/WebContent/axis2-web/include/adminfooter.inc b/project/AutoTestResultService/WebContent/axis2-web/include/adminfooter.inc new file mode 100644 index 0000000..4d22571 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/include/adminfooter.inc @@ -0,0 +1,23 @@ + +
+ + + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/include/adminheader.inc b/project/AutoTestResultService/WebContent/axis2-web/include/adminheader.inc new file mode 100644 index 0000000..11d5e09 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/include/adminheader.inc @@ -0,0 +1,28 @@ + + + + + + + + + + +

Axis 2

.Log out
diff --git a/project/AutoTestResultService/WebContent/axis2-web/include/adminheader.jsp b/project/AutoTestResultService/WebContent/axis2-web/include/adminheader.jsp new file mode 100644 index 0000000..a687e82 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/include/adminheader.jsp @@ -0,0 +1,81 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.context.ConfigurationContext" %> +<%@ page import="org.apache.axis2.context.ServiceContext" %> +<%@ page import="org.apache.axis2.context.ServiceGroupContext" %> +<%@ page import="org.apache.axis2.deployment.util.PhasesInfo" %> +<%@ page import="org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.AxisServiceGroup" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.engine.Handler" %> +<%@ page import="org.apache.axis2.engine.Phase" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.ArrayList" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%-- +~ Licensed to the Apache Software Foundation (ASF) under one +~ or more contributor license agreements. See the NOTICE file +~ distributed with this work for additional information +~ regarding copyright ownership. The ASF licenses this file +~ to you 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. +--%> +<%@ page contentType="text/html;charset=iso-8859-1" language="java" %> + + + + + Axis2 :: Administration Page + + + + + + + + + + + + + + +
+ + + + + + +
Back  |  Log out
diff --git a/project/AutoTestResultService/WebContent/axis2-web/include/footer.inc b/project/AutoTestResultService/WebContent/axis2-web/include/footer.inc new file mode 100644 index 0000000..b60b945 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/include/footer.inc @@ -0,0 +1,37 @@ + +
+ + + + +
+ + + + + +

Copyright © 1999-2006, The Apache Software Foundation
Licensed under the Apache License, Version 2.0.
+
 
+
diff --git a/project/AutoTestResultService/WebContent/axis2-web/include/header.inc b/project/AutoTestResultService/WebContent/axis2-web/include/header.inc new file mode 100644 index 0000000..9d40f92 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/include/header.inc @@ -0,0 +1,29 @@ + +
+ + +
+ + + + + +
+
 
diff --git a/project/AutoTestResultService/WebContent/axis2-web/include/httpbase.jsp b/project/AutoTestResultService/WebContent/axis2-web/include/httpbase.jsp new file mode 100644 index 0000000..c840fe0 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/include/httpbase.jsp @@ -0,0 +1,71 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.context.ConfigurationContext" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.transport.http.AxisServlet" %> +<%@ page import="org.apache.axis2.transport.TransportListener" %> +<%! + private String frontendHostUrl; + private String hostname; + + public void jspInit() { + ServletContext context = this.getServletConfig().getServletContext(); + ConfigurationContext configctx = (ConfigurationContext) context.getAttribute(AxisServlet.CONFIGURATION_CONTEXT); + if (configctx != null) { + Parameter parameter = configctx.getAxisConfiguration().getParameter(Constants.HTTP_FRONTEND_HOST_URL); + if (parameter != null) { + frontendHostUrl = (String) parameter.getValue(); + } + Parameter hostnameParam = configctx.getAxisConfiguration().getParameter(TransportListener.HOST_ADDRESS); + if (hostnameParam != null) { + hostname = (String) hostnameParam.getValue(); + } + } + } + + public String calculateHttpBase(HttpServletRequest aRequest) { + StringBuffer stringBuffer = new StringBuffer(); + if (frontendHostUrl != null) { + stringBuffer.append(frontendHostUrl); + } else { + String scheme = aRequest.getScheme(); + stringBuffer.append(scheme); + stringBuffer.append("://"); + stringBuffer.append(hostname != null ? hostname : aRequest.getServerName()); + if (("http".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 80) || "https".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 443) { + stringBuffer.append(":"); + stringBuffer.append(aRequest.getServerPort()); + } + // I think i saw web containers return null for root web context + if (aRequest.getContextPath() != null) { + stringBuffer.append(aRequest.getContextPath()); + } + } + // append / char if needed + if (stringBuffer.charAt(stringBuffer.length() - 1) != '/') { + stringBuffer.append("/"); + } + String curentUrl = stringBuffer.toString(); + aRequest.setAttribute("frontendHostUrl", curentUrl); + return curentUrl; + } +%> + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/include/link-footer.inc b/project/AutoTestResultService/WebContent/axis2-web/include/link-footer.inc new file mode 100644 index 0000000..8778ce2 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/include/link-footer.inc @@ -0,0 +1,23 @@ + + + + + +
Back Home
\ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/include/link-footer.jsp b/project/AutoTestResultService/WebContent/axis2-web/include/link-footer.jsp new file mode 100644 index 0000000..766e01b --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/include/link-footer.jsp @@ -0,0 +1,69 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.AxisFault" %> +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.addressing.EndpointReference" %> +<%@ page import="org.apache.axis2.client.Options" %> +<%@ page import="org.apache.axis2.client.ServiceClient" %> +<%@ page import="org.apache.axis2.context.ConfigurationContext" %> +<%@ page import="org.apache.axis2.context.ConfigurationContextFactory" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="javax.xml.parsers.SAXParser" %> +<%@ page import="javax.xml.parsers.SAXParserFactory" %> +<%@ page import="java.io.IOException" %> +<%@ page import="java.io.InputStream" %> +<%@ page import="java.io.StringWriter" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%-- +~ Licensed to the Apache Software Foundation (ASF) under one +~ or more contributor license agreements. See the NOTICE file +~ distributed with this work for additional information +~ regarding copyright ownership. The ASF licenses this file +~ to you 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. +--%> + + + +
+ + + + +
Back Home  |   Refresh
+
 
diff --git a/project/AutoTestResultService/WebContent/axis2-web/index.jsp b/project/AutoTestResultService/WebContent/axis2-web/index.jsp new file mode 100644 index 0000000..67ed353 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/index.jsp @@ -0,0 +1,58 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + Axis 2 - Home + + + + + +
+ +

Welcome!

+ Welcome to the new generation of Axis. If you can see this page you have + successfully deployed the Axis2 Web Application. However, to ensure that Axis2 + is properly working, we encourage you to click on the validate link. +
+
    +
  • Services +
    + View the list of all the available services deployed in this server. +
  • +
  • Validate +
    + Check the system to see whether all the required libraries are in place + and view the system information. +
  • + <%--
  • Do an interop test +
    + You can run Interoperability tests here +
  • --%> +
  • Administration +
    + Console for administering this Axis2 installation. +
  • +
+ + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/listFaultyService.jsp b/project/AutoTestResultService/WebContent/axis2-web/listFaultyService.jsp new file mode 100644 index 0000000..fa31d03 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/listFaultyService.jsp @@ -0,0 +1,85 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation"%> +<%@ page import="org.apache.axis2.description.AxisService"%> +<%@ page import="java.util.Hashtable"%> +<%@ page import="java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + List Single service + + + + + + <% + String prifix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) +"services/"; + %> + <% + String isFault = (String)request.getSession().getAttribute(Constants.IS_FAULTY); + String servicName = request.getParameter("serviceName"); + if(Constants.IS_FAULTY.equals(isFault)){ + Hashtable errornessservices =(Hashtable)request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP); + %> +

This Web axisService has deployment faults

<% + %><%=(String)errornessservices.get(servicName) %> + <% + + }else { + + AxisService axisService = + (AxisService) request.getSession().getAttribute(Constants.SINGLE_SERVICE); + if(axisService!=null){ + Iterator opItr = axisService.getOperations(); + //operationsList = operations.values(); + String serviceName = axisService.getName(); + %>

<%=serviceName%>

+ Service EPR : <%=prifix + axisService.getName()%>
+

Service Description : <%=axisService.getServiceDescription()%>

+ Service Status : <%=axisService.isActive()?"Active":"InActive"%>
+ <% + if (opItr.hasNext()) { + %>Available operations<% + } else { + %> There are no Operations specified<% + } + opItr = axisService.getOperations(); + %>
    <% + while (opItr.hasNext()) { + AxisOperation axisOperation = (AxisOperation) opItr.next(); + %>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <% + } + %>
+ <% + } else{ + %> +

No services found in this location.

+ <% + } + + } + %> + + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/listGroupService.jsp b/project/AutoTestResultService/WebContent/axis2-web/listGroupService.jsp new file mode 100644 index 0000000..80038a7 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/listGroupService.jsp @@ -0,0 +1,104 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants" %> +<%@ page import="org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + List Services + + + + + +

Available services

+<% + String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) +"/"; +%> +<% + HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP); + request.getSession().setAttribute(Constants.SERVICE_MAP,null); + AxisService axisService = (AxisService) serviceMap.get(request.getParameter("serviceName")); + if (axisService != null) { + Iterator operations; + String serviceName; + operations = axisService.getOperations(); + serviceName = axisService.getName(); +%>
+ +

<%=serviceName%> +

+Service EPR :<%=prefix + axisService.getName()%> +

Service Description : <%=axisService.getServiceDescription()%>

+Service Status : <%=axisService.isActive() ? "Active" : "InActive"%>
+<% + Collection engagedModules = axisService.getEngagedModules(); + String moduleName; + if (engagedModules.size() > 0) { +%> +Engaged Modules for the Axis Service
    + <% + for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) { + AxisModule axisOperation = (AxisModule) iteratorm.next(); + moduleName = axisOperation.getName(); + %>
  • <%=moduleName%>
  • + <% + }%> +
+<% + } + if (operations.hasNext()) { +%>
Available operations<% +} else { +%> There are no operations specified<% + } +%>
    <% + operations = axisService.getOperations(); + while (operations.hasNext()) { + AxisOperation axisOperation = (AxisOperation) operations.next(); +%>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <% + engagedModules = axisOperation.getEngagedModules(); + if (engagedModules.size() > 0) { + %> +
    Engaged Modules for the Operation
      + <% + for (Iterator iterator2 = engagedModules.iterator(); iterator2.hasNext();) { + AxisModule moduleDecription = (AxisModule) iterator2.next(); + moduleName = moduleDecription.getName(); + %>
    • <%=moduleName%>

    • <% + } +%>
    <% + } + + } +%>
+<% + } +%> + + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/listModules.jsp b/project/AutoTestResultService/WebContent/axis2-web/listModules.jsp new file mode 100644 index 0000000..bd4ada6 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/listModules.jsp @@ -0,0 +1,81 @@ + <%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> <%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule, + java.util.Collection"%> + <%@ page import="java.util.Enumeration"%> + <%@ page import="java.util.HashMap"%> + <%@ page import="java.util.Hashtable"%> + <%@ page import="java.util.Iterator"%> + <%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Available Modules

+ <% + boolean foundModules = false; + boolean wroteUL = false; + HashMap moduleMap = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP); + request.getSession().setAttribute(Constants.MODULE_MAP,null); + Hashtable errornesModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP); + if (moduleMap!=null && !moduleMap.isEmpty()){ + String modulename ; + String moduleDescription ; + Collection moduleNames = moduleMap.values(); + for (Iterator iterator = moduleNames.iterator(); iterator.hasNext();) { + foundModules = true; + AxisModule moduleQName = (AxisModule) iterator.next(); + modulename = moduleQName.getName(); + moduleDescription = moduleQName.getModuleDescription(); + if(moduleDescription==null){ + moduleDescription = "[ -- No module description found --]"; + } + if (!wroteUL){ + wroteUL = true; +%> +
    +<% + } + %>
  • <%=modulename%> : <%=moduleDescription%>
  • + <% + } + if (wroteUL){ +%> +
+<% + } + } + %> + <%if(errornesModules.size()>0){ + %> +

Faulty Modules

+ <% + Enumeration faultyModules = errornesModules.keys(); + while (faultyModules.hasMoreElements()) { + foundModules = true; + String faultyModuleName = (String) faultyModules.nextElement(); + %> + <%=faultyModuleName%> + <% + } + } + if(! foundModules) { + %> +

There are no modules deployed in the system.

+ <% + } + %> + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/listService.jsp b/project/AutoTestResultService/WebContent/axis2-web/listService.jsp new file mode 100644 index 0000000..2ff1cb6 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/listService.jsp @@ -0,0 +1,158 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisModule" %> +<%@ page import="org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + +

Available Services

+<% String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/"; +%> +<% + HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP); + request.getSession().setAttribute(Constants.SERVICE_MAP, null); + Hashtable errornessservice = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP); + boolean status = false; + if (serviceMap != null && !serviceMap.isEmpty()) { + Iterator operations; + String serviceName; + Collection servicecol = serviceMap.values(); + for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) { + AxisService axisService = (AxisService) iterator.next(); + operations = axisService.getOperations(); + serviceName = axisService.getName(); +%>

<%=serviceName%>

+<% + // do we need to enable REST in the main servlet so that it handles both REST and SOAP messages + boolean disableREST = false; + AxisConfiguration axisConfiguration = axisService.getAxisConfiguration(); + + Parameter parameter ; + + // do we need to completely disable REST support + parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST); + if (parameter != null) { + disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue()); + } + if (!disableREST) { +%> + +<% +%> +<% + } + + + String serviceDescription = axisService.getServiceDescription(); + if (serviceDescription == null || "".equals(serviceDescription)) { + serviceDescription = "No description available for this service"; + } +%> +

Service Description : <%=serviceDescription%>
+Service EPR : <%=prefix + axisService.getName()%>
+Service Status : <%=axisService.isActive() ? "Active" : "InActive"%> +Actions : Remove Service


+<% + Collection engagedModules = axisService.getEngagedModules(); + String moduleName; + boolean modules_present = false; + if (engagedModules.size() > 0) { +%> +Engaged modules for the service +<% + for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();) { + AxisModule axisOperation = (AxisModule) iteratorm.next(); + moduleName = axisOperation.getName(); + if (!modules_present) { + modules_present = true; +%> +
    + <% } + %>
  • <%=moduleName%> :: Disengage
  • +
    + <% + } + if (modules_present) {%> +
+<% + } + } + if (operations.hasNext()) { +%>
Available operations<% +} else { +%> There are no Operations specified<% + } +%>
    <% + operations = axisService.getOperations(); + while (operations.hasNext()) { + AxisOperation axisOperation = (AxisOperation) operations.next(); +%>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <%--
    Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%> + <% + engagedModules = axisOperation.getEngagedModules(); + if (engagedModules.size() > 0) { + %> +
    Engaged Modules for the Operation
      + <% + for (Iterator iterator2 = engagedModules.iterator(); iterator2.hasNext();) { + AxisModule moduleDecription = (AxisModule) iterator2.next(); + moduleName = moduleDecription.getName(); + %>
    • <%=moduleName%> :: Disengage

    • <% + } +%>
    <% + } + + } +%>
+<% + status = true; + } + } + if (errornessservice != null) { + if (errornessservice.size() > 0) { + request.getSession().setAttribute(Constants.IS_FAULTY, Constants.IS_FAULTY); +%> +

Faulty Services

+<% + Enumeration faultyservices = errornessservice.keys(); + while (faultyservices.hasMoreElements()) { + String faultyserviceName = (String) faultyservices.nextElement(); +%>

+ <%=faultyserviceName%>

+<% + } + } + status = true; + } + if (!status) { +%> No services listed! Try hitting refresh. <% + } +%> + diff --git a/project/AutoTestResultService/WebContent/axis2-web/listServices.jsp b/project/AutoTestResultService/WebContent/axis2-web/listServices.jsp new file mode 100644 index 0000000..68129f0 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/listServices.jsp @@ -0,0 +1,131 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + +List Services + + + + + + +

Available services

+<% String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/"; +%> +<% + HashMap serviceMap = (HashMap) request.getSession().getAttribute(Constants.SERVICE_MAP); + request.getSession().setAttribute(Constants.SERVICE_MAP, null); + Hashtable errornessservice = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP); + boolean status = false; + if (serviceMap != null && !serviceMap.isEmpty()) { + Iterator opItr; + //HashMap operations; + String serviceName; + Collection servicecol = serviceMap.values(); + // Collection operationsList; + for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) { + AxisService axisService = (AxisService) iterator.next(); + opItr = axisService.getOperations(); + //operationsList = operations.values(); + serviceName = axisService.getName(); +%>

<%=serviceName%>

+<% + boolean disableREST = false; + AxisConfiguration axisConfiguration = axisService.getAxisConfiguration(); + + Parameter parameter ; + + // do we need to completely disable REST support + parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST); + if (parameter != null) { + disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue()); + } + + if (!disableREST ) { + +%> +<% + } + + + String serviceDescription = axisService.getServiceDescription(); + if (serviceDescription == null || "".equals(serviceDescription)) { + serviceDescription = "No description available for this service"; + } +%> +
Service Description : <%=serviceDescription%>
+
Service EPR : <%=prefix + axisService.getName()%>
+
Service Status : <%=axisService.isActive() ? "Active" : "InActive"%>

+<% + if (opItr.hasNext()) { +%>Available Operations<% +} else { +%> There are no Operations specified<% + } + opItr = axisService.getOperations(); +%>
    <% + while (opItr.hasNext()) { + AxisOperation axisOperation = (AxisOperation) opItr.next(); +%>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <%--
    Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%> + <% + } + %>
+<% + status = true; + } + } + if (errornessservice != null) { + if (errornessservice.size() > 0) { + request.getSession().setAttribute(Constants.IS_FAULTY, Constants.IS_FAULTY); +%> +
+ +

Faulty Services

+<% + Enumeration faultyservices = errornessservice.keys(); + while (faultyservices.hasMoreElements()) { + String faultyserviceName = (String) faultyservices.nextElement(); +%>

+ <%=faultyserviceName%>

+<% + } + } + status = true; + } + if (!status) { +%> No services listed! Try hitting refresh. <% + } +%> + + + diff --git a/project/AutoTestResultService/WebContent/axis2-web/listSingleService.jsp b/project/AutoTestResultService/WebContent/axis2-web/listSingleService.jsp new file mode 100644 index 0000000..243114d --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/listSingleService.jsp @@ -0,0 +1,103 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.Constants, + org.apache.axis2.description.AxisOperation" %> +<%@ page import="org.apache.axis2.description.AxisService" %> +<%@ page import="org.apache.axis2.description.Parameter" %> +<%@ page import="org.apache.axis2.engine.AxisConfiguration" %> +<%@ page import="org.apache.axis2.util.JavaUtils" %> +<%@ page import="java.util.Hashtable" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

List Single Service

+<% + String prefix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH) + "/"; +%> +<% + String isFault = (String) request.getSession().getAttribute(Constants.IS_FAULTY); + String servicName = request.getParameter("serviceName"); + if (Constants.IS_FAULTY.equals(isFault)) { + Hashtable errornessservices = (Hashtable) request.getSession().getAttribute(Constants.ERROR_SERVICE_MAP); +%> +

This Axis service has deployment faults.

<% +%><%=(String) errornessservices.get(servicName) %> +<% + +} else { + + AxisService axisService = + (AxisService) request.getSession().getAttribute(Constants.SINGLE_SERVICE); + if (axisService != null) { + Iterator opItr = axisService.getOperations(); + //operationsList = operations.values(); + String serviceName = axisService.getName(); +%>

<%=serviceName%>

+Service EPR : <%=prefix + axisService.getName()%>
+<% + boolean disableREST = false; + AxisConfiguration axisConfiguration = axisService.getAxisConfiguration(); + + Parameter parameter; + + // do we need to completely disable REST support + parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST); + if (parameter != null) { + disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue()); + } + if (!disableREST ) { +%> +<% + } + + + String serviceDescription = axisService.getServiceDescription(); + if (serviceDescription == null || "".equals(serviceDescription)) { + serviceDescription = "No description available for this service"; + } +%> +

Service Description : <%=serviceDescription%>

+ +Service Status : <%=axisService.isActive() ? "Active" : "InActive"%>
+<% + if (opItr.hasNext()) { +%>Available operations<% +} else { +%> There are no Operations specified<% + } + opItr = axisService.getOperations(); +%>
    <% + while (opItr.hasNext()) { + AxisOperation axisOperation = (AxisOperation) opItr.next(); +%>
  • <%=axisOperation.getName().getLocalPart()%>
  • + <%--
    Operation EPR : <%=prifix + axisService.getName().getLocalPart() + "/"+ axisOperation.getName().getLocalPart()%>--%> + <% + } + %>
+<% +} else { +%> +

No services found in this location

+<% + } + + } +%> + diff --git a/project/AutoTestResultService/WebContent/axis2-web/upload.jsp b/project/AutoTestResultService/WebContent/axis2-web/upload.jsp new file mode 100644 index 0000000..0162225 --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/upload.jsp @@ -0,0 +1,69 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + +

Upload an Axis Service Archive File

+ +

You can upload a packaged Axis2 service from this page in two small steps.

+
    +
  • Browse to the location and select the axis service archive file you wish to upload
  • +
  • Click "Upload" button
  • +
+

Simple as that!

+ +<% if ("success".equals(request.getAttribute("status"))) { %> +File <%= request.getAttribute("filename") %> successfully uploaded

+<% +} else if ("failure".equals(request.getAttribute("status"))) { +%> +The following error occurred
<%= request.getAttribute("cause") %>

+<% } %> + +
+ + + + + + + + + +
Service archive :
 
+
+
+

Hot deployment of new service archives is <%=request.getAttribute("hotDeployment") %>

+

Hot update of existing service archives is <%=request.getAttribute("hotUpdate") %>

+
+ diff --git a/project/AutoTestResultService/WebContent/axis2-web/viewServiceContext.jsp b/project/AutoTestResultService/WebContent/axis2-web/viewServiceContext.jsp new file mode 100644 index 0000000..44ab8fa --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/viewServiceContext.jsp @@ -0,0 +1,50 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.context.ServiceContext" %> +<%@ page import="java.util.Iterator" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Running Context Hierarchy

+<% + ServiceContext serviceContext = (ServiceContext) request.getSession().getAttribute("ServiceContext"); + String type = (String) request.getSession().getAttribute("TYPE"); + if (serviceContext != null) { + if (type != null) { + if ("VIEW".equals(type)) { + Iterator propertyNames = serviceContext.getPropertyNames(); +%> +

Persistance Properties

    + <% + while (propertyNames.hasNext()) { + String key = (String) propertyNames.next(); + Object property = serviceContext.getProperty(key); + %> +
  • <%=key%> : <%=property.toString()%>
  • + <% + } + %>
+<% + } +} else { +%>

No Service Context Found

<% + } + } +%> + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/viewServiceGroupContext.jsp b/project/AutoTestResultService/WebContent/axis2-web/viewServiceGroupContext.jsp new file mode 100644 index 0000000..27ca86c --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/viewServiceGroupContext.jsp @@ -0,0 +1,55 @@ +<%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> + +<%@ page import="org.apache.axis2.context.ConfigurationContext"%> +<%@ page import="org.apache.axis2.context.ServiceGroupContext"%> +<%@ page import="java.util.Iterator"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Runing Context hierachy

+<% + String type = (String) request.getSession().getAttribute("TYPE"); + ConfigurationContext configCtx = (ConfigurationContext) request.getSession().getAttribute("ConfigurationContext"); + ServiceGroupContext sgContext = (ServiceGroupContext) request.getSession().getAttribute("ServiceGroupContext"); + if (sgContext != null) { + if (type != null) { + if ("VIEW".equals(type)) { + Iterator propertyNames = sgContext.getPropertyNames(); +%> +

Persistance properties

    + <% + while (propertyNames.hasNext()) { + String key = (String) propertyNames.next(); + Object property = sgContext.getProperty(key); + %> +
  • <%=key%> : <%=property.toString()%>
  • + <% + } + %>
+ <% + } else if("DELETE".equals(type)){ + configCtx.removeServiceGroupContext(sgContext.getId()); + %>Removed the context<% + } + } + } else { +%>

No service group context found

<% + } +%> + \ No newline at end of file diff --git a/project/AutoTestResultService/WebContent/axis2-web/viewphases.jsp b/project/AutoTestResultService/WebContent/axis2-web/viewphases.jsp new file mode 100644 index 0000000..8c7db9c --- /dev/null +++ b/project/AutoTestResultService/WebContent/axis2-web/viewphases.jsp @@ -0,0 +1,111 @@ + <%-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you 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. + --%> <%@ page import="org.apache.axis2.Constants, + org.apache.axis2.deployment.util.PhasesInfo, + org.apache.axis2.engine.Phase"%> + <%@ page import="java.util.List"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + +

Available Phases

+ <% + PhasesInfo phases = (PhasesInfo)request.getSession().getAttribute(Constants.PHASE_LIST); + request.getSession().setAttribute(Constants.PHASE_LIST,null); + List tempList = phases.getGlobalInflow(); + %>

System Pre-defined Phases

+ InFlow Up to Dispatcher +
+ <% + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ InFaultFlow +
+ <% + tempList = phases.getGlobalInFaultPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ OutFlow +
+ <% + tempList = phases.getGlobalOutPhaseList(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ OutFaultFlow +
+ <% + tempList = phases.getOUT_FaultPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+
+

User Defined Phases

+ Inflow after Dispatcher +
+ <% + tempList = phases.getOperationInPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ InFaultFlow after Dispatcher +
+ <% + tempList = phases.getOperationInFaultPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ OutFlow +
+ <% + tempList = phases.getOperationOutPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ OutFaultFlow +
+ <% + tempList = phases.getOperationOutFaultPhases(); + for (int i = 0; i < tempList.size(); i++) { + Phase phase = (Phase) tempList.get(i); + %><%=phase.getPhaseName()%>
<% + } + %> +
+ diff --git a/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorData.class b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorData.class new file mode 100644 index 0000000..941d4fa Binary files /dev/null and b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorData.class differ diff --git a/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorFilter.class b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorFilter.class new file mode 100644 index 0000000..5d94bd2 Binary files /dev/null and b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorFilter.class differ diff --git a/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorPage.class b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorPage.class new file mode 100644 index 0000000..56c2fde Binary files /dev/null and b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorPage.class differ diff --git a/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTableModel.class b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTableModel.class new file mode 100644 index 0000000..069e2f6 Binary files /dev/null and b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTableModel.class differ diff --git a/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTextArea.class b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTextArea.class new file mode 100644 index 0000000..92ce867 Binary files /dev/null and b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTextArea.class differ diff --git a/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$ServiceFilterPanel.class b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$ServiceFilterPanel.class new file mode 100644 index 0000000..68a36c7 Binary files /dev/null and b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$ServiceFilterPanel.class differ diff --git a/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet.class b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet.class new file mode 100644 index 0000000..6ea7eeb Binary files /dev/null and b/project/AutoTestResultService/WebContent/org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/AutoTestResultsService.class b/project/AutoTestResultService/build/classes/com/qaportal/AutoTestResultsService.class new file mode 100644 index 0000000..41da318 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/AutoTestResultsService.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/DataServiceFaultException.class b/project/AutoTestResultService/build/classes/com/qaportal/DataServiceFaultException.class new file mode 100644 index 0000000..1d61dcb Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/DataServiceFaultException.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.class new file mode 100644 index 0000000..200d248 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$1.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$1.class new file mode 100644 index 0000000..7bca91f Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$1.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..bdd411a Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..6c66273 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..cbd3e56 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault.class new file mode 100644 index 0000000..781760d Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$ExtensionMapper.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$ExtensionMapper.class new file mode 100644 index 0000000..8e5a7f0 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases$Factory.class new file mode 100644 index 0000000..51de0b2 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases.class new file mode 100644 index 0000000..e4a3d3c Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$GetTestCases.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..0e0c796 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS.class new file mode 100644 index 0000000..b0e095a Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE$Factory.class new file mode 100644 index 0000000..295b814 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE.class new file mode 100644 index 0000000..199ef7d Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection$Factory.class new file mode 100644 index 0000000..712b981 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection.class new file mode 100644 index 0000000..24eeed3 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_Collection.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE$Factory.class new file mode 100644 index 0000000..3240f81 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE.class new file mode 100644 index 0000000..8e59704 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub$WSO2_QAP_TEST_CASE_CollectionE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.class b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.class new file mode 100644 index 0000000..ace95e7 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultCallbackHandler.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultCallbackHandler.class new file mode 100644 index 0000000..12c5af7 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultCallbackHandler.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..6d35617 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..1d52ef7 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..381b4d9 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault.class new file mode 100644 index 0000000..b696b2b Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$ExtensionMapper.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$ExtensionMapper.class new file mode 100644 index 0000000..2ea569b Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult$Factory.class new file mode 100644 index 0000000..06fced0 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult.class new file mode 100644 index 0000000..5d7703a Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$InsertBuildMappingTestResult.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..2e48816 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS.class new file mode 100644 index 0000000..0e70eb2 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub.class new file mode 100644 index 0000000..b3511b8 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertBuildMappingTestResultStub.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultCallbackHandler.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultCallbackHandler.class new file mode 100644 index 0000000..0552011 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultCallbackHandler.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$1.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$1.class new file mode 100644 index 0000000..827c40f Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$1.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..d0e8ffa Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..49b95e3 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DataServiceFault$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..cb5a500 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DataServiceFault.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DataServiceFault.class new file mode 100644 index 0000000..49ed4da Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$Entry$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$Entry$Factory.class new file mode 100644 index 0000000..74e567a Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$Entry$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$Entry.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$Entry.class new file mode 100644 index 0000000..bcbf494 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$Entry.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$ExtensionMapper.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$ExtensionMapper.class new file mode 100644 index 0000000..9cd3fb5 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeys$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeys$Factory.class new file mode 100644 index 0000000..5275651 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeys$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeys.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeys.class new file mode 100644 index 0000000..1bd206f Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeys.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeysE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeysE$Factory.class new file mode 100644 index 0000000..9188fcf Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeysE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeysE.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeysE.class new file mode 100644 index 0000000..eaf143f Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$GeneratedKeysE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$InsertTestResult$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$InsertTestResult$Factory.class new file mode 100644 index 0000000..134b641 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$InsertTestResult$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$InsertTestResult.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$InsertTestResult.class new file mode 100644 index 0000000..8a1c3d8 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$InsertTestResult.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..5fa7b78 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$REQUEST_STATUS.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$REQUEST_STATUS.class new file mode 100644 index 0000000..f05198c Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub.class b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub.class new file mode 100644 index 0000000..f5dff3a Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/InsertTestResultStub.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingCallbackHandler.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingCallbackHandler.class new file mode 100644 index 0000000..76e10df Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingCallbackHandler.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$1.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$1.class new file mode 100644 index 0000000..cdb9a7d Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$1.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..8120946 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..a524e4c Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..071d597 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault.class new file mode 100644 index 0000000..37a5ee8 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$ExtensionMapper.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$ExtensionMapper.class new file mode 100644 index 0000000..e16722a Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping$Factory.class new file mode 100644 index 0000000..5f511f8 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping.class new file mode 100644 index 0000000..dc7df27 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$GetTestCaseTestResultMapping.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..a62d197 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS.class new file mode 100644 index 0000000..657b7f0 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID$Factory.class new file mode 100644 index 0000000..393f911 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID.class new file mode 100644 index 0000000..2ad4d3f Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection$Factory.class new file mode 100644 index 0000000..462dd94 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection.class new file mode 100644 index 0000000..e31e8a9 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_Collection.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE$Factory.class new file mode 100644 index 0000000..db3c61b Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE.class new file mode 100644 index 0000000..604bb33 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub$WSO2_QAP_TEST_RESULT_ID_CollectionE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub.class b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub.class new file mode 100644 index 0000000..bcd373f Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/TestCaseTestResultMappingStub.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceCallbackHandler.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceCallbackHandler.class new file mode 100644 index 0000000..5fd4ab6 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceCallbackHandler.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class new file mode 100644 index 0000000..61f1d42 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE.class new file mode 100644 index 0000000..bee8f0d Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DATA_SERVICE_RESPONSE.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DataServiceFault$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DataServiceFault$Factory.class new file mode 100644 index 0000000..14aa55f Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DataServiceFault$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DataServiceFault.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DataServiceFault.class new file mode 100644 index 0000000..2a2266e Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$DataServiceFault.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$ExtensionMapper.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$ExtensionMapper.class new file mode 100644 index 0000000..62a2cf1 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$ExtensionMapper.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS$Factory.class new file mode 100644 index 0000000..52e7e8b Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS.class new file mode 100644 index 0000000..5ef99c9 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$REQUEST_STATUS.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$UpdateTestResult$Factory.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$UpdateTestResult$Factory.class new file mode 100644 index 0000000..074ed54 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$UpdateTestResult$Factory.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$UpdateTestResult.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$UpdateTestResult.class new file mode 100644 index 0000000..9eea842 Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub$UpdateTestResult.class differ diff --git a/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub.class b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub.class new file mode 100644 index 0000000..30524cd Binary files /dev/null and b/project/AutoTestResultService/build/classes/com/qaportal/UpdateResultsServiceStub.class differ diff --git a/project/AutoTestResultService/src/com/qaportal/AutoTestResultsService.java b/project/AutoTestResultService/src/com/qaportal/AutoTestResultsService.java new file mode 100644 index 0000000..b13d362 --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/AutoTestResultsService.java @@ -0,0 +1,134 @@ +package com.qaportal; + +import java.util.List; +import java.util.ArrayList; + +public class AutoTestResultsService { +private String testClassName; +private String buildN; +private int[] testCaseIds; +private int[] testResultIds; +private int autoResult; +private String status; + +/* + * In: className(class name + method name), buildName(the name of the build), result(auto test result) + * Out: status(whether the auto results were integrated to the database or not) + */ +public String setResult(String className, String buildName,int result) +{ + testClassName=className; + buildN=buildName; + autoResult=result; + try + { + /* + * invokes the GetTestcasesforAutoTestResultsService, + * gets the test case IDs which are affected by the auto bed results. + */ + GetTestcasesforAutoTestResultsServiceStub testcasesStub = new GetTestcasesforAutoTestResultsServiceStub(); + GetTestcasesforAutoTestResultsServiceStub.GetTestCases testcasesRequest = new GetTestcasesforAutoTestResultsServiceStub.GetTestCases(); + + testcasesRequest.setWSO2_QAP_AUTO_TEST_CLASS_NAME(testClassName); + testcasesRequest.setWSO2_QAP_BUILD_NAME(buildN); + + + GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE testCaseResponse = testcasesStub.getTestCases(testcasesRequest); + GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_Collection testCaseCollection = testCaseResponse.getWSO2_QAP_TEST_CASE_Collection(); + + /* + * if the GetTestcasesforAutoTestResultsService returns no test cases, + * the service returns a FAIL. + * the auto test result data passed is either incorrect or the test case data the auto test result belongs to have been removed from DB. + */ + if(testCaseCollection.getWSO2_QAP_TEST_CASE()==null) + { + status ="FAIL"; + + } + else + { + GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE[] testcasesArray = testCaseCollection.getWSO2_QAP_TEST_CASE(); + + testCaseIds = new int[testcasesArray.length]; + for (int i=0; i < testCaseIds.length; i++) + { + testCaseIds[i] = Integer.parseInt(testcasesArray[i].getWSO2_QAP_TEST_CASE_ID()); + } + + /* + * the test result ids for the test cases are found using the TestCaseTestResultMapping service + * if the service returns no test result ids, new test results are entered, if not appropriate test results are updated. + */ + TestCaseTestResultMappingStub testResultStub = new TestCaseTestResultMappingStub(); + TestCaseTestResultMappingStub.GetTestCaseTestResultMapping testResultRequest = new TestCaseTestResultMappingStub.GetTestCaseTestResultMapping(); + + testResultRequest.setWSO2_QAP_TEST_CASE_ID(testCaseIds); + testResultRequest.setWSO2_QAP_BUILD_NAME(buildN); + + TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE testResultResponse = testResultStub.getTestCaseTestResultMapping(testResultRequest); + TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_Collection testResultCollection = testResultResponse.getWSO2_QAP_TEST_RESULT_ID_Collection(); + TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID[] testResultArray = testResultCollection.getWSO2_QAP_TEST_RESULT_ID(); + + if(testResultArray.length==0) + { + + + //inserting test results for each test case id. + for(int testcase : testCaseIds) + { + InsertTestResultStub insertResultStub = new InsertTestResultStub(); + InsertTestResultStub.InsertTestResult insertResultRequest = new InsertTestResultStub.InsertTestResult(); + + insertResultRequest.setWSO2_QAP_TEST_CASE_ID(testcase); + insertResultRequest.setWSO2_QAP_AUTOMATION_TEST_RESULT(autoResult); + + InsertTestResultStub.GeneratedKeysE insertResponse = insertResultStub.insertTestResult(insertResultRequest); + InsertTestResultStub.GeneratedKeys generatedKey = insertResponse.getGeneratedKeys(); + InsertTestResultStub.Entry[] entry = generatedKey.getEntry(); + + InsertBuildMappingTestResultStub buildMapstub = new InsertBuildMappingTestResultStub(); + InsertBuildMappingTestResultStub.InsertBuildMappingTestResult buildMapRequest = new InsertBuildMappingTestResultStub.InsertBuildMappingTestResult(); + + buildMapRequest.setWSO2_QAP_BUILD_NAME(buildN); + buildMapRequest.setWSO2_QAP_TEST_RESULT_ID(entry[0].getID().intValue()); + + buildMapstub.insertBuildMappingTestResult(buildMapRequest); + } + + status ="PASS"; + } + else + { + testResultIds = new int[testResultArray.length]; + for (int i=0; i < testResultIds.length; i++) + { + + testResultIds[i] = testResultArray[i].getWSO2_QAP_TEST_RESULT_ID().intValue(); + } + + //updating the appropriate test results. + UpdateResultsServiceStub updateStub = new UpdateResultsServiceStub(); + UpdateResultsServiceStub.UpdateTestResult updateRequest = new UpdateResultsServiceStub.UpdateTestResult(); + + updateRequest.setWSO2_QAP_TEST_RESULT_ID(testResultIds); + updateRequest.setWSO2_QAP_AUTOMATION_TEST_RESULT(autoResult); + + updateStub.updateTestResult(updateRequest); + + status="PASS"; + } + + } + + + } + catch(Exception ex) + { + status="FAIL:EXCEPTION"; + ex.printStackTrace(); + } + + return status; +} +} diff --git a/project/AutoTestResultService/src/com/qaportal/DataServiceFaultException.java b/project/AutoTestResultService/src/com/qaportal/DataServiceFaultException.java new file mode 100644 index 0000000..bc9156a --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/DataServiceFaultException.java @@ -0,0 +1,43 @@ + +/** + * DataServiceFaultException.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + +package com.qaportal; + +public class DataServiceFaultException extends java.lang.Exception{ + + private static final long serialVersionUID = 1397528480810L; + + private com.qaportal.GetTestcasesforAutoTestResultsServiceStub.DataServiceFault faultMessage; + + + public DataServiceFaultException() { + super("DataServiceFaultException"); + } + + public DataServiceFaultException(java.lang.String s) { + super(s); + } + + public DataServiceFaultException(java.lang.String s, java.lang.Throwable ex) { + super(s, ex); + } + + public DataServiceFaultException(java.lang.Throwable cause) { + super(cause); + } + + + public void setFaultMessage(com.qaportal.GetTestcasesforAutoTestResultsServiceStub.DataServiceFault msg){ + faultMessage = msg; + } + + public com.qaportal.GetTestcasesforAutoTestResultsServiceStub.DataServiceFault getFaultMessage(){ + return faultMessage; + } +} + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.java b/project/AutoTestResultService/src/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.java new file mode 100644 index 0000000..26d1311 --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/GetTestcasesforAutoTestResultsServiceCallbackHandler.java @@ -0,0 +1,66 @@ + +/** + * GetTestcasesforAutoTestResultsServiceCallbackHandler.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + + package com.qaportal; + + /** + * GetTestcasesforAutoTestResultsServiceCallbackHandler Callback class, Users can extend this class and implement + * their own receiveResult and receiveError methods. + */ + public abstract class GetTestcasesforAutoTestResultsServiceCallbackHandler{ + + + + protected Object clientData; + + /** + * User can pass in any object that needs to be accessed once the NonBlocking + * Web service call is finished and appropriate method of this CallBack is called. + * @param clientData Object mechanism by which the user can pass in user data + * that will be avilable at the time this callback is called. + */ + public GetTestcasesforAutoTestResultsServiceCallbackHandler(Object clientData){ + this.clientData = clientData; + } + + /** + * Please use this constructor if you don't want to set any clientData + */ + public GetTestcasesforAutoTestResultsServiceCallbackHandler(){ + this.clientData = null; + } + + /** + * Get the client data + */ + + public Object getClientData() { + return clientData; + } + + + /** + * auto generated Axis2 call back method for getTestCases method + * override this method for handling normal response from getTestCases operation + */ + public void receiveResultgetTestCases( + com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE result + ) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from getTestCases operation + */ + public void receiveErrorgetTestCases(java.lang.Exception e) { + } + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.java b/project/AutoTestResultService/src/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.java new file mode 100644 index 0000000..e2e4a2b --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/GetTestcasesforAutoTestResultsServiceStub.java @@ -0,0 +1,3595 @@ + +/** + * GetTestcasesforAutoTestResultsServiceStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + package com.qaportal; + + + + /* + * GetTestcasesforAutoTestResultsServiceStub java implementation + */ + + + public class GetTestcasesforAutoTestResultsServiceStub extends org.apache.axis2.client.Stub + { + protected org.apache.axis2.description.AxisOperation[] _operations; + + //hashmaps to keep the fault mapping + private java.util.HashMap faultExceptionNameMap = new java.util.HashMap(); + private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap(); + private java.util.HashMap faultMessageMap = new java.util.HashMap(); + + private static int counter = 0; + + private static synchronized java.lang.String getUniqueSuffix(){ + // reset the counter if it is greater than 99999 + if (counter > 99999){ + counter = 0; + } + counter = counter + 1; + return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + "_" + counter; + } + + + private void populateAxisService() throws org.apache.axis2.AxisFault { + + //creating the Service with a unique name + _service = new org.apache.axis2.description.AxisService("GetTestcasesforAutoTestResultsService" + getUniqueSuffix()); + addAnonymousOperations(); + + //creating the operations + org.apache.axis2.description.AxisOperation __operation; + + _operations = new org.apache.axis2.description.AxisOperation[1]; + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", "getTestCases")); + _service.addOperation(__operation); + + + + + _operations[0]=__operation; + + + } + + //populates the faults + private void populateFaults(){ + + faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "getTestCases"),"com.qaportal.DataServiceFaultException"); + faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "getTestCases"),"com.qaportal.DataServiceFaultException"); + faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "getTestCases"),"com.qaportal.GetTestcasesforAutoTestResultsServiceStub$DataServiceFault"); + + + + } + + /** + *Constructor that takes in a configContext + */ + + public GetTestcasesforAutoTestResultsServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint) + throws org.apache.axis2.AxisFault { + this(configurationContext,targetEndpoint,false); + } + + + /** + * Constructor that takes in a configContext and useseperate listner + */ + public GetTestcasesforAutoTestResultsServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint, boolean useSeparateListener) + throws org.apache.axis2.AxisFault { + //To populate AxisService + populateAxisService(); + populateFaults(); + + _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,_service); + + + _serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference( + targetEndpoint)); + _serviceClient.getOptions().setUseSeparateListener(useSeparateListener); + + //Set the soap version + _serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); + + + } + + /** + * Default Constructor + */ + public GetTestcasesforAutoTestResultsServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault { + + this(configurationContext,"http://localhost:9763/services/GetTestcasesforAutoTestResultsService.SOAP12Endpoint/" ); + + } + + /** + * Default Constructor + */ + public GetTestcasesforAutoTestResultsServiceStub() throws org.apache.axis2.AxisFault { + + this("http://localhost:9763/services/GetTestcasesforAutoTestResultsService.SOAP12Endpoint/" ); + + } + + /** + * Constructor taking the target endpoint + */ + public GetTestcasesforAutoTestResultsServiceStub(java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { + this(null,targetEndpoint); + } + + + + + /** + * Auto generated method signature + * returns testcases maching underlying query.requries testcase name and build name as input parameters. + * @see com.qaportal.GetTestcasesforAutoTestResultsService#getTestCases + * @param getTestCases0 + + * @throws com.qaportal.DataServiceFaultException : + */ + + + + public com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE getTestCases( + + com.qaportal.GetTestcasesforAutoTestResultsServiceStub.GetTestCases getTestCases0) + + + throws java.rmi.RemoteException + + + ,com.qaportal.DataServiceFaultException{ + org.apache.axis2.context.MessageContext _messageContext = null; + try{ + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("urn:getTestCases"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getTestCases0, + optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "getTestCases")), new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "getTestCases")); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext( + org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + + java.lang.Object object = fromOM( + _returnEnv.getBody().getFirstElement() , + com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE.class, + getEnvelopeNamespaces(_returnEnv)); + + + return (com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE)object; + + }catch(org.apache.axis2.AxisFault f){ + + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCases"))){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCases")); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class); + java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage()); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCases")); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + if (ex instanceof com.qaportal.DataServiceFaultException){ + throw (com.qaportal.DataServiceFaultException)ex; + } + + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + }catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + }catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + }else{ + throw f; + } + }else{ + throw f; + } + } finally { + if (_messageContext.getTransportOut() != null) { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * returns testcases maching underlying query.requries testcase name and build name as input parameters. + * @see com.qaportal.GetTestcasesforAutoTestResultsService#startgetTestCases + * @param getTestCases0 + + */ + public void startgetTestCases( + + com.qaportal.GetTestcasesforAutoTestResultsServiceStub.GetTestCases getTestCases0, + + final com.qaportal.GetTestcasesforAutoTestResultsServiceCallbackHandler callback) + + throws java.rmi.RemoteException{ + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("urn:getTestCases"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env=null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getTestCases0, + optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "getTestCases")), new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "getTestCases")); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage(org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), + com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE.class, + getEnvelopeNamespaces(resultEnv)); + callback.receiveResultgetTestCases( + (com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE)object); + + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorgetTestCases(e); + } + } + + public void onError(java.lang.Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCases"))){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCases")); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class); + java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage()); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCases")); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + if (ex instanceof com.qaportal.DataServiceFaultException){ + callback.receiveErrorgetTestCases((com.qaportal.DataServiceFaultException)ex); + return; + } + + + callback.receiveErrorgetTestCases(new java.rmi.RemoteException(ex.getMessage(), ex)); + } catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCases(f); + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCases(f); + } catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCases(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCases(f); + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCases(f); + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCases(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCases(f); + } + } else { + callback.receiveErrorgetTestCases(f); + } + } else { + callback.receiveErrorgetTestCases(f); + } + } else { + callback.receiveErrorgetTestCases(error); + } + } + + public void onFault(org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorgetTestCases(axisFault); + } + } + }); + + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + if ( _operations[0].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[0].setMessageReceiver( + _callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + + } + + + + /** + * A utility method that copies the namepaces from the SOAPEnvelope + */ + private java.util.Map getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){ + java.util.Map returnMap = new java.util.HashMap(); + java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces(); + while (namespaceIterator.hasNext()) { + org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next(); + returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); + } + return returnMap; + } + + + + private javax.xml.namespace.QName[] opNameArray = null; + private boolean optimizeContent(javax.xml.namespace.QName opName) { + + + if (opNameArray == null) { + return false; + } + for (int i = 0; i < opNameArray.length; i++) { + if (opName.equals(opNameArray[i])) { + return true; + } + } + return false; + } + //http://192.168.43.154:9763/services/GetTestcasesforAutoTestResultsService.SOAP12Endpoint/ + public static class WSO2_QAP_TEST_CASE_Collection + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = WSO2_QAP_TEST_CASE_Collection + Namespace URI = http://ws.wso2.org/dataservice + Namespace Prefix = ns1 + */ + + + /** + * field for WSO2_QAP_TEST_CASE + * This was an Array! + */ + + + protected WSO2_QAP_TEST_CASE[] localWSO2_QAP_TEST_CASE ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localWSO2_QAP_TEST_CASETracker = false ; + + public boolean isWSO2_QAP_TEST_CASESpecified(){ + return localWSO2_QAP_TEST_CASETracker; + } + + + + /** + * Auto generated getter method + * @return WSO2_QAP_TEST_CASE[] + */ + public WSO2_QAP_TEST_CASE[] getWSO2_QAP_TEST_CASE(){ + return localWSO2_QAP_TEST_CASE; + } + + + + + + + /** + * validate the array for WSO2_QAP_TEST_CASE + */ + protected void validateWSO2_QAP_TEST_CASE(WSO2_QAP_TEST_CASE[] param){ + + } + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_CASE + */ + public void setWSO2_QAP_TEST_CASE(WSO2_QAP_TEST_CASE[] param){ + + validateWSO2_QAP_TEST_CASE(param); + + localWSO2_QAP_TEST_CASETracker = param != null; + + this.localWSO2_QAP_TEST_CASE=param; + } + + + + /** + * Auto generated add method for the array for convenience + * @param param WSO2_QAP_TEST_CASE + */ + public void addWSO2_QAP_TEST_CASE(WSO2_QAP_TEST_CASE param){ + if (localWSO2_QAP_TEST_CASE == null){ + localWSO2_QAP_TEST_CASE = new WSO2_QAP_TEST_CASE[]{}; + } + + + //update the setting tracker + localWSO2_QAP_TEST_CASETracker = true; + + + java.util.List list = + org.apache.axis2.databinding.utils.ConverterUtil.toList(localWSO2_QAP_TEST_CASE); + list.add(param); + this.localWSO2_QAP_TEST_CASE = + (WSO2_QAP_TEST_CASE[])list.toArray( + new WSO2_QAP_TEST_CASE[list.size()]); + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName); + return factory.createOMElement(dataSource,parentQName); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":WSO2_QAP_TEST_CASE_Collection", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "WSO2_QAP_TEST_CASE_Collection", + xmlWriter); + } + + + } + if (localWSO2_QAP_TEST_CASETracker){ + if (localWSO2_QAP_TEST_CASE!=null){ + for (int i = 0;i < localWSO2_QAP_TEST_CASE.length;i++){ + if (localWSO2_QAP_TEST_CASE[i] != null){ + localWSO2_QAP_TEST_CASE[i].serialize(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_CASE"), + xmlWriter); + } else { + + // we don't have to do any thing since minOccures is zero + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("WSO2_QAP_TEST_CASE cannot be null!!"); + + } + } + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localWSO2_QAP_TEST_CASETracker){ + if (localWSO2_QAP_TEST_CASE!=null) { + for (int i = 0;i < localWSO2_QAP_TEST_CASE.length;i++){ + + if (localWSO2_QAP_TEST_CASE[i] != null){ + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_CASE")); + elementList.add(localWSO2_QAP_TEST_CASE[i]); + } else { + + // nothing to do + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("WSO2_QAP_TEST_CASE cannot be null!!"); + + } + + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static WSO2_QAP_TEST_CASE_Collection parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + WSO2_QAP_TEST_CASE_Collection object = + new WSO2_QAP_TEST_CASE_Collection(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"WSO2_QAP_TEST_CASE_Collection".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (WSO2_QAP_TEST_CASE_Collection)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + java.util.ArrayList list1 = new java.util.ArrayList(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_CASE").equals(reader.getName())){ + + + + // Process the array and step past its final element's end. + list1.add(WSO2_QAP_TEST_CASE.Factory.parse(reader)); + + //loop until we find a start element that is not part of this array + boolean loopDone1 = false; + while(!loopDone1){ + // We should be at the end element, but make sure + while (!reader.isEndElement()) + reader.next(); + // Step out of this element + reader.next(); + // Step to next element event. + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + if (reader.isEndElement()){ + //two continuous end elements means we are exiting the xml structure + loopDone1 = true; + } else { + if (new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_CASE").equals(reader.getName())){ + list1.add(WSO2_QAP_TEST_CASE.Factory.parse(reader)); + + }else{ + loopDone1 = true; + } + } + } + // call the converter utility to convert and set the array + + object.setWSO2_QAP_TEST_CASE((WSO2_QAP_TEST_CASE[]) + org.apache.axis2.databinding.utils.ConverterUtil.convertToArray( + WSO2_QAP_TEST_CASE.class, + list1)); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class WSO2_QAP_TEST_CASE_CollectionE + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_CASE_Collection", + "ns1"); + + + + /** + * field for WSO2_QAP_TEST_CASE_Collection + */ + + + protected WSO2_QAP_TEST_CASE_Collection localWSO2_QAP_TEST_CASE_Collection ; + + + /** + * Auto generated getter method + * @return WSO2_QAP_TEST_CASE_Collection + */ + public WSO2_QAP_TEST_CASE_Collection getWSO2_QAP_TEST_CASE_Collection(){ + return localWSO2_QAP_TEST_CASE_Collection; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_CASE_Collection + */ + public void setWSO2_QAP_TEST_CASE_Collection(WSO2_QAP_TEST_CASE_Collection param){ + + this.localWSO2_QAP_TEST_CASE_Collection=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + if (localWSO2_QAP_TEST_CASE_Collection==null){ + throw new org.apache.axis2.databinding.ADBException("WSO2_QAP_TEST_CASE_Collection cannot be null!"); + } + localWSO2_QAP_TEST_CASE_Collection.serialize(MY_QNAME,xmlWriter); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return localWSO2_QAP_TEST_CASE_Collection.getPullParser(MY_QNAME); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static WSO2_QAP_TEST_CASE_CollectionE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + WSO2_QAP_TEST_CASE_CollectionE object = + new WSO2_QAP_TEST_CASE_CollectionE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_CASE_Collection").equals(reader.getName())){ + + object.setWSO2_QAP_TEST_CASE_Collection(WSO2_QAP_TEST_CASE_Collection.Factory.parse(reader)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DataServiceFault + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DataServiceFault", + "ns1"); + + + + /** + * field for DataServiceFault + */ + + + protected java.lang.String localDataServiceFault ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getDataServiceFault(){ + return localDataServiceFault; + } + + + + /** + * Auto generated setter method + * @param param DataServiceFault + */ + public void setDataServiceFault(java.lang.String param){ + + this.localDataServiceFault=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "DataServiceFault"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DataServiceFault", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DataServiceFault", + xmlWriter); + } + } + + if (localDataServiceFault==null){ + + throw new org.apache.axis2.databinding.ADBException("DataServiceFault cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localDataServiceFault); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localDataServiceFault) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DataServiceFault parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DataServiceFault object = + new DataServiceFault(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"DataServiceFault" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setDataServiceFault( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class ExtensionMapper{ + + public static java.lang.Object getTypeObject(java.lang.String namespaceURI, + java.lang.String typeName, + javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + + + if ( + "http://ws.wso2.org/dataservice".equals(namespaceURI) && + "WSO2_QAP_TEST_CASE_Collection".equals(typeName)){ + + return WSO2_QAP_TEST_CASE_Collection.Factory.parse(reader); + + + } + + + if ( + "http://ws.wso2.org/dataservice".equals(namespaceURI) && + "WSO2_QAP_TEST_CASE".equals(typeName)){ + + return WSO2_QAP_TEST_CASE.Factory.parse(reader); + + + } + + + throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName); + } + + } + + public static class WSO2_QAP_TEST_CASE + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = WSO2_QAP_TEST_CASE + Namespace URI = http://ws.wso2.org/dataservice + Namespace Prefix = ns1 + */ + + + /** + * field for WSO2_QAP_TEST_CASE_ID + */ + + + protected java.lang.String localWSO2_QAP_TEST_CASE_ID ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getWSO2_QAP_TEST_CASE_ID(){ + return localWSO2_QAP_TEST_CASE_ID; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_CASE_ID + */ + public void setWSO2_QAP_TEST_CASE_ID(java.lang.String param){ + + this.localWSO2_QAP_TEST_CASE_ID=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName); + return factory.createOMElement(dataSource,parentQName); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":WSO2_QAP_TEST_CASE", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "WSO2_QAP_TEST_CASE", + xmlWriter); + } + + + } + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_TEST_CASE_ID", xmlWriter); + + + if (localWSO2_QAP_TEST_CASE_ID==null){ + // write the nil attribute + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + }else{ + + + xmlWriter.writeCharacters(localWSO2_QAP_TEST_CASE_ID); + + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_CASE_ID")); + + elementList.add(localWSO2_QAP_TEST_CASE_ID==null?null: + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_CASE_ID)); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static WSO2_QAP_TEST_CASE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + WSO2_QAP_TEST_CASE object = + new WSO2_QAP_TEST_CASE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"WSO2_QAP_TEST_CASE".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (WSO2_QAP_TEST_CASE)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_CASE_ID").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_TEST_CASE_ID( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } else { + + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class REQUEST_STATUS + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "REQUEST_STATUS", + "ns1"); + + + + /** + * field for REQUEST_STATUS + */ + + + protected java.lang.String localREQUEST_STATUS ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getREQUEST_STATUS(){ + return localREQUEST_STATUS; + } + + + + /** + * Auto generated setter method + * @param param REQUEST_STATUS + */ + public void setREQUEST_STATUS(java.lang.String param){ + + this.localREQUEST_STATUS=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "REQUEST_STATUS"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":REQUEST_STATUS", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "REQUEST_STATUS", + xmlWriter); + } + } + + if (localREQUEST_STATUS==null){ + + throw new org.apache.axis2.databinding.ADBException("REQUEST_STATUS cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localREQUEST_STATUS); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localREQUEST_STATUS) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static REQUEST_STATUS parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + REQUEST_STATUS object = + new REQUEST_STATUS(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","REQUEST_STATUS").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"REQUEST_STATUS" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setREQUEST_STATUS( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class GetTestCases + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "getTestCases", + "ns1"); + + + + /** + * field for WSO2_QAP_AUTO_TEST_CLASS_NAME + */ + + + protected java.lang.String localWSO2_QAP_AUTO_TEST_CLASS_NAME ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getWSO2_QAP_AUTO_TEST_CLASS_NAME(){ + return localWSO2_QAP_AUTO_TEST_CLASS_NAME; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_AUTO_TEST_CLASS_NAME + */ + public void setWSO2_QAP_AUTO_TEST_CLASS_NAME(java.lang.String param){ + + this.localWSO2_QAP_AUTO_TEST_CLASS_NAME=param; + + + } + + + /** + * field for WSO2_QAP_BUILD_NAME + */ + + + protected java.lang.String localWSO2_QAP_BUILD_NAME ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getWSO2_QAP_BUILD_NAME(){ + return localWSO2_QAP_BUILD_NAME; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_BUILD_NAME + */ + public void setWSO2_QAP_BUILD_NAME(java.lang.String param){ + + this.localWSO2_QAP_BUILD_NAME=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":getTestCases", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "getTestCases", + xmlWriter); + } + + + } + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_AUTO_TEST_CLASS_NAME", xmlWriter); + + + if (localWSO2_QAP_AUTO_TEST_CLASS_NAME==null){ + // write the nil attribute + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + }else{ + + + xmlWriter.writeCharacters(localWSO2_QAP_AUTO_TEST_CLASS_NAME); + + } + + xmlWriter.writeEndElement(); + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_BUILD_NAME", xmlWriter); + + + if (localWSO2_QAP_BUILD_NAME==null){ + // write the nil attribute + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + }else{ + + + xmlWriter.writeCharacters(localWSO2_QAP_BUILD_NAME); + + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_AUTO_TEST_CLASS_NAME")); + + elementList.add(localWSO2_QAP_AUTO_TEST_CLASS_NAME==null?null: + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_AUTO_TEST_CLASS_NAME)); + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_BUILD_NAME")); + + elementList.add(localWSO2_QAP_BUILD_NAME==null?null: + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_BUILD_NAME)); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GetTestCases parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GetTestCases object = + new GetTestCases(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"getTestCases".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GetTestCases)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_AUTO_TEST_CLASS_NAME").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_AUTO_TEST_CLASS_NAME( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } else { + + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_BUILD_NAME").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_BUILD_NAME( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } else { + + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DATA_SERVICE_RESPONSE + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DATA_SERVICE_RESPONSE", + "ns1"); + + + + /** + * field for ExtraElement + */ + + + protected org.apache.axiom.om.OMElement localExtraElement ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExtraElementTracker = false ; + + public boolean isExtraElementSpecified(){ + return localExtraElementTracker; + } + + + + /** + * Auto generated getter method + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getExtraElement(){ + return localExtraElement; + } + + + + /** + * Auto generated setter method + * @param param ExtraElement + */ + public void setExtraElement(org.apache.axiom.om.OMElement param){ + localExtraElementTracker = param != null; + + this.localExtraElement=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DATA_SERVICE_RESPONSE", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DATA_SERVICE_RESPONSE", + xmlWriter); + } + + + } + if (localExtraElementTracker){ + + if (localExtraElement != null) { + localExtraElement.serialize(xmlWriter); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localExtraElementTracker){ + if (localExtraElement != null){ + elementList.add(org.apache.axis2.databinding.utils.Constants.OM_ELEMENT_KEY); + elementList.add(localExtraElement); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DATA_SERVICE_RESPONSE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DATA_SERVICE_RESPONSE object = + new DATA_SERVICE_RESPONSE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"DATA_SERVICE_RESPONSE".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (DATA_SERVICE_RESPONSE)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement()){ + + + + //use the QName from the parser as the name for the builder + javax.xml.namespace.QName startQname1 = reader.getName(); + + // We need to wrap the reader so that it produces a fake START_DOCUMENT event + // this is needed by the builder classes + org.apache.axis2.databinding.utils.NamedStaxOMBuilder builder1 = + new org.apache.axis2.databinding.utils.NamedStaxOMBuilder( + new org.apache.axis2.util.StreamWrapper(reader),startQname1); + object.setExtraElement(builder1.getOMElement()); + + reader.next(); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + private org.apache.axiom.om.OMElement toOM(com.qaportal.GetTestcasesforAutoTestResultsServiceStub.GetTestCases param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.GetTestcasesforAutoTestResultsServiceStub.GetTestCases.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.qaportal.GetTestcasesforAutoTestResultsServiceStub.DataServiceFault param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.GetTestcasesforAutoTestResultsServiceStub.DataServiceFault.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.qaportal.GetTestcasesforAutoTestResultsServiceStub.GetTestCases param, boolean optimizeContent, javax.xml.namespace.QName methodQName) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.qaportal.GetTestcasesforAutoTestResultsServiceStub.GetTestCases.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + + /** + * get the default envelope + */ + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory){ + return factory.getDefaultEnvelope(); + } + + + private java.lang.Object fromOM( + org.apache.axiom.om.OMElement param, + java.lang.Class type, + java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ + + try { + + if (com.qaportal.GetTestcasesforAutoTestResultsServiceStub.GetTestCases.class.equals(type)){ + + return com.qaportal.GetTestcasesforAutoTestResultsServiceStub.GetTestCases.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE.class.equals(type)){ + + return com.qaportal.GetTestcasesforAutoTestResultsServiceStub.WSO2_QAP_TEST_CASE_CollectionE.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.qaportal.GetTestcasesforAutoTestResultsServiceStub.DataServiceFault.class.equals(type)){ + + return com.qaportal.GetTestcasesforAutoTestResultsServiceStub.DataServiceFault.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + } catch (java.lang.Exception e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + return null; + } + + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/InsertBuildMappingTestResultCallbackHandler.java b/project/AutoTestResultService/src/com/qaportal/InsertBuildMappingTestResultCallbackHandler.java new file mode 100644 index 0000000..c9be1e3 --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/InsertBuildMappingTestResultCallbackHandler.java @@ -0,0 +1,52 @@ + +/** + * InsertBuildMappingTestResultCallbackHandler.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + + package com.qaportal; + + /** + * InsertBuildMappingTestResultCallbackHandler Callback class, Users can extend this class and implement + * their own receiveResult and receiveError methods. + */ + public abstract class InsertBuildMappingTestResultCallbackHandler{ + + + + protected Object clientData; + + /** + * User can pass in any object that needs to be accessed once the NonBlocking + * Web service call is finished and appropriate method of this CallBack is called. + * @param clientData Object mechanism by which the user can pass in user data + * that will be avilable at the time this callback is called. + */ + public InsertBuildMappingTestResultCallbackHandler(Object clientData){ + this.clientData = clientData; + } + + /** + * Please use this constructor if you don't want to set any clientData + */ + public InsertBuildMappingTestResultCallbackHandler(){ + this.clientData = null; + } + + /** + * Get the client data + */ + + public Object getClientData() { + return clientData; + } + + + // No methods generated for meps other than in-out + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/InsertBuildMappingTestResultStub.java b/project/AutoTestResultService/src/com/qaportal/InsertBuildMappingTestResultStub.java new file mode 100644 index 0000000..b5bec71 --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/InsertBuildMappingTestResultStub.java @@ -0,0 +1,2009 @@ + +/** + * InsertBuildMappingTestResultStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + package com.qaportal; + + + + /* + * InsertBuildMappingTestResultStub java implementation + */ + + + public class InsertBuildMappingTestResultStub extends org.apache.axis2.client.Stub + { + protected org.apache.axis2.description.AxisOperation[] _operations; + + //hashmaps to keep the fault mapping + private java.util.HashMap faultExceptionNameMap = new java.util.HashMap(); + private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap(); + private java.util.HashMap faultMessageMap = new java.util.HashMap(); + + private static int counter = 0; + + private static synchronized java.lang.String getUniqueSuffix(){ + // reset the counter if it is greater than 99999 + if (counter > 99999){ + counter = 0; + } + counter = counter + 1; + return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + "_" + counter; + } + + + private void populateAxisService() throws org.apache.axis2.AxisFault { + + //creating the Service with a unique name + _service = new org.apache.axis2.description.AxisService("InsertBuildMappingTestResult" + getUniqueSuffix()); + addAnonymousOperations(); + + //creating the operations + org.apache.axis2.description.AxisOperation __operation; + + _operations = new org.apache.axis2.description.AxisOperation[1]; + + __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", "insertBuildMappingTestResult")); + _service.addOperation(__operation); + + + + + _operations[0]=__operation; + + + } + + //populates the faults + private void populateFaults(){ + + + + } + + /** + *Constructor that takes in a configContext + */ + + public InsertBuildMappingTestResultStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint) + throws org.apache.axis2.AxisFault { + this(configurationContext,targetEndpoint,false); + } + + + /** + * Constructor that takes in a configContext and useseperate listner + */ + public InsertBuildMappingTestResultStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint, boolean useSeparateListener) + throws org.apache.axis2.AxisFault { + //To populate AxisService + populateAxisService(); + populateFaults(); + + _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,_service); + + + _serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference( + targetEndpoint)); + _serviceClient.getOptions().setUseSeparateListener(useSeparateListener); + + //Set the soap version + _serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); + + + } + + /** + * Default Constructor + */ + public InsertBuildMappingTestResultStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault { + + this(configurationContext,"http://localhost:9763/services/InsertBuildMappingTestResult.SOAP12Endpoint/" ); + + } + + /** + * Default Constructor + */ + public InsertBuildMappingTestResultStub() throws org.apache.axis2.AxisFault { + + this("http://localhost:9763/services/InsertBuildMappingTestResult.SOAP12Endpoint/" ); + + } + + /** + * Constructor taking the target endpoint + */ + public InsertBuildMappingTestResultStub(java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { + this(null,targetEndpoint); + } + + + + + + /** + * Auto generated method signature + * + */ + public void insertBuildMappingTestResult( + com.qaportal.InsertBuildMappingTestResultStub.InsertBuildMappingTestResult insertBuildMappingTestResult0 + + ) throws java.rmi.RemoteException + + + { + org.apache.axis2.context.MessageContext _messageContext = null; + + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("urn:insertBuildMappingTestResult"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + org.apache.axiom.soap.SOAPEnvelope env = null; + _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + insertBuildMappingTestResult0, + optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "insertBuildMappingTestResult")),new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "insertBuildMappingTestResult")); + + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + _operationClient.execute(true); + + + if (_messageContext.getTransportOut() != null) { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + + return; + } + + + + /** + * A utility method that copies the namepaces from the SOAPEnvelope + */ + private java.util.Map getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){ + java.util.Map returnMap = new java.util.HashMap(); + java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces(); + while (namespaceIterator.hasNext()) { + org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next(); + returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); + } + return returnMap; + } + + + + private javax.xml.namespace.QName[] opNameArray = null; + private boolean optimizeContent(javax.xml.namespace.QName opName) { + + + if (opNameArray == null) { + return false; + } + for (int i = 0; i < opNameArray.length; i++) { + if (opName.equals(opNameArray[i])) { + return true; + } + } + return false; + } + //http://192.168.43.154:9763/services/InsertBuildMappingTestResult.SOAP12Endpoint/ + public static class InsertBuildMappingTestResult + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "insertBuildMappingTestResult", + "ns1"); + + + + /** + * field for WSO2_QAP_BUILD_NAME + */ + + + protected java.lang.String localWSO2_QAP_BUILD_NAME ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getWSO2_QAP_BUILD_NAME(){ + return localWSO2_QAP_BUILD_NAME; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_BUILD_NAME + */ + public void setWSO2_QAP_BUILD_NAME(java.lang.String param){ + + this.localWSO2_QAP_BUILD_NAME=param; + + + } + + + /** + * field for WSO2_QAP_TEST_RESULT_ID + */ + + + protected int localWSO2_QAP_TEST_RESULT_ID ; + + + /** + * Auto generated getter method + * @return int + */ + public int getWSO2_QAP_TEST_RESULT_ID(){ + return localWSO2_QAP_TEST_RESULT_ID; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_RESULT_ID + */ + public void setWSO2_QAP_TEST_RESULT_ID(int param){ + + this.localWSO2_QAP_TEST_RESULT_ID=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":insertBuildMappingTestResult", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "insertBuildMappingTestResult", + xmlWriter); + } + + + } + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_BUILD_NAME", xmlWriter); + + + if (localWSO2_QAP_BUILD_NAME==null){ + // write the nil attribute + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + }else{ + + + xmlWriter.writeCharacters(localWSO2_QAP_BUILD_NAME); + + } + + xmlWriter.writeEndElement(); + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_TEST_RESULT_ID", xmlWriter); + + if (localWSO2_QAP_TEST_RESULT_ID==java.lang.Integer.MIN_VALUE) { + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_RESULT_ID)); + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_BUILD_NAME")); + + elementList.add(localWSO2_QAP_BUILD_NAME==null?null: + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_BUILD_NAME)); + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_RESULT_ID")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_RESULT_ID)); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static InsertBuildMappingTestResult parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + InsertBuildMappingTestResult object = + new InsertBuildMappingTestResult(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"insertBuildMappingTestResult".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (InsertBuildMappingTestResult)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_BUILD_NAME").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_BUILD_NAME( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } else { + + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_RESULT_ID").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_TEST_RESULT_ID( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + } else { + + + object.setWSO2_QAP_TEST_RESULT_ID(java.lang.Integer.MIN_VALUE); + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DataServiceFault + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DataServiceFault", + "ns1"); + + + + /** + * field for DataServiceFault + */ + + + protected java.lang.String localDataServiceFault ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getDataServiceFault(){ + return localDataServiceFault; + } + + + + /** + * Auto generated setter method + * @param param DataServiceFault + */ + public void setDataServiceFault(java.lang.String param){ + + this.localDataServiceFault=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "DataServiceFault"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DataServiceFault", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DataServiceFault", + xmlWriter); + } + } + + if (localDataServiceFault==null){ + + throw new org.apache.axis2.databinding.ADBException("DataServiceFault cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localDataServiceFault); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localDataServiceFault) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DataServiceFault parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DataServiceFault object = + new DataServiceFault(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"DataServiceFault" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setDataServiceFault( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class ExtensionMapper{ + + public static java.lang.Object getTypeObject(java.lang.String namespaceURI, + java.lang.String typeName, + javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + + + throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName); + } + + } + + public static class REQUEST_STATUS + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "REQUEST_STATUS", + "ns1"); + + + + /** + * field for REQUEST_STATUS + */ + + + protected java.lang.String localREQUEST_STATUS ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getREQUEST_STATUS(){ + return localREQUEST_STATUS; + } + + + + /** + * Auto generated setter method + * @param param REQUEST_STATUS + */ + public void setREQUEST_STATUS(java.lang.String param){ + + this.localREQUEST_STATUS=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "REQUEST_STATUS"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":REQUEST_STATUS", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "REQUEST_STATUS", + xmlWriter); + } + } + + if (localREQUEST_STATUS==null){ + + throw new org.apache.axis2.databinding.ADBException("REQUEST_STATUS cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localREQUEST_STATUS); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localREQUEST_STATUS) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static REQUEST_STATUS parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + REQUEST_STATUS object = + new REQUEST_STATUS(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","REQUEST_STATUS").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"REQUEST_STATUS" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setREQUEST_STATUS( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DATA_SERVICE_RESPONSE + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DATA_SERVICE_RESPONSE", + "ns1"); + + + + /** + * field for ExtraElement + */ + + + protected org.apache.axiom.om.OMElement localExtraElement ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExtraElementTracker = false ; + + public boolean isExtraElementSpecified(){ + return localExtraElementTracker; + } + + + + /** + * Auto generated getter method + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getExtraElement(){ + return localExtraElement; + } + + + + /** + * Auto generated setter method + * @param param ExtraElement + */ + public void setExtraElement(org.apache.axiom.om.OMElement param){ + localExtraElementTracker = param != null; + + this.localExtraElement=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DATA_SERVICE_RESPONSE", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DATA_SERVICE_RESPONSE", + xmlWriter); + } + + + } + if (localExtraElementTracker){ + + if (localExtraElement != null) { + localExtraElement.serialize(xmlWriter); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localExtraElementTracker){ + if (localExtraElement != null){ + elementList.add(org.apache.axis2.databinding.utils.Constants.OM_ELEMENT_KEY); + elementList.add(localExtraElement); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DATA_SERVICE_RESPONSE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DATA_SERVICE_RESPONSE object = + new DATA_SERVICE_RESPONSE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"DATA_SERVICE_RESPONSE".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (DATA_SERVICE_RESPONSE)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement()){ + + + + //use the QName from the parser as the name for the builder + javax.xml.namespace.QName startQname1 = reader.getName(); + + // We need to wrap the reader so that it produces a fake START_DOCUMENT event + // this is needed by the builder classes + org.apache.axis2.databinding.utils.NamedStaxOMBuilder builder1 = + new org.apache.axis2.databinding.utils.NamedStaxOMBuilder( + new org.apache.axis2.util.StreamWrapper(reader),startQname1); + object.setExtraElement(builder1.getOMElement()); + + reader.next(); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + private org.apache.axiom.om.OMElement toOM(com.qaportal.InsertBuildMappingTestResultStub.InsertBuildMappingTestResult param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.InsertBuildMappingTestResultStub.InsertBuildMappingTestResult.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.qaportal.InsertBuildMappingTestResultStub.InsertBuildMappingTestResult param, boolean optimizeContent, javax.xml.namespace.QName methodQName) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.qaportal.InsertBuildMappingTestResultStub.InsertBuildMappingTestResult.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + + /** + * get the default envelope + */ + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory){ + return factory.getDefaultEnvelope(); + } + + + private java.lang.Object fromOM( + org.apache.axiom.om.OMElement param, + java.lang.Class type, + java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ + + try { + + if (com.qaportal.InsertBuildMappingTestResultStub.InsertBuildMappingTestResult.class.equals(type)){ + + return com.qaportal.InsertBuildMappingTestResultStub.InsertBuildMappingTestResult.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + } catch (java.lang.Exception e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + return null; + } + + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/InsertTestResultCallbackHandler.java b/project/AutoTestResultService/src/com/qaportal/InsertTestResultCallbackHandler.java new file mode 100644 index 0000000..a43c49a --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/InsertTestResultCallbackHandler.java @@ -0,0 +1,66 @@ + +/** + * InsertTestResultCallbackHandler.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + + package com.qaportal; + + /** + * InsertTestResultCallbackHandler Callback class, Users can extend this class and implement + * their own receiveResult and receiveError methods. + */ + public abstract class InsertTestResultCallbackHandler{ + + + + protected Object clientData; + + /** + * User can pass in any object that needs to be accessed once the NonBlocking + * Web service call is finished and appropriate method of this CallBack is called. + * @param clientData Object mechanism by which the user can pass in user data + * that will be avilable at the time this callback is called. + */ + public InsertTestResultCallbackHandler(Object clientData){ + this.clientData = clientData; + } + + /** + * Please use this constructor if you don't want to set any clientData + */ + public InsertTestResultCallbackHandler(){ + this.clientData = null; + } + + /** + * Get the client data + */ + + public Object getClientData() { + return clientData; + } + + + /** + * auto generated Axis2 call back method for insertTestResult method + * override this method for handling normal response from insertTestResult operation + */ + public void receiveResultinsertTestResult( + com.qaportal.InsertTestResultStub.GeneratedKeysE result + ) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from insertTestResult operation + */ + public void receiveErrorinsertTestResult(java.lang.Exception e) { + } + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/InsertTestResultStub.java b/project/AutoTestResultService/src/com/qaportal/InsertTestResultStub.java new file mode 100644 index 0000000..c413abd --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/InsertTestResultStub.java @@ -0,0 +1,3589 @@ + +/** + * InsertTestResultStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + package com.qaportal; + + + + /* + * InsertTestResultStub java implementation + */ + + + public class InsertTestResultStub extends org.apache.axis2.client.Stub + { + protected org.apache.axis2.description.AxisOperation[] _operations; + + //hashmaps to keep the fault mapping + private java.util.HashMap faultExceptionNameMap = new java.util.HashMap(); + private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap(); + private java.util.HashMap faultMessageMap = new java.util.HashMap(); + + private static int counter = 0; + + private static synchronized java.lang.String getUniqueSuffix(){ + // reset the counter if it is greater than 99999 + if (counter > 99999){ + counter = 0; + } + counter = counter + 1; + return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + "_" + counter; + } + + + private void populateAxisService() throws org.apache.axis2.AxisFault { + + //creating the Service with a unique name + _service = new org.apache.axis2.description.AxisService("InsertTestResult" + getUniqueSuffix()); + addAnonymousOperations(); + + //creating the operations + org.apache.axis2.description.AxisOperation __operation; + + _operations = new org.apache.axis2.description.AxisOperation[1]; + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", "insertTestResult")); + _service.addOperation(__operation); + + + + + _operations[0]=__operation; + + + } + + //populates the faults + private void populateFaults(){ + + faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "insertTestResult"),"com.qaportal.DataServiceFaultException"); + faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "insertTestResult"),"com.qaportal.DataServiceFaultException"); + faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "insertTestResult"),"com.qaportal.InsertTestResultStub$DataServiceFault"); + + + + } + + /** + *Constructor that takes in a configContext + */ + + public InsertTestResultStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint) + throws org.apache.axis2.AxisFault { + this(configurationContext,targetEndpoint,false); + } + + + /** + * Constructor that takes in a configContext and useseperate listner + */ + public InsertTestResultStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint, boolean useSeparateListener) + throws org.apache.axis2.AxisFault { + //To populate AxisService + populateAxisService(); + populateFaults(); + + _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,_service); + + + _serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference( + targetEndpoint)); + _serviceClient.getOptions().setUseSeparateListener(useSeparateListener); + + //Set the soap version + _serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); + + + } + + /** + * Default Constructor + */ + public InsertTestResultStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault { + + this(configurationContext,"http://localhost:9763/services/InsertTestResult.SOAP12Endpoint/" ); + + } + + /** + * Default Constructor + */ + public InsertTestResultStub() throws org.apache.axis2.AxisFault { + + this("http://localhost:9763/services/InsertTestResult.SOAP12Endpoint/" ); + + } + + /** + * Constructor taking the target endpoint + */ + public InsertTestResultStub(java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { + this(null,targetEndpoint); + } + + + + + /** + * Auto generated method signature + * + * @see com.qaportal.InsertTestResult#insertTestResult + * @param insertTestResult0 + + * @throws com.qaportal.DataServiceFaultException : + */ + + + + public com.qaportal.InsertTestResultStub.GeneratedKeysE insertTestResult( + + com.qaportal.InsertTestResultStub.InsertTestResult insertTestResult0) + + + throws java.rmi.RemoteException + + + ,com.qaportal.DataServiceFaultException{ + org.apache.axis2.context.MessageContext _messageContext = null; + try{ + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("urn:insertTestResult"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + insertTestResult0, + optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "insertTestResult")), new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "insertTestResult")); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext( + org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + + java.lang.Object object = fromOM( + _returnEnv.getBody().getFirstElement() , + com.qaportal.InsertTestResultStub.GeneratedKeysE.class, + getEnvelopeNamespaces(_returnEnv)); + + + return (com.qaportal.InsertTestResultStub.GeneratedKeysE)object; + + }catch(org.apache.axis2.AxisFault f){ + + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"insertTestResult"))){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"insertTestResult")); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class); + java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage()); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"insertTestResult")); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + if (ex instanceof com.qaportal.DataServiceFaultException){ + throw (com.qaportal.DataServiceFaultException)ex; + } + + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + }catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + }catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + }else{ + throw f; + } + }else{ + throw f; + } + } finally { + if (_messageContext.getTransportOut() != null) { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * + * @see com.qaportal.InsertTestResult#startinsertTestResult + * @param insertTestResult0 + + */ + public void startinsertTestResult( + + com.qaportal.InsertTestResultStub.InsertTestResult insertTestResult0, + + final com.qaportal.InsertTestResultCallbackHandler callback) + + throws java.rmi.RemoteException{ + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("urn:insertTestResult"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env=null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + insertTestResult0, + optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "insertTestResult")), new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "insertTestResult")); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage(org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), + com.qaportal.InsertTestResultStub.GeneratedKeysE.class, + getEnvelopeNamespaces(resultEnv)); + callback.receiveResultinsertTestResult( + (com.qaportal.InsertTestResultStub.GeneratedKeysE)object); + + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorinsertTestResult(e); + } + } + + public void onError(java.lang.Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"insertTestResult"))){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"insertTestResult")); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class); + java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage()); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"insertTestResult")); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + if (ex instanceof com.qaportal.DataServiceFaultException){ + callback.receiveErrorinsertTestResult((com.qaportal.DataServiceFaultException)ex); + return; + } + + + callback.receiveErrorinsertTestResult(new java.rmi.RemoteException(ex.getMessage(), ex)); + } catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorinsertTestResult(f); + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorinsertTestResult(f); + } catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorinsertTestResult(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorinsertTestResult(f); + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorinsertTestResult(f); + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorinsertTestResult(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorinsertTestResult(f); + } + } else { + callback.receiveErrorinsertTestResult(f); + } + } else { + callback.receiveErrorinsertTestResult(f); + } + } else { + callback.receiveErrorinsertTestResult(error); + } + } + + public void onFault(org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorinsertTestResult(axisFault); + } + } + }); + + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + if ( _operations[0].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[0].setMessageReceiver( + _callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + + } + + + + /** + * A utility method that copies the namepaces from the SOAPEnvelope + */ + private java.util.Map getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){ + java.util.Map returnMap = new java.util.HashMap(); + java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces(); + while (namespaceIterator.hasNext()) { + org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next(); + returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); + } + return returnMap; + } + + + + private javax.xml.namespace.QName[] opNameArray = null; + private boolean optimizeContent(javax.xml.namespace.QName opName) { + + + if (opNameArray == null) { + return false; + } + for (int i = 0; i < opNameArray.length; i++) { + if (opName.equals(opNameArray[i])) { + return true; + } + } + return false; + } + //http://192.168.43.154:9763/services/InsertTestResult.SOAP12Endpoint/ + public static class DataServiceFault + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DataServiceFault", + "ns1"); + + + + /** + * field for DataServiceFault + */ + + + protected java.lang.String localDataServiceFault ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getDataServiceFault(){ + return localDataServiceFault; + } + + + + /** + * Auto generated setter method + * @param param DataServiceFault + */ + public void setDataServiceFault(java.lang.String param){ + + this.localDataServiceFault=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "DataServiceFault"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DataServiceFault", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DataServiceFault", + xmlWriter); + } + } + + if (localDataServiceFault==null){ + + throw new org.apache.axis2.databinding.ADBException("DataServiceFault cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localDataServiceFault); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localDataServiceFault) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DataServiceFault parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DataServiceFault object = + new DataServiceFault(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"DataServiceFault" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setDataServiceFault( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class ExtensionMapper{ + + public static java.lang.Object getTypeObject(java.lang.String namespaceURI, + java.lang.String typeName, + javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + + + if ( + "http://ws.wso2.org/dataservice".equals(namespaceURI) && + "Entry".equals(typeName)){ + + return Entry.Factory.parse(reader); + + + } + + + if ( + "http://ws.wso2.org/dataservice".equals(namespaceURI) && + "GeneratedKeys".equals(typeName)){ + + return GeneratedKeys.Factory.parse(reader); + + + } + + + throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName); + } + + } + + public static class GeneratedKeysE + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "GeneratedKeys", + "ns1"); + + + + /** + * field for GeneratedKeys + */ + + + protected GeneratedKeys localGeneratedKeys ; + + + /** + * Auto generated getter method + * @return GeneratedKeys + */ + public GeneratedKeys getGeneratedKeys(){ + return localGeneratedKeys; + } + + + + /** + * Auto generated setter method + * @param param GeneratedKeys + */ + public void setGeneratedKeys(GeneratedKeys param){ + + this.localGeneratedKeys=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + if (localGeneratedKeys==null){ + throw new org.apache.axis2.databinding.ADBException("GeneratedKeys cannot be null!"); + } + localGeneratedKeys.serialize(MY_QNAME,xmlWriter); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return localGeneratedKeys.getPullParser(MY_QNAME); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GeneratedKeysE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GeneratedKeysE object = + new GeneratedKeysE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","GeneratedKeys").equals(reader.getName())){ + + object.setGeneratedKeys(GeneratedKeys.Factory.parse(reader)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class REQUEST_STATUS + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "REQUEST_STATUS", + "ns1"); + + + + /** + * field for REQUEST_STATUS + */ + + + protected java.lang.String localREQUEST_STATUS ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getREQUEST_STATUS(){ + return localREQUEST_STATUS; + } + + + + /** + * Auto generated setter method + * @param param REQUEST_STATUS + */ + public void setREQUEST_STATUS(java.lang.String param){ + + this.localREQUEST_STATUS=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "REQUEST_STATUS"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":REQUEST_STATUS", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "REQUEST_STATUS", + xmlWriter); + } + } + + if (localREQUEST_STATUS==null){ + + throw new org.apache.axis2.databinding.ADBException("REQUEST_STATUS cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localREQUEST_STATUS); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localREQUEST_STATUS) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static REQUEST_STATUS parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + REQUEST_STATUS object = + new REQUEST_STATUS(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","REQUEST_STATUS").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"REQUEST_STATUS" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setREQUEST_STATUS( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class Entry + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = Entry + Namespace URI = http://ws.wso2.org/dataservice + Namespace Prefix = ns1 + */ + + + /** + * field for ID + */ + + + protected java.math.BigInteger localID ; + + + /** + * Auto generated getter method + * @return java.math.BigInteger + */ + public java.math.BigInteger getID(){ + return localID; + } + + + + /** + * Auto generated setter method + * @param param ID + */ + public void setID(java.math.BigInteger param){ + + this.localID=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName); + return factory.createOMElement(dataSource,parentQName); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":Entry", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "Entry", + xmlWriter); + } + + + } + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "ID", xmlWriter); + + + if (localID==null){ + // write the nil attribute + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + }else{ + + + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localID)); + + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "ID")); + + elementList.add(localID==null?null: + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localID)); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static Entry parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + Entry object = + new Entry(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"Entry".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (Entry)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","ID").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setID( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInteger(content)); + + } else { + + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class GeneratedKeys + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = GeneratedKeys + Namespace URI = http://ws.wso2.org/dataservice + Namespace Prefix = ns1 + */ + + + /** + * field for Entry + * This was an Array! + */ + + + protected Entry[] localEntry ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localEntryTracker = false ; + + public boolean isEntrySpecified(){ + return localEntryTracker; + } + + + + /** + * Auto generated getter method + * @return Entry[] + */ + public Entry[] getEntry(){ + return localEntry; + } + + + + + + + /** + * validate the array for Entry + */ + protected void validateEntry(Entry[] param){ + + } + + + /** + * Auto generated setter method + * @param param Entry + */ + public void setEntry(Entry[] param){ + + validateEntry(param); + + localEntryTracker = param != null; + + this.localEntry=param; + } + + + + /** + * Auto generated add method for the array for convenience + * @param param Entry + */ + public void addEntry(Entry param){ + if (localEntry == null){ + localEntry = new Entry[]{}; + } + + + //update the setting tracker + localEntryTracker = true; + + + java.util.List list = + org.apache.axis2.databinding.utils.ConverterUtil.toList(localEntry); + list.add(param); + this.localEntry = + (Entry[])list.toArray( + new Entry[list.size()]); + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName); + return factory.createOMElement(dataSource,parentQName); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":GeneratedKeys", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "GeneratedKeys", + xmlWriter); + } + + + } + if (localEntryTracker){ + if (localEntry!=null){ + for (int i = 0;i < localEntry.length;i++){ + if (localEntry[i] != null){ + localEntry[i].serialize(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","Entry"), + xmlWriter); + } else { + + // we don't have to do any thing since minOccures is zero + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("Entry cannot be null!!"); + + } + } + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localEntryTracker){ + if (localEntry!=null) { + for (int i = 0;i < localEntry.length;i++){ + + if (localEntry[i] != null){ + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "Entry")); + elementList.add(localEntry[i]); + } else { + + // nothing to do + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("Entry cannot be null!!"); + + } + + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GeneratedKeys parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GeneratedKeys object = + new GeneratedKeys(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"GeneratedKeys".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GeneratedKeys)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + java.util.ArrayList list1 = new java.util.ArrayList(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","Entry").equals(reader.getName())){ + + + + // Process the array and step past its final element's end. + list1.add(Entry.Factory.parse(reader)); + + //loop until we find a start element that is not part of this array + boolean loopDone1 = false; + while(!loopDone1){ + // We should be at the end element, but make sure + while (!reader.isEndElement()) + reader.next(); + // Step out of this element + reader.next(); + // Step to next element event. + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + if (reader.isEndElement()){ + //two continuous end elements means we are exiting the xml structure + loopDone1 = true; + } else { + if (new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","Entry").equals(reader.getName())){ + list1.add(Entry.Factory.parse(reader)); + + }else{ + loopDone1 = true; + } + } + } + // call the converter utility to convert and set the array + + object.setEntry((Entry[]) + org.apache.axis2.databinding.utils.ConverterUtil.convertToArray( + Entry.class, + list1)); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class InsertTestResult + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "insertTestResult", + "ns1"); + + + + /** + * field for WSO2_QAP_TEST_CASE_ID + */ + + + protected int localWSO2_QAP_TEST_CASE_ID ; + + + /** + * Auto generated getter method + * @return int + */ + public int getWSO2_QAP_TEST_CASE_ID(){ + return localWSO2_QAP_TEST_CASE_ID; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_CASE_ID + */ + public void setWSO2_QAP_TEST_CASE_ID(int param){ + + this.localWSO2_QAP_TEST_CASE_ID=param; + + + } + + + /** + * field for WSO2_QAP_AUTOMATION_TEST_RESULT + */ + + + protected int localWSO2_QAP_AUTOMATION_TEST_RESULT ; + + + /** + * Auto generated getter method + * @return int + */ + public int getWSO2_QAP_AUTOMATION_TEST_RESULT(){ + return localWSO2_QAP_AUTOMATION_TEST_RESULT; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_AUTOMATION_TEST_RESULT + */ + public void setWSO2_QAP_AUTOMATION_TEST_RESULT(int param){ + + this.localWSO2_QAP_AUTOMATION_TEST_RESULT=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":insertTestResult", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "insertTestResult", + xmlWriter); + } + + + } + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_TEST_CASE_ID", xmlWriter); + + if (localWSO2_QAP_TEST_CASE_ID==java.lang.Integer.MIN_VALUE) { + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_CASE_ID)); + } + + xmlWriter.writeEndElement(); + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_AUTOMATION_TEST_RESULT", xmlWriter); + + if (localWSO2_QAP_AUTOMATION_TEST_RESULT==java.lang.Integer.MIN_VALUE) { + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_AUTOMATION_TEST_RESULT)); + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_CASE_ID")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_CASE_ID)); + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_AUTOMATION_TEST_RESULT")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_AUTOMATION_TEST_RESULT)); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static InsertTestResult parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + InsertTestResult object = + new InsertTestResult(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"insertTestResult".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (InsertTestResult)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_CASE_ID").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_TEST_CASE_ID( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + } else { + + + object.setWSO2_QAP_TEST_CASE_ID(java.lang.Integer.MIN_VALUE); + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_AUTOMATION_TEST_RESULT").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_AUTOMATION_TEST_RESULT( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + } else { + + + object.setWSO2_QAP_AUTOMATION_TEST_RESULT(java.lang.Integer.MIN_VALUE); + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DATA_SERVICE_RESPONSE + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DATA_SERVICE_RESPONSE", + "ns1"); + + + + /** + * field for ExtraElement + */ + + + protected org.apache.axiom.om.OMElement localExtraElement ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExtraElementTracker = false ; + + public boolean isExtraElementSpecified(){ + return localExtraElementTracker; + } + + + + /** + * Auto generated getter method + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getExtraElement(){ + return localExtraElement; + } + + + + /** + * Auto generated setter method + * @param param ExtraElement + */ + public void setExtraElement(org.apache.axiom.om.OMElement param){ + localExtraElementTracker = param != null; + + this.localExtraElement=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DATA_SERVICE_RESPONSE", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DATA_SERVICE_RESPONSE", + xmlWriter); + } + + + } + if (localExtraElementTracker){ + + if (localExtraElement != null) { + localExtraElement.serialize(xmlWriter); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localExtraElementTracker){ + if (localExtraElement != null){ + elementList.add(org.apache.axis2.databinding.utils.Constants.OM_ELEMENT_KEY); + elementList.add(localExtraElement); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DATA_SERVICE_RESPONSE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DATA_SERVICE_RESPONSE object = + new DATA_SERVICE_RESPONSE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"DATA_SERVICE_RESPONSE".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (DATA_SERVICE_RESPONSE)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement()){ + + + + //use the QName from the parser as the name for the builder + javax.xml.namespace.QName startQname1 = reader.getName(); + + // We need to wrap the reader so that it produces a fake START_DOCUMENT event + // this is needed by the builder classes + org.apache.axis2.databinding.utils.NamedStaxOMBuilder builder1 = + new org.apache.axis2.databinding.utils.NamedStaxOMBuilder( + new org.apache.axis2.util.StreamWrapper(reader),startQname1); + object.setExtraElement(builder1.getOMElement()); + + reader.next(); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + private org.apache.axiom.om.OMElement toOM(com.qaportal.InsertTestResultStub.InsertTestResult param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.InsertTestResultStub.InsertTestResult.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.qaportal.InsertTestResultStub.GeneratedKeysE param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.InsertTestResultStub.GeneratedKeysE.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.qaportal.InsertTestResultStub.DataServiceFault param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.InsertTestResultStub.DataServiceFault.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.qaportal.InsertTestResultStub.InsertTestResult param, boolean optimizeContent, javax.xml.namespace.QName methodQName) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.qaportal.InsertTestResultStub.InsertTestResult.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + + /** + * get the default envelope + */ + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory){ + return factory.getDefaultEnvelope(); + } + + + private java.lang.Object fromOM( + org.apache.axiom.om.OMElement param, + java.lang.Class type, + java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ + + try { + + if (com.qaportal.InsertTestResultStub.InsertTestResult.class.equals(type)){ + + return com.qaportal.InsertTestResultStub.InsertTestResult.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.qaportal.InsertTestResultStub.GeneratedKeysE.class.equals(type)){ + + return com.qaportal.InsertTestResultStub.GeneratedKeysE.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.qaportal.InsertTestResultStub.DataServiceFault.class.equals(type)){ + + return com.qaportal.InsertTestResultStub.DataServiceFault.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + } catch (java.lang.Exception e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + return null; + } + + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/TestCaseTestResultMappingCallbackHandler.java b/project/AutoTestResultService/src/com/qaportal/TestCaseTestResultMappingCallbackHandler.java new file mode 100644 index 0000000..ed9ebe1 --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/TestCaseTestResultMappingCallbackHandler.java @@ -0,0 +1,66 @@ + +/** + * TestCaseTestResultMappingCallbackHandler.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + + package com.qaportal; + + /** + * TestCaseTestResultMappingCallbackHandler Callback class, Users can extend this class and implement + * their own receiveResult and receiveError methods. + */ + public abstract class TestCaseTestResultMappingCallbackHandler{ + + + + protected Object clientData; + + /** + * User can pass in any object that needs to be accessed once the NonBlocking + * Web service call is finished and appropriate method of this CallBack is called. + * @param clientData Object mechanism by which the user can pass in user data + * that will be avilable at the time this callback is called. + */ + public TestCaseTestResultMappingCallbackHandler(Object clientData){ + this.clientData = clientData; + } + + /** + * Please use this constructor if you don't want to set any clientData + */ + public TestCaseTestResultMappingCallbackHandler(){ + this.clientData = null; + } + + /** + * Get the client data + */ + + public Object getClientData() { + return clientData; + } + + + /** + * auto generated Axis2 call back method for getTestCaseTestResultMapping method + * override this method for handling normal response from getTestCaseTestResultMapping operation + */ + public void receiveResultgetTestCaseTestResultMapping( + com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE result + ) { + } + + /** + * auto generated Axis2 Error handler + * override this method for handling error response from getTestCaseTestResultMapping operation + */ + public void receiveErrorgetTestCaseTestResultMapping(java.lang.Exception e) { + } + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/TestCaseTestResultMappingStub.java b/project/AutoTestResultService/src/com/qaportal/TestCaseTestResultMappingStub.java new file mode 100644 index 0000000..c398dac --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/TestCaseTestResultMappingStub.java @@ -0,0 +1,3680 @@ + +/** + * TestCaseTestResultMappingStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + package com.qaportal; + + + + /* + * TestCaseTestResultMappingStub java implementation + */ + + + public class TestCaseTestResultMappingStub extends org.apache.axis2.client.Stub + { + protected org.apache.axis2.description.AxisOperation[] _operations; + + //hashmaps to keep the fault mapping + private java.util.HashMap faultExceptionNameMap = new java.util.HashMap(); + private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap(); + private java.util.HashMap faultMessageMap = new java.util.HashMap(); + + private static int counter = 0; + + private static synchronized java.lang.String getUniqueSuffix(){ + // reset the counter if it is greater than 99999 + if (counter > 99999){ + counter = 0; + } + counter = counter + 1; + return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + "_" + counter; + } + + + private void populateAxisService() throws org.apache.axis2.AxisFault { + + //creating the Service with a unique name + _service = new org.apache.axis2.description.AxisService("TestCaseTestResultMapping" + getUniqueSuffix()); + addAnonymousOperations(); + + //creating the operations + org.apache.axis2.description.AxisOperation __operation; + + _operations = new org.apache.axis2.description.AxisOperation[1]; + + __operation = new org.apache.axis2.description.OutInAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", "getTestCaseTestResultMapping")); + _service.addOperation(__operation); + + + + + _operations[0]=__operation; + + + } + + //populates the faults + private void populateFaults(){ + + faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "getTestCaseTestResultMapping"),"com.qaportal.DataServiceFaultException"); + faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "getTestCaseTestResultMapping"),"com.qaportal.DataServiceFaultException"); + faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault"), "getTestCaseTestResultMapping"),"com.qaportal.TestCaseTestResultMappingStub$DataServiceFault"); + + + + } + + /** + *Constructor that takes in a configContext + */ + + public TestCaseTestResultMappingStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint) + throws org.apache.axis2.AxisFault { + this(configurationContext,targetEndpoint,false); + } + + + /** + * Constructor that takes in a configContext and useseperate listner + */ + public TestCaseTestResultMappingStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint, boolean useSeparateListener) + throws org.apache.axis2.AxisFault { + //To populate AxisService + populateAxisService(); + populateFaults(); + + _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,_service); + + + _serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference( + targetEndpoint)); + _serviceClient.getOptions().setUseSeparateListener(useSeparateListener); + + //Set the soap version + _serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); + + + } + + /** + * Default Constructor + */ + public TestCaseTestResultMappingStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault { + + this(configurationContext,"http://localhost:9763/services/TestCaseTestResultMapping.SOAP12Endpoint/" ); + + } + + /** + * Default Constructor + */ + public TestCaseTestResultMappingStub() throws org.apache.axis2.AxisFault { + + this("http://localhost:9763/services/TestCaseTestResultMapping.SOAP12Endpoint/" ); + + } + + /** + * Constructor taking the target endpoint + */ + public TestCaseTestResultMappingStub(java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { + this(null,targetEndpoint); + } + + + + + /** + * Auto generated method signature + * + * @see com.qaportal.TestCaseTestResultMapping#getTestCaseTestResultMapping + * @param getTestCaseTestResultMapping0 + + * @throws com.qaportal.DataServiceFaultException : + */ + + + + public com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE getTestCaseTestResultMapping( + + com.qaportal.TestCaseTestResultMappingStub.GetTestCaseTestResultMapping getTestCaseTestResultMapping0) + + + throws java.rmi.RemoteException + + + ,com.qaportal.DataServiceFaultException{ + org.apache.axis2.context.MessageContext _messageContext = null; + try{ + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("urn:getTestCaseTestResultMapping"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + // create a message context + _messageContext = new org.apache.axis2.context.MessageContext(); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env = null; + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getTestCaseTestResultMapping0, + optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "getTestCaseTestResultMapping")), new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "getTestCaseTestResultMapping")); + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // set the message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + //execute the operation client + _operationClient.execute(true); + + + org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext( + org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); + org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); + + + java.lang.Object object = fromOM( + _returnEnv.getBody().getFirstElement() , + com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE.class, + getEnvelopeNamespaces(_returnEnv)); + + + return (com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE)object; + + }catch(org.apache.axis2.AxisFault f){ + + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCaseTestResultMapping"))){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCaseTestResultMapping")); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class); + java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage()); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCaseTestResultMapping")); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + if (ex instanceof com.qaportal.DataServiceFaultException){ + throw (com.qaportal.DataServiceFaultException)ex; + } + + + throw new java.rmi.RemoteException(ex.getMessage(), ex); + }catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + }catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + throw f; + } + }else{ + throw f; + } + }else{ + throw f; + } + } finally { + if (_messageContext.getTransportOut() != null) { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + } + } + + /** + * Auto generated method signature for Asynchronous Invocations + * + * @see com.qaportal.TestCaseTestResultMapping#startgetTestCaseTestResultMapping + * @param getTestCaseTestResultMapping0 + + */ + public void startgetTestCaseTestResultMapping( + + com.qaportal.TestCaseTestResultMappingStub.GetTestCaseTestResultMapping getTestCaseTestResultMapping0, + + final com.qaportal.TestCaseTestResultMappingCallbackHandler callback) + + throws java.rmi.RemoteException{ + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("urn:getTestCaseTestResultMapping"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + + + // create SOAP envelope with that payload + org.apache.axiom.soap.SOAPEnvelope env=null; + final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + getTestCaseTestResultMapping0, + optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "getTestCaseTestResultMapping")), new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "getTestCaseTestResultMapping")); + + // adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + _messageContext.setEnvelope(env); + + // add the message context to the operation client + _operationClient.addMessageContext(_messageContext); + + + + _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() { + public void onMessage(org.apache.axis2.context.MessageContext resultContext) { + try { + org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope(); + + java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(), + com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE.class, + getEnvelopeNamespaces(resultEnv)); + callback.receiveResultgetTestCaseTestResultMapping( + (com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE)object); + + } catch (org.apache.axis2.AxisFault e) { + callback.receiveErrorgetTestCaseTestResultMapping(e); + } + } + + public void onError(java.lang.Exception error) { + if (error instanceof org.apache.axis2.AxisFault) { + org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error; + org.apache.axiom.om.OMElement faultElt = f.getDetail(); + if (faultElt!=null){ + if (faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCaseTestResultMapping"))){ + //make the fault by reflection + try{ + java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCaseTestResultMapping")); + java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName); + java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class); + java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage()); + //message class + java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),"getTestCaseTestResultMapping")); + java.lang.Class messageClass = java.lang.Class.forName(messageClassName); + java.lang.Object messageObject = fromOM(faultElt,messageClass,null); + java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", + new java.lang.Class[]{messageClass}); + m.invoke(ex,new java.lang.Object[]{messageObject}); + + if (ex instanceof com.qaportal.DataServiceFaultException){ + callback.receiveErrorgetTestCaseTestResultMapping((com.qaportal.DataServiceFaultException)ex); + return; + } + + + callback.receiveErrorgetTestCaseTestResultMapping(new java.rmi.RemoteException(ex.getMessage(), ex)); + } catch(java.lang.ClassCastException e){ + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCaseTestResultMapping(f); + } catch (java.lang.ClassNotFoundException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCaseTestResultMapping(f); + } catch (java.lang.NoSuchMethodException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCaseTestResultMapping(f); + } catch (java.lang.reflect.InvocationTargetException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCaseTestResultMapping(f); + } catch (java.lang.IllegalAccessException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCaseTestResultMapping(f); + } catch (java.lang.InstantiationException e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCaseTestResultMapping(f); + } catch (org.apache.axis2.AxisFault e) { + // we cannot intantiate the class - throw the original Axis fault + callback.receiveErrorgetTestCaseTestResultMapping(f); + } + } else { + callback.receiveErrorgetTestCaseTestResultMapping(f); + } + } else { + callback.receiveErrorgetTestCaseTestResultMapping(f); + } + } else { + callback.receiveErrorgetTestCaseTestResultMapping(error); + } + } + + public void onFault(org.apache.axis2.context.MessageContext faultContext) { + org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext); + onError(fault); + } + + public void onComplete() { + try { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } catch (org.apache.axis2.AxisFault axisFault) { + callback.receiveErrorgetTestCaseTestResultMapping(axisFault); + } + } + }); + + + org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; + if ( _operations[0].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) { + _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); + _operations[0].setMessageReceiver( + _callbackReceiver); + } + + //execute the operation client + _operationClient.execute(false); + + } + + + + /** + * A utility method that copies the namepaces from the SOAPEnvelope + */ + private java.util.Map getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){ + java.util.Map returnMap = new java.util.HashMap(); + java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces(); + while (namespaceIterator.hasNext()) { + org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next(); + returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); + } + return returnMap; + } + + + + private javax.xml.namespace.QName[] opNameArray = null; + private boolean optimizeContent(javax.xml.namespace.QName opName) { + + + if (opNameArray == null) { + return false; + } + for (int i = 0; i < opNameArray.length; i++) { + if (opName.equals(opNameArray[i])) { + return true; + } + } + return false; + } + //http://192.168.43.154:9763/services/TestCaseTestResultMapping.SOAP12Endpoint/ + public static class WSO2_QAP_TEST_RESULT_ID_Collection + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = WSO2_QAP_TEST_RESULT_ID_Collection + Namespace URI = http://ws.wso2.org/dataservice + Namespace Prefix = ns1 + */ + + + /** + * field for WSO2_QAP_TEST_RESULT_ID + * This was an Array! + */ + + + protected WSO2_QAP_TEST_RESULT_ID[] localWSO2_QAP_TEST_RESULT_ID ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localWSO2_QAP_TEST_RESULT_IDTracker = false ; + + public boolean isWSO2_QAP_TEST_RESULT_IDSpecified(){ + return localWSO2_QAP_TEST_RESULT_IDTracker; + } + + + + /** + * Auto generated getter method + * @return WSO2_QAP_TEST_RESULT_ID[] + */ + public WSO2_QAP_TEST_RESULT_ID[] getWSO2_QAP_TEST_RESULT_ID(){ + return localWSO2_QAP_TEST_RESULT_ID; + } + + + + + + + /** + * validate the array for WSO2_QAP_TEST_RESULT_ID + */ + protected void validateWSO2_QAP_TEST_RESULT_ID(WSO2_QAP_TEST_RESULT_ID[] param){ + + } + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_RESULT_ID + */ + public void setWSO2_QAP_TEST_RESULT_ID(WSO2_QAP_TEST_RESULT_ID[] param){ + + validateWSO2_QAP_TEST_RESULT_ID(param); + + localWSO2_QAP_TEST_RESULT_IDTracker = param != null; + + this.localWSO2_QAP_TEST_RESULT_ID=param; + } + + + + /** + * Auto generated add method for the array for convenience + * @param param WSO2_QAP_TEST_RESULT_ID + */ + public void addWSO2_QAP_TEST_RESULT_ID(WSO2_QAP_TEST_RESULT_ID param){ + if (localWSO2_QAP_TEST_RESULT_ID == null){ + localWSO2_QAP_TEST_RESULT_ID = new WSO2_QAP_TEST_RESULT_ID[]{}; + } + + + //update the setting tracker + localWSO2_QAP_TEST_RESULT_IDTracker = true; + + + java.util.List list = + org.apache.axis2.databinding.utils.ConverterUtil.toList(localWSO2_QAP_TEST_RESULT_ID); + list.add(param); + this.localWSO2_QAP_TEST_RESULT_ID = + (WSO2_QAP_TEST_RESULT_ID[])list.toArray( + new WSO2_QAP_TEST_RESULT_ID[list.size()]); + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName); + return factory.createOMElement(dataSource,parentQName); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":WSO2_QAP_TEST_RESULT_ID_Collection", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "WSO2_QAP_TEST_RESULT_ID_Collection", + xmlWriter); + } + + + } + if (localWSO2_QAP_TEST_RESULT_IDTracker){ + if (localWSO2_QAP_TEST_RESULT_ID!=null){ + for (int i = 0;i < localWSO2_QAP_TEST_RESULT_ID.length;i++){ + if (localWSO2_QAP_TEST_RESULT_ID[i] != null){ + localWSO2_QAP_TEST_RESULT_ID[i].serialize(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_RESULT_ID"), + xmlWriter); + } else { + + // we don't have to do any thing since minOccures is zero + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("WSO2_QAP_TEST_RESULT_ID cannot be null!!"); + + } + } + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localWSO2_QAP_TEST_RESULT_IDTracker){ + if (localWSO2_QAP_TEST_RESULT_ID!=null) { + for (int i = 0;i < localWSO2_QAP_TEST_RESULT_ID.length;i++){ + + if (localWSO2_QAP_TEST_RESULT_ID[i] != null){ + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_RESULT_ID")); + elementList.add(localWSO2_QAP_TEST_RESULT_ID[i]); + } else { + + // nothing to do + + } + + } + } else { + + throw new org.apache.axis2.databinding.ADBException("WSO2_QAP_TEST_RESULT_ID cannot be null!!"); + + } + + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static WSO2_QAP_TEST_RESULT_ID_Collection parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + WSO2_QAP_TEST_RESULT_ID_Collection object = + new WSO2_QAP_TEST_RESULT_ID_Collection(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"WSO2_QAP_TEST_RESULT_ID_Collection".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (WSO2_QAP_TEST_RESULT_ID_Collection)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + java.util.ArrayList list1 = new java.util.ArrayList(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_RESULT_ID").equals(reader.getName())){ + + + + // Process the array and step past its final element's end. + list1.add(WSO2_QAP_TEST_RESULT_ID.Factory.parse(reader)); + + //loop until we find a start element that is not part of this array + boolean loopDone1 = false; + while(!loopDone1){ + // We should be at the end element, but make sure + while (!reader.isEndElement()) + reader.next(); + // Step out of this element + reader.next(); + // Step to next element event. + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + if (reader.isEndElement()){ + //two continuous end elements means we are exiting the xml structure + loopDone1 = true; + } else { + if (new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_RESULT_ID").equals(reader.getName())){ + list1.add(WSO2_QAP_TEST_RESULT_ID.Factory.parse(reader)); + + }else{ + loopDone1 = true; + } + } + } + // call the converter utility to convert and set the array + + object.setWSO2_QAP_TEST_RESULT_ID((WSO2_QAP_TEST_RESULT_ID[]) + org.apache.axis2.databinding.utils.ConverterUtil.convertToArray( + WSO2_QAP_TEST_RESULT_ID.class, + list1)); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class WSO2_QAP_TEST_RESULT_ID + implements org.apache.axis2.databinding.ADBBean{ + /* This type was generated from the piece of schema that had + name = WSO2_QAP_TEST_RESULT_ID + Namespace URI = http://ws.wso2.org/dataservice + Namespace Prefix = ns1 + */ + + + /** + * field for WSO2_QAP_TEST_RESULT_ID + */ + + + protected java.math.BigInteger localWSO2_QAP_TEST_RESULT_ID ; + + + /** + * Auto generated getter method + * @return java.math.BigInteger + */ + public java.math.BigInteger getWSO2_QAP_TEST_RESULT_ID(){ + return localWSO2_QAP_TEST_RESULT_ID; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_RESULT_ID + */ + public void setWSO2_QAP_TEST_RESULT_ID(java.math.BigInteger param){ + + this.localWSO2_QAP_TEST_RESULT_ID=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,parentQName); + return factory.createOMElement(dataSource,parentQName); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":WSO2_QAP_TEST_RESULT_ID", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "WSO2_QAP_TEST_RESULT_ID", + xmlWriter); + } + + + } + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_TEST_RESULT_ID", xmlWriter); + + + if (localWSO2_QAP_TEST_RESULT_ID==null){ + // write the nil attribute + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + }else{ + + + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_RESULT_ID)); + + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_RESULT_ID")); + + elementList.add(localWSO2_QAP_TEST_RESULT_ID==null?null: + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_RESULT_ID)); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static WSO2_QAP_TEST_RESULT_ID parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + WSO2_QAP_TEST_RESULT_ID object = + new WSO2_QAP_TEST_RESULT_ID(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"WSO2_QAP_TEST_RESULT_ID".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (WSO2_QAP_TEST_RESULT_ID)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_RESULT_ID").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_TEST_RESULT_ID( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInteger(content)); + + } else { + + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DataServiceFault + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DataServiceFault", + "ns1"); + + + + /** + * field for DataServiceFault + */ + + + protected java.lang.String localDataServiceFault ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getDataServiceFault(){ + return localDataServiceFault; + } + + + + /** + * Auto generated setter method + * @param param DataServiceFault + */ + public void setDataServiceFault(java.lang.String param){ + + this.localDataServiceFault=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "DataServiceFault"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DataServiceFault", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DataServiceFault", + xmlWriter); + } + } + + if (localDataServiceFault==null){ + + throw new org.apache.axis2.databinding.ADBException("DataServiceFault cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localDataServiceFault); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localDataServiceFault) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DataServiceFault parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DataServiceFault object = + new DataServiceFault(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"DataServiceFault" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setDataServiceFault( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class ExtensionMapper{ + + public static java.lang.Object getTypeObject(java.lang.String namespaceURI, + java.lang.String typeName, + javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + + + if ( + "http://ws.wso2.org/dataservice".equals(namespaceURI) && + "WSO2_QAP_TEST_RESULT_ID_Collection".equals(typeName)){ + + return WSO2_QAP_TEST_RESULT_ID_Collection.Factory.parse(reader); + + + } + + + if ( + "http://ws.wso2.org/dataservice".equals(namespaceURI) && + "WSO2_QAP_TEST_RESULT_ID".equals(typeName)){ + + return WSO2_QAP_TEST_RESULT_ID.Factory.parse(reader); + + + } + + + throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName); + } + + } + + public static class REQUEST_STATUS + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "REQUEST_STATUS", + "ns1"); + + + + /** + * field for REQUEST_STATUS + */ + + + protected java.lang.String localREQUEST_STATUS ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getREQUEST_STATUS(){ + return localREQUEST_STATUS; + } + + + + /** + * Auto generated setter method + * @param param REQUEST_STATUS + */ + public void setREQUEST_STATUS(java.lang.String param){ + + this.localREQUEST_STATUS=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "REQUEST_STATUS"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":REQUEST_STATUS", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "REQUEST_STATUS", + xmlWriter); + } + } + + if (localREQUEST_STATUS==null){ + + throw new org.apache.axis2.databinding.ADBException("REQUEST_STATUS cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localREQUEST_STATUS); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localREQUEST_STATUS) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static REQUEST_STATUS parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + REQUEST_STATUS object = + new REQUEST_STATUS(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","REQUEST_STATUS").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"REQUEST_STATUS" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setREQUEST_STATUS( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class WSO2_QAP_TEST_RESULT_ID_CollectionE + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_RESULT_ID_Collection", + "ns1"); + + + + /** + * field for WSO2_QAP_TEST_RESULT_ID_Collection + */ + + + protected WSO2_QAP_TEST_RESULT_ID_Collection localWSO2_QAP_TEST_RESULT_ID_Collection ; + + + /** + * Auto generated getter method + * @return WSO2_QAP_TEST_RESULT_ID_Collection + */ + public WSO2_QAP_TEST_RESULT_ID_Collection getWSO2_QAP_TEST_RESULT_ID_Collection(){ + return localWSO2_QAP_TEST_RESULT_ID_Collection; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_RESULT_ID_Collection + */ + public void setWSO2_QAP_TEST_RESULT_ID_Collection(WSO2_QAP_TEST_RESULT_ID_Collection param){ + + this.localWSO2_QAP_TEST_RESULT_ID_Collection=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + if (localWSO2_QAP_TEST_RESULT_ID_Collection==null){ + throw new org.apache.axis2.databinding.ADBException("WSO2_QAP_TEST_RESULT_ID_Collection cannot be null!"); + } + localWSO2_QAP_TEST_RESULT_ID_Collection.serialize(MY_QNAME,xmlWriter); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return localWSO2_QAP_TEST_RESULT_ID_Collection.getPullParser(MY_QNAME); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static WSO2_QAP_TEST_RESULT_ID_CollectionE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + WSO2_QAP_TEST_RESULT_ID_CollectionE object = + new WSO2_QAP_TEST_RESULT_ID_CollectionE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_RESULT_ID_Collection").equals(reader.getName())){ + + object.setWSO2_QAP_TEST_RESULT_ID_Collection(WSO2_QAP_TEST_RESULT_ID_Collection.Factory.parse(reader)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class GetTestCaseTestResultMapping + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "getTestCaseTestResultMapping", + "ns1"); + + + + /** + * field for WSO2_QAP_TEST_CASE_ID + * This was an Array! + */ + + + protected int[] localWSO2_QAP_TEST_CASE_ID ; + + + /** + * Auto generated getter method + * @return int[] + */ + public int[] getWSO2_QAP_TEST_CASE_ID(){ + return localWSO2_QAP_TEST_CASE_ID; + } + + + + + + + /** + * validate the array for WSO2_QAP_TEST_CASE_ID + */ + protected void validateWSO2_QAP_TEST_CASE_ID(int[] param){ + + if ((param != null) && (param.length < 1)){ + throw new java.lang.RuntimeException(); + } + + } + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_CASE_ID + */ + public void setWSO2_QAP_TEST_CASE_ID(int[] param){ + + validateWSO2_QAP_TEST_CASE_ID(param); + + + this.localWSO2_QAP_TEST_CASE_ID=param; + } + + + + + /** + * field for WSO2_QAP_BUILD_NAME + */ + + + protected java.lang.String localWSO2_QAP_BUILD_NAME ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getWSO2_QAP_BUILD_NAME(){ + return localWSO2_QAP_BUILD_NAME; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_BUILD_NAME + */ + public void setWSO2_QAP_BUILD_NAME(java.lang.String param){ + + this.localWSO2_QAP_BUILD_NAME=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":getTestCaseTestResultMapping", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "getTestCaseTestResultMapping", + xmlWriter); + } + + + } + + if (localWSO2_QAP_TEST_CASE_ID!=null) { + namespace = "http://ws.wso2.org/dataservice"; + for (int i = 0;i < localWSO2_QAP_TEST_CASE_ID.length;i++){ + + if (localWSO2_QAP_TEST_CASE_ID[i]!=java.lang.Integer.MIN_VALUE) { + + writeStartElement(null, namespace, "WSO2_QAP_TEST_CASE_ID", xmlWriter); + + + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_CASE_ID[i])); + xmlWriter.writeEndElement(); + + } else { + + // write null attribute + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_TEST_CASE_ID", xmlWriter); + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + xmlWriter.writeEndElement(); + + } + + } + } else { + + // write the null attribute + // write null attribute + writeStartElement(null, "http://ws.wso2.org/dataservice", "WSO2_QAP_TEST_CASE_ID", xmlWriter); + + // write the nil attribute + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + xmlWriter.writeEndElement(); + + } + + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_BUILD_NAME", xmlWriter); + + + if (localWSO2_QAP_BUILD_NAME==null){ + // write the nil attribute + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + }else{ + + + xmlWriter.writeCharacters(localWSO2_QAP_BUILD_NAME); + + } + + xmlWriter.writeEndElement(); + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + if (localWSO2_QAP_TEST_CASE_ID!=null){ + for (int i = 0;i < localWSO2_QAP_TEST_CASE_ID.length;i++){ + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_CASE_ID")); + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_CASE_ID[i])); + + + + } + } else { + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_CASE_ID")); + elementList.add(null); + + } + + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_BUILD_NAME")); + + elementList.add(localWSO2_QAP_BUILD_NAME==null?null: + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_BUILD_NAME)); + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static GetTestCaseTestResultMapping parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + GetTestCaseTestResultMapping object = + new GetTestCaseTestResultMapping(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"getTestCaseTestResultMapping".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (GetTestCaseTestResultMapping)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + java.util.ArrayList list1 = new java.util.ArrayList(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_CASE_ID").equals(reader.getName())){ + + + + // Process the array and step past its final element's end. + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + list1.add(String.valueOf(java.lang.Integer.MIN_VALUE)); + + reader.next(); + } else { + list1.add(reader.getElementText()); + } + //loop until we find a start element that is not part of this array + boolean loopDone1 = false; + while(!loopDone1){ + // Ensure we are at the EndElement + while (!reader.isEndElement()){ + reader.next(); + } + // Step out of this element + reader.next(); + // Step to next element event. + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + if (reader.isEndElement()){ + //two continuous end elements means we are exiting the xml structure + loopDone1 = true; + } else { + if (new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_CASE_ID").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + list1.add(String.valueOf(java.lang.Integer.MIN_VALUE)); + + reader.next(); + } else { + list1.add(reader.getElementText()); + } + }else{ + loopDone1 = true; + } + } + } + // call the converter utility to convert and set the array + + object.setWSO2_QAP_TEST_CASE_ID((int[]) + org.apache.axis2.databinding.utils.ConverterUtil.convertToArray( + int.class,list1)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_BUILD_NAME").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_BUILD_NAME( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } else { + + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DATA_SERVICE_RESPONSE + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DATA_SERVICE_RESPONSE", + "ns1"); + + + + /** + * field for ExtraElement + */ + + + protected org.apache.axiom.om.OMElement localExtraElement ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExtraElementTracker = false ; + + public boolean isExtraElementSpecified(){ + return localExtraElementTracker; + } + + + + /** + * Auto generated getter method + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getExtraElement(){ + return localExtraElement; + } + + + + /** + * Auto generated setter method + * @param param ExtraElement + */ + public void setExtraElement(org.apache.axiom.om.OMElement param){ + localExtraElementTracker = param != null; + + this.localExtraElement=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DATA_SERVICE_RESPONSE", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DATA_SERVICE_RESPONSE", + xmlWriter); + } + + + } + if (localExtraElementTracker){ + + if (localExtraElement != null) { + localExtraElement.serialize(xmlWriter); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localExtraElementTracker){ + if (localExtraElement != null){ + elementList.add(org.apache.axis2.databinding.utils.Constants.OM_ELEMENT_KEY); + elementList.add(localExtraElement); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DATA_SERVICE_RESPONSE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DATA_SERVICE_RESPONSE object = + new DATA_SERVICE_RESPONSE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"DATA_SERVICE_RESPONSE".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (DATA_SERVICE_RESPONSE)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement()){ + + + + //use the QName from the parser as the name for the builder + javax.xml.namespace.QName startQname1 = reader.getName(); + + // We need to wrap the reader so that it produces a fake START_DOCUMENT event + // this is needed by the builder classes + org.apache.axis2.databinding.utils.NamedStaxOMBuilder builder1 = + new org.apache.axis2.databinding.utils.NamedStaxOMBuilder( + new org.apache.axis2.util.StreamWrapper(reader),startQname1); + object.setExtraElement(builder1.getOMElement()); + + reader.next(); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + private org.apache.axiom.om.OMElement toOM(com.qaportal.TestCaseTestResultMappingStub.GetTestCaseTestResultMapping param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.TestCaseTestResultMappingStub.GetTestCaseTestResultMapping.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + private org.apache.axiom.om.OMElement toOM(com.qaportal.TestCaseTestResultMappingStub.DataServiceFault param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.TestCaseTestResultMappingStub.DataServiceFault.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.qaportal.TestCaseTestResultMappingStub.GetTestCaseTestResultMapping param, boolean optimizeContent, javax.xml.namespace.QName methodQName) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.qaportal.TestCaseTestResultMappingStub.GetTestCaseTestResultMapping.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + + /** + * get the default envelope + */ + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory){ + return factory.getDefaultEnvelope(); + } + + + private java.lang.Object fromOM( + org.apache.axiom.om.OMElement param, + java.lang.Class type, + java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ + + try { + + if (com.qaportal.TestCaseTestResultMappingStub.GetTestCaseTestResultMapping.class.equals(type)){ + + return com.qaportal.TestCaseTestResultMappingStub.GetTestCaseTestResultMapping.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE.class.equals(type)){ + + return com.qaportal.TestCaseTestResultMappingStub.WSO2_QAP_TEST_RESULT_ID_CollectionE.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + if (com.qaportal.TestCaseTestResultMappingStub.DataServiceFault.class.equals(type)){ + + return com.qaportal.TestCaseTestResultMappingStub.DataServiceFault.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + } catch (java.lang.Exception e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + return null; + } + + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/UpdateResultsServiceCallbackHandler.java b/project/AutoTestResultService/src/com/qaportal/UpdateResultsServiceCallbackHandler.java new file mode 100644 index 0000000..d3266ab --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/UpdateResultsServiceCallbackHandler.java @@ -0,0 +1,52 @@ + +/** + * UpdateResultsServiceCallbackHandler.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + + package com.qaportal; + + /** + * UpdateResultsServiceCallbackHandler Callback class, Users can extend this class and implement + * their own receiveResult and receiveError methods. + */ + public abstract class UpdateResultsServiceCallbackHandler{ + + + + protected Object clientData; + + /** + * User can pass in any object that needs to be accessed once the NonBlocking + * Web service call is finished and appropriate method of this CallBack is called. + * @param clientData Object mechanism by which the user can pass in user data + * that will be avilable at the time this callback is called. + */ + public UpdateResultsServiceCallbackHandler(Object clientData){ + this.clientData = clientData; + } + + /** + * Please use this constructor if you don't want to set any clientData + */ + public UpdateResultsServiceCallbackHandler(){ + this.clientData = null; + } + + /** + * Get the client data + */ + + public Object getClientData() { + return clientData; + } + + + // No methods generated for meps other than in-out + + + + } + \ No newline at end of file diff --git a/project/AutoTestResultService/src/com/qaportal/UpdateResultsServiceStub.java b/project/AutoTestResultService/src/com/qaportal/UpdateResultsServiceStub.java new file mode 100644 index 0000000..5cba5df --- /dev/null +++ b/project/AutoTestResultService/src/com/qaportal/UpdateResultsServiceStub.java @@ -0,0 +1,2094 @@ + +/** + * UpdateResultsServiceStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) + */ + package com.qaportal; + + + + /* + * UpdateResultsServiceStub java implementation + */ + + + public class UpdateResultsServiceStub extends org.apache.axis2.client.Stub + { + protected org.apache.axis2.description.AxisOperation[] _operations; + + //hashmaps to keep the fault mapping + private java.util.HashMap faultExceptionNameMap = new java.util.HashMap(); + private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap(); + private java.util.HashMap faultMessageMap = new java.util.HashMap(); + + private static int counter = 0; + + private static synchronized java.lang.String getUniqueSuffix(){ + // reset the counter if it is greater than 99999 + if (counter > 99999){ + counter = 0; + } + counter = counter + 1; + return java.lang.Long.toString(java.lang.System.currentTimeMillis()) + "_" + counter; + } + + + private void populateAxisService() throws org.apache.axis2.AxisFault { + + //creating the Service with a unique name + _service = new org.apache.axis2.description.AxisService("UpdateResultsService" + getUniqueSuffix()); + addAnonymousOperations(); + + //creating the operations + org.apache.axis2.description.AxisOperation __operation; + + _operations = new org.apache.axis2.description.AxisOperation[1]; + + __operation = new org.apache.axis2.description.OutOnlyAxisOperation(); + + + __operation.setName(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", "updateTestResult")); + _service.addOperation(__operation); + + + + + _operations[0]=__operation; + + + } + + //populates the faults + private void populateFaults(){ + + + + } + + /** + *Constructor that takes in a configContext + */ + + public UpdateResultsServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint) + throws org.apache.axis2.AxisFault { + this(configurationContext,targetEndpoint,false); + } + + + /** + * Constructor that takes in a configContext and useseperate listner + */ + public UpdateResultsServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, + java.lang.String targetEndpoint, boolean useSeparateListener) + throws org.apache.axis2.AxisFault { + //To populate AxisService + populateAxisService(); + populateFaults(); + + _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,_service); + + + _serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference( + targetEndpoint)); + _serviceClient.getOptions().setUseSeparateListener(useSeparateListener); + + //Set the soap version + _serviceClient.getOptions().setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); + + + } + + /** + * Default Constructor + */ + public UpdateResultsServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault { + + this(configurationContext,"http://localhost:9763/services/UpdateResultsService.SOAP12Endpoint/" ); + + } + + /** + * Default Constructor + */ + public UpdateResultsServiceStub() throws org.apache.axis2.AxisFault { + + this("http://localhost:9763/services/UpdateResultsService.SOAP12Endpoint/" ); + + } + + /** + * Constructor taking the target endpoint + */ + public UpdateResultsServiceStub(java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { + this(null,targetEndpoint); + } + + + + + + /** + * Auto generated method signature + * + */ + public void updateTestResult( + com.qaportal.UpdateResultsServiceStub.UpdateTestResult updateTestResult0 + + ) throws java.rmi.RemoteException + + + { + org.apache.axis2.context.MessageContext _messageContext = null; + + + org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName()); + _operationClient.getOptions().setAction("urn:updateTestResult"); + _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); + + + + addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,"&"); + + org.apache.axiom.soap.SOAPEnvelope env = null; + _messageContext = new org.apache.axis2.context.MessageContext(); + + + //Style is Doc. + + + env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), + updateTestResult0, + optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "updateTestResult")),new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "updateTestResult")); + + + //adding SOAP soap_headers + _serviceClient.addHeadersToEnvelope(env); + // create message context with that soap envelope + + _messageContext.setEnvelope(env); + + // add the message contxt to the operation client + _operationClient.addMessageContext(_messageContext); + + _operationClient.execute(true); + + + if (_messageContext.getTransportOut() != null) { + _messageContext.getTransportOut().getSender().cleanup(_messageContext); + } + + return; + } + + + + /** + * A utility method that copies the namepaces from the SOAPEnvelope + */ + private java.util.Map getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){ + java.util.Map returnMap = new java.util.HashMap(); + java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces(); + while (namespaceIterator.hasNext()) { + org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next(); + returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); + } + return returnMap; + } + + + + private javax.xml.namespace.QName[] opNameArray = null; + private boolean optimizeContent(javax.xml.namespace.QName opName) { + + + if (opNameArray == null) { + return false; + } + for (int i = 0; i < opNameArray.length; i++) { + if (opName.equals(opNameArray[i])) { + return true; + } + } + return false; + } + //http://192.168.43.154:9763/services/UpdateResultsService.SOAP12Endpoint/ + public static class DataServiceFault + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DataServiceFault", + "ns1"); + + + + /** + * field for DataServiceFault + */ + + + protected java.lang.String localDataServiceFault ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getDataServiceFault(){ + return localDataServiceFault; + } + + + + /** + * Auto generated setter method + * @param param DataServiceFault + */ + public void setDataServiceFault(java.lang.String param){ + + this.localDataServiceFault=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "DataServiceFault"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DataServiceFault", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DataServiceFault", + xmlWriter); + } + } + + if (localDataServiceFault==null){ + + throw new org.apache.axis2.databinding.ADBException("DataServiceFault cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localDataServiceFault); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localDataServiceFault) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DataServiceFault parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DataServiceFault object = + new DataServiceFault(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","DataServiceFault").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"DataServiceFault" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setDataServiceFault( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class ExtensionMapper{ + + public static java.lang.Object getTypeObject(java.lang.String namespaceURI, + java.lang.String typeName, + javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + + + throw new org.apache.axis2.databinding.ADBException("Unsupported type " + namespaceURI + " " + typeName); + } + + } + + public static class REQUEST_STATUS + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "REQUEST_STATUS", + "ns1"); + + + + /** + * field for REQUEST_STATUS + */ + + + protected java.lang.String localREQUEST_STATUS ; + + + /** + * Auto generated getter method + * @return java.lang.String + */ + public java.lang.String getREQUEST_STATUS(){ + return localREQUEST_STATUS; + } + + + + /** + * Auto generated setter method + * @param param REQUEST_STATUS + */ + public void setREQUEST_STATUS(java.lang.String param){ + + this.localREQUEST_STATUS=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + //We can safely assume an element has only one type associated with it + + java.lang.String namespace = "http://ws.wso2.org/dataservice"; + java.lang.String _localName = "REQUEST_STATUS"; + + writeStartElement(null, namespace, _localName, xmlWriter); + + // add the type details if this is used in a simple type + if (serializeType){ + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":REQUEST_STATUS", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "REQUEST_STATUS", + xmlWriter); + } + } + + if (localREQUEST_STATUS==null){ + + throw new org.apache.axis2.databinding.ADBException("REQUEST_STATUS cannot be null !!"); + + }else{ + + xmlWriter.writeCharacters(localREQUEST_STATUS); + + } + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + + //We can safely assume an element has only one type associated with it + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME, + new java.lang.Object[]{ + org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT, + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localREQUEST_STATUS) + }, + null); + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static REQUEST_STATUS parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + REQUEST_STATUS object = + new REQUEST_STATUS(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + while(!reader.isEndElement()) { + if (reader.isStartElement() ){ + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","REQUEST_STATUS").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + throw new org.apache.axis2.databinding.ADBException("The element: "+"REQUEST_STATUS" +" cannot be null"); + } + + + java.lang.String content = reader.getElementText(); + + object.setREQUEST_STATUS( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + } else { + reader.next(); + } + } // end of while loop + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class UpdateTestResult + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "updateTestResult", + "ns1"); + + + + /** + * field for WSO2_QAP_AUTOMATION_TEST_RESULT + */ + + + protected int localWSO2_QAP_AUTOMATION_TEST_RESULT ; + + + /** + * Auto generated getter method + * @return int + */ + public int getWSO2_QAP_AUTOMATION_TEST_RESULT(){ + return localWSO2_QAP_AUTOMATION_TEST_RESULT; + } + + + + /** + * Auto generated setter method + * @param param WSO2_QAP_AUTOMATION_TEST_RESULT + */ + public void setWSO2_QAP_AUTOMATION_TEST_RESULT(int param){ + + this.localWSO2_QAP_AUTOMATION_TEST_RESULT=param; + + + } + + + /** + * field for WSO2_QAP_TEST_RESULT_ID + * This was an Array! + */ + + + protected int[] localWSO2_QAP_TEST_RESULT_ID ; + + + /** + * Auto generated getter method + * @return int[] + */ + public int[] getWSO2_QAP_TEST_RESULT_ID(){ + return localWSO2_QAP_TEST_RESULT_ID; + } + + + + + + + /** + * validate the array for WSO2_QAP_TEST_RESULT_ID + */ + protected void validateWSO2_QAP_TEST_RESULT_ID(int[] param){ + + if ((param != null) && (param.length < 1)){ + throw new java.lang.RuntimeException(); + } + + } + + + /** + * Auto generated setter method + * @param param WSO2_QAP_TEST_RESULT_ID + */ + public void setWSO2_QAP_TEST_RESULT_ID(int[] param){ + + validateWSO2_QAP_TEST_RESULT_ID(param); + + + this.localWSO2_QAP_TEST_RESULT_ID=param; + } + + + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":updateTestResult", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "updateTestResult", + xmlWriter); + } + + + } + + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_AUTOMATION_TEST_RESULT", xmlWriter); + + if (localWSO2_QAP_AUTOMATION_TEST_RESULT==java.lang.Integer.MIN_VALUE) { + + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_AUTOMATION_TEST_RESULT)); + } + + xmlWriter.writeEndElement(); + + if (localWSO2_QAP_TEST_RESULT_ID!=null) { + namespace = "http://ws.wso2.org/dataservice"; + for (int i = 0;i < localWSO2_QAP_TEST_RESULT_ID.length;i++){ + + if (localWSO2_QAP_TEST_RESULT_ID[i]!=java.lang.Integer.MIN_VALUE) { + + writeStartElement(null, namespace, "WSO2_QAP_TEST_RESULT_ID", xmlWriter); + + + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_RESULT_ID[i])); + xmlWriter.writeEndElement(); + + } else { + + // write null attribute + namespace = "http://ws.wso2.org/dataservice"; + writeStartElement(null, namespace, "WSO2_QAP_TEST_RESULT_ID", xmlWriter); + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + xmlWriter.writeEndElement(); + + } + + } + } else { + + // write the null attribute + // write null attribute + writeStartElement(null, "http://ws.wso2.org/dataservice", "WSO2_QAP_TEST_RESULT_ID", xmlWriter); + + // write the nil attribute + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","nil","1",xmlWriter); + xmlWriter.writeEndElement(); + + } + + + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_AUTOMATION_TEST_RESULT")); + + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_AUTOMATION_TEST_RESULT)); + + if (localWSO2_QAP_TEST_RESULT_ID!=null){ + for (int i = 0;i < localWSO2_QAP_TEST_RESULT_ID.length;i++){ + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_RESULT_ID")); + elementList.add( + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWSO2_QAP_TEST_RESULT_ID[i])); + + + + } + } else { + + elementList.add(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice", + "WSO2_QAP_TEST_RESULT_ID")); + elementList.add(null); + + } + + + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static UpdateTestResult parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + UpdateTestResult object = + new UpdateTestResult(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"updateTestResult".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (UpdateTestResult)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + java.util.ArrayList list2 = new java.util.ArrayList(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_AUTOMATION_TEST_RESULT").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if (!"true".equals(nillableValue) && !"1".equals(nillableValue)){ + + + java.lang.String content = reader.getElementText(); + + object.setWSO2_QAP_AUTOMATION_TEST_RESULT( + org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content)); + + } else { + + + object.setWSO2_QAP_AUTOMATION_TEST_RESULT(java.lang.Integer.MIN_VALUE); + + reader.getElementText(); // throw away text nodes if any. + } + + reader.next(); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement() && new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_RESULT_ID").equals(reader.getName())){ + + + + // Process the array and step past its final element's end. + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + list2.add(String.valueOf(java.lang.Integer.MIN_VALUE)); + + reader.next(); + } else { + list2.add(reader.getElementText()); + } + //loop until we find a start element that is not part of this array + boolean loopDone2 = false; + while(!loopDone2){ + // Ensure we are at the EndElement + while (!reader.isEndElement()){ + reader.next(); + } + // Step out of this element + reader.next(); + // Step to next element event. + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + if (reader.isEndElement()){ + //two continuous end elements means we are exiting the xml structure + loopDone2 = true; + } else { + if (new javax.xml.namespace.QName("http://ws.wso2.org/dataservice","WSO2_QAP_TEST_RESULT_ID").equals(reader.getName())){ + + nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"); + if ("true".equals(nillableValue) || "1".equals(nillableValue)){ + list2.add(String.valueOf(java.lang.Integer.MIN_VALUE)); + + reader.next(); + } else { + list2.add(reader.getElementText()); + } + }else{ + loopDone2 = true; + } + } + } + // call the converter utility to convert and set the array + + object.setWSO2_QAP_TEST_RESULT_ID((int[]) + org.apache.axis2.databinding.utils.ConverterUtil.convertToArray( + int.class,list2)); + + } // End of if for expected property start element + + else{ + // A start element we are not expecting indicates an invalid parameter was passed + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + public static class DATA_SERVICE_RESPONSE + implements org.apache.axis2.databinding.ADBBean{ + + public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName( + "http://ws.wso2.org/dataservice", + "DATA_SERVICE_RESPONSE", + "ns1"); + + + + /** + * field for ExtraElement + */ + + + protected org.apache.axiom.om.OMElement localExtraElement ; + + /* This tracker boolean wil be used to detect whether the user called the set method + * for this attribute. It will be used to determine whether to include this field + * in the serialized XML + */ + protected boolean localExtraElementTracker = false ; + + public boolean isExtraElementSpecified(){ + return localExtraElementTracker; + } + + + + /** + * Auto generated getter method + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getExtraElement(){ + return localExtraElement; + } + + + + /** + * Auto generated setter method + * @param param ExtraElement + */ + public void setExtraElement(org.apache.axiom.om.OMElement param){ + localExtraElementTracker = param != null; + + this.localExtraElement=param; + + + } + + + + + /** + * + * @param parentQName + * @param factory + * @return org.apache.axiom.om.OMElement + */ + public org.apache.axiom.om.OMElement getOMElement ( + final javax.xml.namespace.QName parentQName, + final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{ + + + + org.apache.axiom.om.OMDataSource dataSource = + new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME); + return factory.createOMElement(dataSource,MY_QNAME); + + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + serialize(parentQName,xmlWriter,false); + } + + public void serialize(final javax.xml.namespace.QName parentQName, + javax.xml.stream.XMLStreamWriter xmlWriter, + boolean serializeType) + throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{ + + + + + java.lang.String prefix = null; + java.lang.String namespace = null; + + + prefix = parentQName.getPrefix(); + namespace = parentQName.getNamespaceURI(); + writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); + + if (serializeType){ + + + java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ws.wso2.org/dataservice"); + if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){ + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + namespacePrefix+":DATA_SERVICE_RESPONSE", + xmlWriter); + } else { + writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type", + "DATA_SERVICE_RESPONSE", + xmlWriter); + } + + + } + if (localExtraElementTracker){ + + if (localExtraElement != null) { + localExtraElement.serialize(xmlWriter); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + xmlWriter.writeEndElement(); + + + } + + private static java.lang.String generatePrefix(java.lang.String namespace) { + if(namespace.equals("http://ws.wso2.org/dataservice")){ + return "ns1"; + } + return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + + /** + * Utility method to write an element start tag. + */ + private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String writerPrefix = xmlWriter.getPrefix(namespace); + if (writerPrefix != null) { + xmlWriter.writeStartElement(namespace, localPart); + } else { + if (namespace.length() == 0) { + prefix = ""; + } else if (prefix == null) { + prefix = generatePrefix(namespace); + } + + xmlWriter.writeStartElement(prefix, localPart, namespace); + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + } + + /** + * Util method to write an attribute with the ns prefix + */ + private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (xmlWriter.getPrefix(namespace) == null) { + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + xmlWriter.writeAttribute(namespace,attName,attValue); + } + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeAttribute(java.lang.String namespace,java.lang.String attName, + java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{ + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName,attValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace,attName,attValue); + } + } + + + /** + * Util method to write an attribute without the ns prefix + */ + private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName, + javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + java.lang.String attributeNamespace = qname.getNamespaceURI(); + java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace); + if (attributePrefix == null) { + attributePrefix = registerPrefix(xmlWriter, attributeNamespace); + } + java.lang.String attributeValue; + if (attributePrefix.trim().length() > 0) { + attributeValue = attributePrefix + ":" + qname.getLocalPart(); + } else { + attributeValue = qname.getLocalPart(); + } + + if (namespace.equals("")) { + xmlWriter.writeAttribute(attName, attributeValue); + } else { + registerPrefix(xmlWriter, namespace); + xmlWriter.writeAttribute(namespace, attName, attributeValue); + } + } + /** + * method to handle Qnames + */ + + private void writeQName(javax.xml.namespace.QName qname, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + java.lang.String namespaceURI = qname.getNamespaceURI(); + if (namespaceURI != null) { + java.lang.String prefix = xmlWriter.getPrefix(namespaceURI); + if (prefix == null) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } else { + // i.e this is the default namespace + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + + } else { + xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname)); + } + } + + private void writeQNames(javax.xml.namespace.QName[] qnames, + javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { + + if (qnames != null) { + // we have to store this data until last moment since it is not possible to write any + // namespace data after writing the charactor data + java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer(); + java.lang.String namespaceURI = null; + java.lang.String prefix = null; + + for (int i = 0; i < qnames.length; i++) { + if (i > 0) { + stringToWrite.append(" "); + } + namespaceURI = qnames[i].getNamespaceURI(); + if (namespaceURI != null) { + prefix = xmlWriter.getPrefix(namespaceURI); + if ((prefix == null) || (prefix.length() == 0)) { + prefix = generatePrefix(namespaceURI); + xmlWriter.writeNamespace(prefix, namespaceURI); + xmlWriter.setPrefix(prefix,namespaceURI); + } + + if (prefix.trim().length() > 0){ + stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } else { + stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i])); + } + } + xmlWriter.writeCharacters(stringToWrite.toString()); + } + + } + + + /** + * Register a namespace prefix + */ + private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException { + java.lang.String prefix = xmlWriter.getPrefix(namespace); + if (prefix == null) { + prefix = generatePrefix(namespace); + javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext(); + while (true) { + java.lang.String uri = nsContext.getNamespaceURI(prefix); + if (uri == null || uri.length() == 0) { + break; + } + prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix(); + } + xmlWriter.writeNamespace(prefix, namespace); + xmlWriter.setPrefix(prefix, namespace); + } + return prefix; + } + + + + /** + * databinding method to get an XML representation of this object + * + */ + public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) + throws org.apache.axis2.databinding.ADBException{ + + + + java.util.ArrayList elementList = new java.util.ArrayList(); + java.util.ArrayList attribList = new java.util.ArrayList(); + + if (localExtraElementTracker){ + if (localExtraElement != null){ + elementList.add(org.apache.axis2.databinding.utils.Constants.OM_ELEMENT_KEY); + elementList.add(localExtraElement); + } else { + throw new org.apache.axis2.databinding.ADBException("extraElement cannot be null!!"); + } + } + + return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray()); + + + + } + + + + /** + * Factory class that keeps the parse method + */ + public static class Factory{ + + + + + /** + * static method to create the object + * Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable + * If this object is not an element, it is a complex type and the reader is at the event just after the outer start element + * Postcondition: If this object is an element, the reader is positioned at its end element + * If this object is a complex type, the reader is positioned at the end element of its outer element + */ + public static DATA_SERVICE_RESPONSE parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{ + DATA_SERVICE_RESPONSE object = + new DATA_SERVICE_RESPONSE(); + + int event; + java.lang.String nillableValue = null; + java.lang.String prefix =""; + java.lang.String namespaceuri =""; + try { + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + + if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){ + java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", + "type"); + if (fullTypeName!=null){ + java.lang.String nsPrefix = null; + if (fullTypeName.indexOf(":") > -1){ + nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":")); + } + nsPrefix = nsPrefix==null?"":nsPrefix; + + java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1); + + if (!"DATA_SERVICE_RESPONSE".equals(type)){ + //find namespace for the prefix + java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); + return (DATA_SERVICE_RESPONSE)ExtensionMapper.getTypeObject( + nsUri,type,reader); + } + + + } + + + } + + + + + // Note all attributes that were handled. Used to differ normal attributes + // from anyAttributes. + java.util.Vector handledAttributes = new java.util.Vector(); + + + + + reader.next(); + + + while (!reader.isStartElement() && !reader.isEndElement()) reader.next(); + + if (reader.isStartElement()){ + + + + //use the QName from the parser as the name for the builder + javax.xml.namespace.QName startQname1 = reader.getName(); + + // We need to wrap the reader so that it produces a fake START_DOCUMENT event + // this is needed by the builder classes + org.apache.axis2.databinding.utils.NamedStaxOMBuilder builder1 = + new org.apache.axis2.databinding.utils.NamedStaxOMBuilder( + new org.apache.axis2.util.StreamWrapper(reader),startQname1); + object.setExtraElement(builder1.getOMElement()); + + reader.next(); + + } // End of if for expected property start element + + else { + + } + + while (!reader.isStartElement() && !reader.isEndElement()) + reader.next(); + + if (reader.isStartElement()) + // A start element we are not expecting indicates a trailing invalid property + throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName()); + + + + + } catch (javax.xml.stream.XMLStreamException e) { + throw new java.lang.Exception(e); + } + + return object; + } + + }//end of factory class + + + + } + + + private org.apache.axiom.om.OMElement toOM(com.qaportal.UpdateResultsServiceStub.UpdateTestResult param, boolean optimizeContent) + throws org.apache.axis2.AxisFault { + + + try{ + return param.getOMElement(com.qaportal.UpdateResultsServiceStub.UpdateTestResult.MY_QNAME, + org.apache.axiom.om.OMAbstractFactory.getOMFactory()); + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.qaportal.UpdateResultsServiceStub.UpdateTestResult param, boolean optimizeContent, javax.xml.namespace.QName methodQName) + throws org.apache.axis2.AxisFault{ + + + try{ + + org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope(); + emptyEnvelope.getBody().addChild(param.getOMElement(com.qaportal.UpdateResultsServiceStub.UpdateTestResult.MY_QNAME,factory)); + return emptyEnvelope; + } catch(org.apache.axis2.databinding.ADBException e){ + throw org.apache.axis2.AxisFault.makeFault(e); + } + + + } + + + /* methods to provide back word compatibility */ + + + + + /** + * get the default envelope + */ + private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory){ + return factory.getDefaultEnvelope(); + } + + + private java.lang.Object fromOM( + org.apache.axiom.om.OMElement param, + java.lang.Class type, + java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ + + try { + + if (com.qaportal.UpdateResultsServiceStub.UpdateTestResult.class.equals(type)){ + + return com.qaportal.UpdateResultsServiceStub.UpdateTestResult.Factory.parse(param.getXMLStreamReaderWithoutCaching()); + + + } + + } catch (java.lang.Exception e) { + throw org.apache.axis2.AxisFault.makeFault(e); + } + return null; + } + + + + + } + \ No newline at end of file