Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 6175 invoked from network); 18 Feb 2005 10:01:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Feb 2005 10:01:12 -0000 Received: (qmail 40518 invoked by uid 500); 18 Feb 2005 10:01:10 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 40440 invoked by uid 500); 18 Feb 2005 10:01:09 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 40354 invoked by uid 99); 18 Feb 2005 10:01:09 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 18 Feb 2005 02:01:04 -0800 Received: (qmail 5942 invoked by uid 65534); 18 Feb 2005 10:01:03 -0000 Message-ID: <20050218100103.5941.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Fri, 18 Feb 2005 10:01:03 -0000 Subject: svn commit: r154255 [1/2] - in webservices/axis/trunk/java: ./ etc/ modules/common/ modules/common/src/ modules/common/src/java/ modules/common/src/test/ modules/core/ modules/core/src/java/org/apache/axis/engine/ modules/core/src/java/org/apache/axis/phaseresolver/ modules/core/src/java/org/apache/axis/transport/http/ modules/core/src/test/org/apache/axis/description/ modules/core/src/test/org/apache/axis/encoding/ modules/core/src/test/org/apache/axis/engine/ modules/core/src/test/org/apache/axis/integration/ modules/core/src/test/org/apache/axis/testUtils/ modules/deployment/ modules/deployment/src/java/org/apache/axis/deployment/ modules/om/ modules/om/src/test/org/apache/axis/om/ modules/om/src/test/org/apache/axis/om/builder/ modules/om/src/test/org/apache/axis/om/impl/traverse/ modules/samples/ modules/samples/src/java/org/apache/ modules/samples/src/java/org/apache/axis/ modules/samples/src/java/org/apache/axis/testUtils/ modules/samples/src/test/ modules/samples/src/test/org/ modules/samples/src/test/org/apache/ modules/samples/src/test/org/apache/axis/ modules/samples/src/test/org/apache/axis/encoding/ modules/samples/src/test/org/apache/axis/engine/ modules/samples/src/test/org/apache/axis/integration/ modules/samples/src/test/org/apache/axis/om/ modules/samples/src/test/org/apache/axis/om/builder/ modules/wsdl/ To: axis-cvs@ws.apache.org From: hemapani@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: hemapani Date: Fri Feb 18 02:00:53 2005 New Revision: 154255 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D154255 Log: the build compile now Added: webservices/axis/trunk/java/LICENSE.txt (with props) webservices/axis/trunk/java/clover.license webservices/axis/trunk/java/etc/ webservices/axis/trunk/java/etc/project.properties webservices/axis/trunk/java/etc/project.xml webservices/axis/trunk/java/modules/common/ webservices/axis/trunk/java/modules/common/project.properties webservices/axis/trunk/java/modules/common/project.xml webservices/axis/trunk/java/modules/common/src/ webservices/axis/trunk/java/modules/common/src/java/ webservices/axis/trunk/java/modules/common/src/test/ webservices/axis/trunk/java/modules/core/project.properties webservices/axis/trunk/java/modules/core/project.xml webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/UtilServer.java webservices/axis/trunk/java/modules/deployment/project.properties webservices/axis/trunk/java/modules/deployment/project.xml webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis= /deployment/EngineRegistryFactoryImpl.java webservices/axis/trunk/java/modules/om/project.properties webservices/axis/trunk/java/modules/om/project.xml webservices/axis/trunk/java/modules/samples/project.properties webservices/axis/trunk/java/modules/samples/project.xml webservices/axis/trunk/java/modules/samples/src/java/org/apache/ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/te= stUtils/ - copied from r154238, webservices/axis/trunk/java/modules/core/src/t= est/org/apache/axis/testUtils/ webservices/axis/trunk/java/modules/samples/src/test/ webservices/axis/trunk/java/modules/samples/src/test/org/ webservices/axis/trunk/java/modules/samples/src/test/org/apache/ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/en= coding/ - copied from r154238, webservices/axis/trunk/java/modules/core/src/t= est/org/apache/axis/encoding/ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/en= gine/ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/in= tegration/ - copied from r154238, webservices/axis/trunk/java/modules/core/src/t= est/org/apache/axis/integration/ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om= /builder/ - copied from r154254, webservices/axis/trunk/java/modules/om/src/tes= t/org/apache/axis/om/builder/ webservices/axis/trunk/java/modules/wsdl/project.properties webservices/axis/trunk/java/modules/wsdl/project.xml webservices/axis/trunk/java/navigation.xml webservices/axis/trunk/java/project.properties webservices/axis/trunk/java/project.xml Removed: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/encod= ing/ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/integ= ration/ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/testU= tils/ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/buil= der/ Modified: webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/engin= e/EngineRegistryFactory.java webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/phase= resolver/PhaseHolder.java webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/trans= port/http/AxisServlet.java webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/trans= port/http/SimpleHTTPServer.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/descr= iption/RegistryTest.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/CallUnregisterdServiceTest.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EchoRawXMLTest.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EchoTest.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EngineTest.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EngineUtils.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/HandlerFaliureTest.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/MessageWithServerTest.java webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/SimpleAxisServerTest.java webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/BadI= nputTest.java webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/OMTe= stUtils.java webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl= /traverse/OMChildrenWithSpecificAttributeIteratorTest.java webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/en= coding/EncodingTest.java webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/in= tegration/EchoTest.java webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/in= tegration/UtilServer.java Added: webservices/axis/trunk/java/LICENSE.txt URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/LICENSE.txt?= view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/LICENSE.txt (added) +++ webservices/axis/trunk/java/LICENSE.txt Fri Feb 18 02:00:53 2005 @@ -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 modificatio= ns + represent, as a whole, an original work of authorship. For the purpo= ses + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces o= f, + 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 own= er + 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 syste= ms, + 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 Licens= e=2E + + 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. + Propchange: webservices/axis/trunk/java/LICENSE.txt ---------------------------------------------------------------------------= --- svn:executable =3D * Added: webservices/axis/trunk/java/clover.license URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/clover.licen= se?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/clover.license (added) +++ webservices/axis/trunk/java/clover.license Fri Feb 18 02:00:53 2005 @@ -0,0 +1,167 @@ +Product: Clover +License: Apache OS License, 0.x, 1.x +Issued: Fri Nov 5 2004 00:10:15 CST +Expiry: Never +Key: 6c31947b76be866e9243758d8 +Name: Apache Foundation +Org: Apache Software Foundation +Certificate: AAACJW+Ow8B7/zEbxOMqqKwwrdpP+a1COmJGHco7sCNLjHkHnajPF+dQW +CV13P565Kaf84xY88Q1zb/rXoe5qNa9bwooYiUH++mSERNN5PpEf++l1tRf+gp1M7MheEQ +d3FcpfoQ7CPE8k+n2WpoFP+DPU5+lLb7bHYekAyJ5RjftKr0zRuNpeorim1GoWjdEQ9Lof +OXnpMnDerSHBMul/XTa5sHDoXkKcH0qVcG49xcSWfnnRSr63dbVWPsdLFy3KzYXO8NSNG+ +VOzTqMJzi5kvJVzXhhlSDpX+az1yQo0Z2Qkxx2C29IkumD0aQ6otHvUE9CiXS8374qNrKy +nen0yLWqYQ12uPN0apuHzt1PAfnsvEZEljk4URtpM7JwlL3HWQWojJ3HGLcUDwzmXYotDC +E4KtIiRR25MlNxaUnutJNn64pIHRRdcMpuW1a9DxM7+iGRaxGIQEr1PkvsL7kk54e6sgj1 +6n2JN/925vFfgoifyUb46DxDhkW0+ZCZ+aSzdFE+nIwEa95YhY71igzdJJvNPw5y/P3St9 +9Nu7FRYWzOvXWToC+RjIsEieVY+pjG7Z4HNK22yyqRzwQZN7pL9HqtcHfcbrROdCl+nTe+ +9bW9SVAJ2U7W+Gx9hACSvftWWeqydbREfIXOhnjLXgCIcFPOmmIdCq4PpTo8EuaNDbo0EW +Z7lW31l6WpVAzP1Nizja1M0fidB2r7eVOoFsmDHHQ8S/19KXFpl90Ndp6vNoWewmyEraD7 ++I3KqlvFSH7A501ecrUZe1+wawVOh87UudTkoeI1IQg1RxGxec6O4SmilTiF/6gv9PXi42 +UONKnh+O4bPryLv/zAiTCMBIV4TLomLsIVM7w5w+0pScQ3a1UEoqOcfUirdqrkw/ZQ0WMD ++hdNmpRx9JW +License Agreement: CLOVER VERSION 1 (ONE) SOFTWARE LICENSE AGREEMENT + +1. Licenses and Software + +Cortex eBusiness Pty Ltd, an Australian Proprietary Limited Company +("CENQUA") hereby grants to the purchaser (the "LICENSEE") a limited, +revocable, worldwide, non-exclusive, non-transferable, +non-sublicensable license to use the Clover version 1 (one) software +(the "Software"), including any minor upgrades thereof during the Term +(hereinafter defined) up to, but not including the next major version +of the Software. The licensee shall not, or knowingly allow others to, +reverse engineer, decompile, disassemble, modify, adapt, create +derivative works from or otherwise attempt to derive source code from +the Software provided. And, in accordance with the terms and +conditions of this Software License Agreement (the "Agreement"), the +Software shall be used solely by the licensed users in accordance with +the following edition specific conditions: + +a) Server Edition + +A Server Edition license entitles the Licensee to execute one instance +of Clover Server Edition on one (1) machine for the purposes of +instrumenting source code and generating reports. There are no +limitations on the use of the instrumented source code or generated +reports produced by Server Edition. + +b) Workstation Edition + +A Workstation Edition license entitles the licensee to use Clover +Workstation Edition on one (1) machine by one (1) individual end +user. Workstation Edition does not permit the generation of reports +for distribution. + +c) Team Edition + +A Team Edition license entitles the licensee to use Clover Team +edition on any number of machines solely by the licensed number of +users. Reports generated by Clover Team Edition are strictly for use +only by the licensed number of individual end users. + +2. License Fee + +In exchange for the License(s), the Licensee shall pay to Cenqua a +one-time, up front, non-refundable license fee. At the sole discretion +of Cenqua this fee will be waived for non-commercial +projects. Notwithstanding the Licensee's payment of the License Fee, +Cenqua reserves the right to terminate the License if Cenqua discovers +that the Licensee and/or the Licensee's use of the Software is in +breach of this Agreement. + +3. Proprietary Rights + +Cenqua will retain all right, title and interest in and to the +Software, all copies thereof, and Cenqua website(s), software, and +other intellectual property, including, but not limited to, ownership +of all copyrights, look and feel, trademark rights, design rights, +trade secret rights and any and all other intellectual property and +other proprietary rights therein. The Licensee will not directly or +indirectly obtain or attempt to obtain at any time, any right, title +or interest by registration or otherwise in or to the trademarks, +service marks, copyrights, trade names, symbols, logos or designations +or other intellectual property rights owned or used by Cenqua. All +technical manuals or other information provided by Cenqua to the +Licensee shall be the sole property of Cenqua. + +4. Term and Termination + +Subject to the other provisions hereof, this Agreement shall commence +upon the Licensee's opting into this Agreement and continue until the +Licensee discontinues use of the Software or the Agreement terminates +automatically upon the Licensee's breach of any term or condition of +this Agreement (the "Term"). Upon any such termination, the Licensee +will delete the Software immediately. + +5. Copying & Transfer + +The Licensee may copy the Software for back-up purposes only. The +Licensee may not assign or otherwise transfer the Software to any +third party. + +6. Specific Disclaimer of Warranty and Limitation of Liability + +THE SOFTWARE IS PROVIDED WITHOUT WARRANTY OF ANY KIND. CENQUA +DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE. CENQUA WILL NOT BE LIABLE FOR ANY DAMAGES +ASSOCIATED WITH THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ORDINARY, +INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES OF ANY KIND, INCLUDING +BUT NOT LIMITED TO DAMAGES RELATING TO LOST DATA OR LOST PROFITS, EVEN +IF CENQUA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Warranties and Representations + +Licensee Indemnification. CENQUA agrees to indemnify, defend and hold +the Licensee harmless from and against any and all liabilities,=20 +damages, losses, claims, costs, and expenses (including reasonable=20 +legal fees) arising out of or resulting from the Software or the use=20 +thereof infringing upon, misappropriating or violating any patents,=20 +copyrights, trademarks, or trade secret rights or other proprietary=20 +rights of persons, firms or entities who are not parties to this=20 +Agreement. + +CENQUA Indemnification. The Licensee warrants and represents that the=20 +Licensee's actions with regard to the Software will be in compliance=20 +with all applicable laws; and the Licensee agrees to indemnify,=20 +defend, and hold CENQUA harmless from and against any and all=20 +liabilities, damages, losses, claims, costs, and expenses (including=20 +reasonable legal fees) arising out of or resulting from the=20 +Licensee's failure to observe the use restrictions set forth herein. + +8. Publicity + +The Licensee grants permission for CENQUA to use Licensee's name=20 +solely in customer lists. CENQUA shall not, without prior consent in=20 +writing, use the Licensee's name, or that of its affiliates, in any=20 +form with the specific exception of customer lists. CENQUA agrees to=20 +remove Licensee's name from any and all materials within 7 days if=20 +notified by the Licensee in writing. + +9. Governing Law + +This Agreement shall be governed by the laws of New South Wales,=20 +Australia. + +10. Independent Contractors + +The parties are independent contractors with respect to each other,=20 +and nothing in this Agreement shall be construed as creating an=20 +employer-employee relationship, a partnership, agency relationship or=20 +a joint venture between the parties. + +11. Assignment + +This Agreement is not assignable or transferable by the Licensee.=20 +CENQUA in its sole discretion may transfer a license to a third party=20 +at the written request of the Licensee. + +12. Entire Agreement + +This Agreement constitutes the entire agreement between the parties=20 +concerning the Licensee's use of the Software. This Agreement=20 +supersedes any prior verbal understanding between the parties and any=20 +Licensee purchase order or other ordering document, regardless of=20 +whether such document is received by CENQUA before or after execution=20 +of this Agreement. This Agreement may be amended only in writing by=20 +CENQUA. Added: webservices/axis/trunk/java/etc/project.properties URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/etc/project.= properties?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/etc/project.properties (added) +++ webservices/axis/trunk/java/etc/project.properties Fri Feb 18 02:00:53 = 2005 @@ -0,0 +1,27 @@ +# ------------------------------------------------------------------- +# Copyright 2001-2004 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ------------------------------------------------------------------- + +maven.repo.remote=3Dhttp://www.apache.org/dist/java-repository/ +maven.multiproject.includes=3Dmodules/*/project.xml + +maven.xdoc.date=3Dleft +## maven.xdoc.version=3D${pom.currentVersion} + +maven.junit.jvmargs=3D +maven.junit.fork=3Dtrue +maven.compile.optimize=3Dfalse +maven.compile.fork=3Dtrue + Added: webservices/axis/trunk/java/etc/project.xml URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/etc/project.= xml?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/etc/project.xml (added) +++ webservices/axis/trunk/java/etc/project.xml Fri Feb 18 02:00:53 2005 @@ -0,0 +1,179 @@ + + +Axis2.0 + 3 + + + axis + =20 + =20 + M1 + =20 + + + Apache Software Foundation + http://www.apache.org/ + http://www.apache.org/images/asf-logo.gif + + =20 + 2004 + org.apache.axis + http://ws.apache.org/axis/images/axis.jpg + Axis 2.0 will be a platform for the next generation of web = services / service oriented applications. To achieve this goal, we need to = incorporate the latest in concepts in Web Services Architecture group and W= SDL working group among others. For example, the architecture should be com= pletely asynchronous and should support all kinds of MEP's. The platform mu= st be very extensible (runtime, java2wsdl, wsdl2java etc) to accomodate the= growing demand for different WS-* implementations. A "module" can very eas= ily change the behaviour of existing components. For example, additional de= corations can be added at runtime to the base wsdl (for example, for WSDM m= anageability spec). Presence of an addressing module could change the clien= t code generated (where additional methods can be exposed) that make it eas= y to use addressing. One main focus is to improve the performance even in t= he presence of a heavy duty "security" module. + Axis 2.0 + + http://ws.apache.org/axis2/ + http://nagoya.apache.org/jira/secure/BrowseProject.jsp= a?id=3D10611 + ws.apache.org/axis2 + /www/axi2.ws.apache.org/ + /www/ws.apache.org/builds/ + + scm:subversion:http://svn.apache.org/repos/asf/webserv= ices/axis/trunk + scm:subversion:https://svn.apache.org/repos/a= sf/webservices/axis/trunk + http://svn.apache.org/viewcvs.cgi/webservices/axis/trunk/?roo= t=3DApache-SVN + + + + Axis Developer List + axis-dev-subscribe@ws.apache.org + axis-dev-unsubscribe@ws.apache.org + + + + + + + =20 + + + Davanum Srinivas + dims + dims@apache.org + + + + Sanjiva Weerawarana + sanjiva + sanjiva@apache.org + + + + Glen Daniels + gdaniels + gdaniels@apache.org + + + + Aleksander Slominski + alek + aslom@cs.indiana.edu + Indiana University Extreme! Computing Lab + + + Farhaan Mohideen + farhaan + farhaan@opensource.lk + LSF + + + Srinath Perera + hemapani + hemapani@apache.org + + + + Eran Chinthaka + chinthaka + chinthaka@apache.org + LSF / Eurocenter DDC + + + Dasarath Weerathunga + dasarath + dasarath@opensource.lk + LSF + + + Jaliya Ekanayake + jaliya + jaliya@opensource.lk + Virtusa / LSF + + + Chathura Herath + chathura + chathura@opensource.lk + LSF/MIT + + + Deepal Jayasinghe + deepal + deepal@apache.org + LSF + + + Ajith Ranabahu + ajith + ajith@apache.org + LSF + + + Changshin Lee + ias + iasandcb@hotmail.com + Tmax Soft, Korea + + + Rajith Priyanga + priyanga + priyanga@opensource.lk + LSF + + + + =20 + =20 + + + axis-dev@ws.apache.org + src/java + src/test + + + =20 + + **/*Abstract*.java + **/*Util*.java + **/**.java + + + + + ${basedir}/src/test-resources + + + + + + +=20 + + + + + + maven-license-plugin + maven-checkstyle-plugin + maven-pmd-plugin + + maven-jdepend-plugin + maven-jxr-plugin + maven-javadoc-plugin + maven-junit-report-plugin + maven-clover-plugin + + =20 + + Added: webservices/axis/trunk/java/modules/common/project.properties URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/comm= on/project.properties?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/common/project.properties (added) +++ webservices/axis/trunk/java/modules/common/project.properties Fri Feb 1= 8 02:00:53 2005 @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------- +# Copyright 2001-2004 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ------------------------------------------------------------------- + +maven.repo.remote=3Dhttp://cvs.apache.org/repository/, http://www.ibiblio.= org/maven,http://www.apache.org/dist/java-repository/ +maven.multiproject.type=3Djar Added: webservices/axis/trunk/java/modules/common/project.xml URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/comm= on/project.xml?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/common/project.xml (added) +++ webservices/axis/trunk/java/modules/common/project.xml Fri Feb 18 02:00= :53 2005 @@ -0,0 +1,86 @@ + + + + 3 + ../../etc/project.xml + + axis2-common + common + + + + + commons-logging + commons-logging + 1.0.3 + + true + + + + geronimo-spec + geronimo-spec-servlet + 2.4-rc3 + + true + + + =20 + =20 + + axis + axis-wsdl4j + 1.2-RC1 + + true + + + + stax + stax + 1.1.1-dev + + true + + http://dist.codehaus.org/stax/jars/ + + + log4j + log4j + 1.2.8 + + true + + http://dist.codehaus.org/stax/jars/ + + + + stax + stax-api + 1.0 + + true + + http://dist.codehaus.org/stax/jars/ + + + + + + Added: webservices/axis/trunk/java/modules/core/project.properties URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /project.properties?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/project.properties (added) +++ webservices/axis/trunk/java/modules/core/project.properties Fri Feb 18 = 02:00:53 2005 @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------- +# Copyright 2001-2004 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ------------------------------------------------------------------- + +maven.repo.remote=3Dhttp://cvs.apache.org/repository/, http://www.ibiblio.= org/maven,http://www.apache.org/dist/java-repository/ +maven.multiproject.type=3Djar Added: webservices/axis/trunk/java/modules/core/project.xml URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /project.xml?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/project.xml (added) +++ webservices/axis/trunk/java/modules/core/project.xml Fri Feb 18 02:00:5= 3 2005 @@ -0,0 +1,98 @@ + + + + 3 + ../../etc/project.xml + + axis2-core + Core + + + + axis + axis2-om + ${pom.currentVersion} + + + + axis + axis2-wsdl + ${pom.currentVersion} + + + + + commons-logging + commons-logging + 1.0.3 + + true + + + + geronimo-spec + geronimo-spec-servlet + 2.4-rc3 + + true + + + =20 + =20 + + axis + axis-wsdl4j + 1.2-RC1 + + true + + + + stax + stax + 1.1.1-dev + + true + + http://dist.codehaus.org/stax/jars/ + + + log4j + log4j + 1.2.8 + + true + + http://dist.codehaus.org/stax/jars/ + + + + stax + stax-api + 1.0 + + true + + http://dist.codehaus.org/stax/jars/ + + + + + + Modified: webservices/axis/trunk/java/modules/core/src/java/org/apache/axis= /engine/EngineRegistryFactory.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/java/org/apache/axis/engine/EngineRegistryFactory.java?view=3Ddiff&r1= =3D154254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/engin= e/EngineRegistryFactory.java (original) +++ webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/engin= e/EngineRegistryFactory.java Fri Feb 18 02:00:53 2005 @@ -15,24 +15,8 @@ */ package org.apache.axis.engine; =20 -import org.apache.axis.deployment.DeploymentEngine; -import org.apache.axis.deployment.DeploymentException; -import org.apache.axis.phaseresolver.PhaseException; =20 -import javax.xml.stream.XMLStreamException; =20 - -public class EngineRegistryFactory { - public static EngineRegistry createEngineRegistry(String file) throws = AxisFault { - try { - DeploymentEngine deploymentEngine =3D new DeploymentEngine(fil= e); - return deploymentEngine.start(); - } catch (PhaseException e) { - throw AxisFault.makeFault(e); - } catch (DeploymentException e) { - throw AxisFault.makeFault(e); - } catch (XMLStreamException e) { - throw AxisFault.makeFault(e); - } - } +public interface EngineRegistryFactory { + public EngineRegistry createEngineRegistry(String file) throws AxisFa= ult; } Modified: webservices/axis/trunk/java/modules/core/src/java/org/apache/axis= /phaseresolver/PhaseHolder.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/java/org/apache/axis/phaseresolver/PhaseHolder.java?view=3Ddiff&r1=3D1= 54254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/phase= resolver/PhaseHolder.java (original) +++ webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/phase= resolver/PhaseHolder.java Fri Feb 18 02:00:53 2005 @@ -1,6 +1,6 @@ package org.apache.axis.phaseresolver; =20 -import org.apache.axis.deployment.DeploymentConstants; + import org.apache.axis.description.AxisGlobal; import org.apache.axis.description.AxisService; import org.apache.axis.description.AxisTransport; @@ -35,7 +35,7 @@ /** * This class hold all the phases found in the service.xml and server.xml */ -public class PhaseHolder implements DeploymentConstants { +public class PhaseHolder { =20 private Log log =3D LogFactory.getLog(getClass()); private ArrayList phaseholder =3D new ArrayList(); Modified: webservices/axis/trunk/java/modules/core/src/java/org/apache/axis= /transport/http/AxisServlet.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/java/org/apache/axis/transport/http/AxisServlet.java?view=3Ddiff&r1=3D= 154254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/trans= port/http/AxisServlet.java (original) +++ webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/trans= port/http/AxisServlet.java Fri Feb 18 02:00:53 2005 @@ -61,8 +61,10 @@ try { ServletContext context =3D config.getServletContext(); String repoDir =3D context.getRealPath("/WEB-INF"); - engineRegistry =3D EngineRegistryFactory.createEngineRegistry(= repoDir); - } catch (AxisFault e) { + Class erClass =3D Class.forName("org.apache.axis.deployment.En= gineRegistryFactoryImpl"); + EngineRegistryFactory erfac =3D (EngineRegistryFactory)erCl= ass.newInstance(); + this.engineRegistry =3D erfac.createEngineRegistry(repoDir); + } catch (Exception e) { throw new ServletException(e); } } Modified: webservices/axis/trunk/java/modules/core/src/java/org/apache/axis= /transport/http/SimpleHTTPServer.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/java/org/apache/axis/transport/http/SimpleHTTPServer.java?view=3Ddiff&= r1=3D154254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/trans= port/http/SimpleHTTPServer.java (original) +++ webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/trans= port/http/SimpleHTTPServer.java Fri Feb 18 02:00:53 2005 @@ -59,14 +59,15 @@ } =20 public SimpleHTTPServer(String dir) throws AxisFault { - EngineRegistry er =3D EngineRegistryFactory.createEngineRegistry(d= ir); try { + Class erClass =3D Class.forName("org.apache.axis.deployment.En= gineRegistryFactoryImpl"); + EngineRegistryFactory erfac =3D (EngineRegistryFactory)erClass= .newInstance(); + this.engineReg =3D erfac.createEngineRegistry(dir); + Thread.sleep(2000); - } catch (InterruptedException e1) { + } catch (Exception e1) { throw new AxisFault("Thread interuptted", e1); } - this.engineReg =3D er; - } =20 /** Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /description/RegistryTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/description/RegistryTest.java?view=3Ddiff&r1=3D15= 4254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/descr= iption/RegistryTest.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/descr= iption/RegistryTest.java Fri Feb 18 02:00:53 2005 @@ -15,6 +15,8 @@ */ package org.apache.axis.description; =20 +import javax.xml.namespace.QName; + import org.apache.axis.AbstractTestCase; import org.apache.axis.context.MessageContext; import org.apache.axis.engine.AxisFault; @@ -23,9 +25,6 @@ import org.apache.axis.engine.Handler; import org.apache.axis.handlers.AbstractHandler; import org.apache.axis.providers.RawXMLProvider; -import org.apache.axis.testUtils.SimpleJavaProvider; - -import javax.xml.namespace.QName; =20 public class RegistryTest extends AbstractTestCase { private EngineRegistry reg; @@ -107,7 +106,7 @@ xmlprovider.setName(name); assertEquals(xmlprovider.getName(), name); =20 - SimpleJavaProvider provider =3D new SimpleJavaProvider(); + RawXMLProvider provider =3D new RawXMLProvider(); provider.setName(name); assertEquals(provider.getName(), name); =20 Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /engine/CallUnregisterdServiceTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/CallUnregisterdServiceTest.java?view=3Ddif= f&r1=3D154254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/CallUnregisterdServiceTest.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/CallUnregisterdServiceTest.java Fri Feb 18 02:00:53 2005 @@ -17,18 +17,21 @@ =20 //todo =20 +import javax.xml.namespace.QName; + import org.apache.axis.AbstractTestCase; import org.apache.axis.addressing.AddressingConstants; import org.apache.axis.addressing.EndpointReference; import org.apache.axis.clientapi.Call; import org.apache.axis.context.MessageContext; -import org.apache.axis.integration.UtilServer; -import org.apache.axis.om.*; +import org.apache.axis.om.OMElement; +import org.apache.axis.om.OMFactory; +import org.apache.axis.om.OMNamespace; +import org.apache.axis.om.SOAPBody; +import org.apache.axis.om.SOAPEnvelope; import org.apache.axis.transport.http.SimpleHTTPServer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; - -import javax.xml.namespace.QName; =20 public class CallUnregisterdServiceTest extends AbstractTestCase { private Log log =3D LogFactory.getLog(getClass()); Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /engine/EchoRawXMLTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/EchoRawXMLTest.java?view=3Ddiff&r1=3D15425= 4&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EchoRawXMLTest.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EchoRawXMLTest.java Fri Feb 18 02:00:53 2005 @@ -17,6 +17,10 @@ =20 //todo =20 +import javax.xml.namespace.QName; +import javax.xml.stream.XMLOutputFactory; +import javax.xml.stream.XMLStreamException; + import org.apache.axis.AbstractTestCase; import org.apache.axis.addressing.AddressingConstants; import org.apache.axis.addressing.EndpointReference; @@ -26,16 +30,15 @@ import org.apache.axis.description.AxisOperation; import org.apache.axis.description.AxisService; import org.apache.axis.description.SimpleAxisOperationImpl; -import org.apache.axis.integration.UtilServer; -import org.apache.axis.om.*; +import org.apache.axis.om.OMElement; +import org.apache.axis.om.OMFactory; +import org.apache.axis.om.OMNamespace; +import org.apache.axis.om.OMNode; +import org.apache.axis.om.SOAPEnvelope; import org.apache.axis.providers.RawXMLProvider; import org.apache.axis.transport.http.SimpleHTTPServer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; - -import javax.xml.namespace.QName; -import javax.xml.stream.XMLOutputFactory; -import javax.xml.stream.XMLStreamException; =20 public class EchoRawXMLTest extends AbstractTestCase { private Log log =3D LogFactory.getLog(getClass()); Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /engine/EchoTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/EchoTest.java?view=3Ddiff&r1=3D154254&r2= =3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EchoTest.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EchoTest.java Fri Feb 18 02:00:53 2005 @@ -17,19 +17,14 @@ =20 //todo =20 +import javax.xml.namespace.QName; + import org.apache.axis.AbstractTestCase; import org.apache.axis.context.MessageContext; -import org.apache.axis.description.AxisGlobal; -import org.apache.axis.description.AxisOperation; -import org.apache.axis.description.AxisService; -import org.apache.axis.description.SimpleAxisOperationImpl; -import org.apache.axis.testUtils.SimpleJavaProvider; import org.apache.axis.transport.http.SimpleHTTPServer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; =20 -import javax.xml.namespace.QName; - public class EchoTest extends AbstractTestCase { private Log log =3D LogFactory.getLog(getClass()); private QName serviceName =3D new QName("", "EchoXMLService"); @@ -51,24 +46,24 @@ } =20 protected void setUp() throws Exception { - AxisGlobal global =3D new AxisGlobal(); - engineRegistry =3D new org.apache.axis.engine.EngineRegistryImpl(g= lobal); - - AxisService service =3D new AxisService(serviceName); - service.setClassLoader(Thread.currentThread().getContextClassLoade= r()); - service.setServiceClass(Echo.class); - service.setProvider(new SimpleJavaProvider()); - - AxisOperation operation1 =3D new SimpleAxisOperationImpl(operation= Name1); - service.addOperation(operation1); - - AxisOperation operation2 =3D new SimpleAxisOperationImpl(operation= Name2); - service.addOperation(operation2); - - EngineUtils.createExecutionChains(service); - engineRegistry.addService(service); - - sas =3D EngineUtils.startServer(engineRegistry); +// AxisGlobal global =3D new AxisGlobal(); +// engineRegistry =3D new org.apache.axis.engine.EngineRegistryImpl= (global); +// +// AxisService service =3D new AxisService(serviceName); +// service.setClassLoader(Thread.currentThread().getContextClassLoa= der()); +// service.setServiceClass(Echo.class); +// service.setProvider(new SimpleJavaProvider()); +// +// AxisOperation operation1 =3D new SimpleAxisOperationImpl(operati= onName1); +// service.addOperation(operation1); +// +// AxisOperation operation2 =3D new SimpleAxisOperationImpl(operati= onName2); +// service.addOperation(operation2); +// +// EngineUtils.createExecutionChains(service); +// engineRegistry.addService(service); +// +// sas =3D EngineUtils.startServer(engineRegistry); } =20 protected void tearDown() throws Exception { Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /engine/EngineTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/EngineTest.java?view=3Ddiff&r1=3D154254&r2= =3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EngineTest.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EngineTest.java Fri Feb 18 02:00:53 2005 @@ -16,10 +16,11 @@ =20 package org.apache.axis.engine; =20 +import javax.xml.namespace.QName; + import junit.framework.TestCase; -import org.apache.axis.context.MessageContext; =20 -import javax.xml.namespace.QName; +import org.apache.axis.context.MessageContext; =20 public class EngineTest extends TestCase { private QName serviceName =3D new QName("", "EchoService"); Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /engine/EngineUtils.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/EngineUtils.java?view=3Ddiff&r1=3D154254&r= 2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EngineUtils.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/EngineUtils.java Fri Feb 18 02:00:53 2005 @@ -30,7 +30,7 @@ import org.apache.axis.description.HandlerMetaData; import org.apache.axis.description.MockFlow; import org.apache.axis.description.SimpleAxisOperationImpl; -import org.apache.axis.testUtils.SimpleJavaProvider; +import org.apache.axis.providers.RawXMLProvider; import org.apache.axis.transport.http.SimpleHTTPServer; =20 =20 @@ -106,7 +106,7 @@ service.setClassLoader(Thread.currentThread().getContextClassLoade= r()); service.setServiceClass(Echo.class); =20 - service.setProvider(new SimpleJavaProvider()); + service.setProvider(new RawXMLProvider()); =20 AxisModule m1 =3D new AxisModule(new QName("", "A Mdoule 1")); m1.setInFlow(new MockFlow("service module inflow", 4)); Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /engine/HandlerFaliureTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/HandlerFaliureTest.java?view=3Ddiff&r1=3D1= 54254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/HandlerFaliureTest.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/HandlerFaliureTest.java Fri Feb 18 02:00:53 2005 @@ -17,20 +17,30 @@ =20 //todo =20 +import javax.xml.namespace.QName; + import org.apache.axis.AbstractTestCase; import org.apache.axis.addressing.AddressingConstants; import org.apache.axis.addressing.EndpointReference; import org.apache.axis.context.MessageContext; -import org.apache.axis.description.*; +import org.apache.axis.description.AxisOperation; +import org.apache.axis.description.AxisService; +import org.apache.axis.description.Flow; +import org.apache.axis.description.FlowImpl; +import org.apache.axis.description.Parameter; +import org.apache.axis.description.ParameterImpl; +import org.apache.axis.description.SimpleAxisOperationImpl; +import org.apache.axis.description.SpeakingHandler; import org.apache.axis.handlers.AbstractHandler; -import org.apache.axis.integration.UtilServer; -import org.apache.axis.om.*; +import org.apache.axis.om.OMElement; +import org.apache.axis.om.OMFactory; +import org.apache.axis.om.OMNamespace; +import org.apache.axis.om.SOAPBody; +import org.apache.axis.om.SOAPEnvelope; import org.apache.axis.providers.RawXMLProvider; import org.apache.axis.transport.http.SimpleHTTPServer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; - -import javax.xml.namespace.QName; =20 =20 public class HandlerFaliureTest extends AbstractTestCase { Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /engine/MessageWithServerTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/MessageWithServerTest.java?view=3Ddiff&r1= =3D154254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/MessageWithServerTest.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/MessageWithServerTest.java Fri Feb 18 02:00:53 2005 @@ -17,19 +17,27 @@ =20 //todo =20 +import java.io.File; +import java.io.FileInputStream; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.io.Reader; +import java.net.Socket; + +import javax.xml.namespace.QName; + import org.apache.axis.AbstractTestCase; import org.apache.axis.context.MessageContext; -import org.apache.axis.description.*; -import org.apache.axis.integration.UtilServer; -import org.apache.axis.testUtils.SimpleJavaProvider; +import org.apache.axis.description.AxisModule; +import org.apache.axis.description.AxisOperation; +import org.apache.axis.description.AxisService; +import org.apache.axis.description.MockFlow; +import org.apache.axis.description.SimpleAxisOperationImpl; import org.apache.axis.transport.http.SimpleHTTPServer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; =20 -import javax.xml.namespace.QName; -import java.io.*; -import java.net.Socket; - public class MessageWithServerTest extends AbstractTestCase { private Log log =3D LogFactory.getLog(getClass()); private QName serviceName =3D new QName("", "EchoService"); @@ -45,27 +53,27 @@ super(testName); } =20 - protected void setUp() throws Exception { - UtilServer.start(); - AxisService service =3D new AxisService(serviceName); - service.setInFlow(new MockFlow("service inflow", 4)); - service.setOutFlow(new MockFlow("service outflow", 5)); - service.setFaultFlow(new MockFlow("service faultflow", 1)); - service.setClassLoader(Thread.currentThread().getContextClassLoade= r()); - service.setServiceClass(Echo.class); - - service.setProvider(new SimpleJavaProvider()); - - AxisModule m1 =3D new AxisModule(new QName("", "A Mdoule 1")); - m1.setInFlow(new MockFlow("service module inflow", 4)); - m1.setFaultFlow(new MockFlow("service module faultflow", 1)); - service.addModule(m1.getName()); - - AxisOperation operation =3D new SimpleAxisOperationImpl(operationN= ame); - service.addOperation(operation); - - UtilServer.deployService(service); - } +// protected void setUp() throws Exception { +// UtilServer.start(); +// AxisService service =3D new AxisService(serviceName); +// service.setInFlow(new MockFlow("service inflow", 4)); +// service.setOutFlow(new MockFlow("service outflow", 5)); +// service.setFaultFlow(new MockFlow("service faultflow", 1)); +// service.setClassLoader(Thread.currentThread().getContextClassLoa= der()); +// service.setServiceClass(Echo.class); +// +// service.setProvider(new SimpleJavaProvider()); +// +// AxisModule m1 =3D new AxisModule(new QName("", "A Mdoule 1")); +// m1.setInFlow(new MockFlow("service module inflow", 4)); +// m1.setFaultFlow(new MockFlow("service module faultflow", 1)); +// service.addModule(m1.getName()); +// +// AxisOperation operation =3D new SimpleAxisOperationImpl(operatio= nName); +// service.addOperation(operation); +// +// UtilServer.deployService(service); +// } =20 protected void tearDown() throws Exception { UtilServer.unDeployService(serviceName); Modified: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis= /engine/SimpleAxisServerTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/SimpleAxisServerTest.java?view=3Ddiff&r1= =3D154254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/SimpleAxisServerTest.java (original) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/SimpleAxisServerTest.java Fri Feb 18 02:00:53 2005 @@ -17,13 +17,13 @@ =20 //todo =20 +import javax.xml.namespace.QName; + import org.apache.axis.AbstractTestCase; import org.apache.axis.description.AxisOperation; import org.apache.axis.description.AxisService; import org.apache.axis.description.SimpleAxisOperationImpl; import org.apache.axis.providers.RawXMLProvider; - -import javax.xml.namespace.QName; =20 public class SimpleAxisServerTest extends AbstractTestCase { private QName serviceName =3D new QName("", "EchoXMLService"); Added: webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/en= gine/UtilServer.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core= /src/test/org/apache/axis/engine/UtilServer.java?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/UtilServer.java (added) +++ webservices/axis/trunk/java/modules/core/src/test/org/apache/axis/engin= e/UtilServer.java Fri Feb 18 02:00:53 2005 @@ -0,0 +1,80 @@ +/* + * Copyright 2003,2004 The Apache Software Foundation. + *=20 + * 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 + *=20 + * http://www.apache.org/licenses/LICENSE-2.0 + *=20 + * 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. + */ + +package org.apache.axis.engine; + +import java.io.IOException; +import java.net.ServerSocket; + +import javax.xml.namespace.QName; + +import org.apache.axis.description.AxisGlobal; +import org.apache.axis.description.AxisService; +import org.apache.axis.transport.http.SimpleHTTPServer; + +public class UtilServer { + private static int count =3D 0; + private static SimpleHTTPServer reciver; + + + public static synchronized void deployService(AxisService service) + throws AxisFault { + reciver.getEngineReg().addService(service); + } + + public static synchronized void unDeployService(QName service) + throws AxisFault { + reciver.getEngineReg().removeService(service); + } + + public static synchronized void start() throws IOException { + if (count =3D=3D 0) { + EngineRegistry er =3D new EngineRegistryImpl(new AxisGlobal()); + =20 + try { + Thread.sleep(2000); + } catch (InterruptedException e1) { + throw new AxisFault("Thread interuptted", e1); + } + + reciver =3D new SimpleHTTPServer(er); + + ServerSocket serverSoc =3D null; + serverSoc =3D new ServerSocket(EngineUtils.TESTING_PORT); + reciver.setServerSocket(serverSoc); + Thread thread =3D new Thread(reciver); + thread.setDaemon(true); + + try { + thread.start(); + System.out.print("Server started on port " + EngineUtils.T= ESTING_PORT + "....."); + } finally { + + } + } + count++; + } + + public static synchronized void stop() { + if (count =3D=3D 1) { + reciver.stop(); + count =3D 0; + System.out.print("Server stopped ....."); + } else { + count--; + } + } +} Added: webservices/axis/trunk/java/modules/deployment/project.properties URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/depl= oyment/project.properties?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/deployment/project.properties (adde= d) +++ webservices/axis/trunk/java/modules/deployment/project.properties Fri F= eb 18 02:00:53 2005 @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------- +# Copyright 2001-2004 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ------------------------------------------------------------------- + +maven.repo.remote=3Dhttp://cvs.apache.org/repository/, http://www.ibiblio.= org/maven,http://www.apache.org/dist/java-repository/ +maven.multiproject.type=3Djar Added: webservices/axis/trunk/java/modules/deployment/project.xml URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/depl= oyment/project.xml?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/deployment/project.xml (added) +++ webservices/axis/trunk/java/modules/deployment/project.xml Fri Feb 18 0= 2:00:53 2005 @@ -0,0 +1,102 @@ + + + + 3 + ../../etc/project.xml + + axis2-deployment + deployment + + + + axis + axis2-core + ${pom.currentVersion} + + + axis + axis2-om + ${pom.currentVersion} + + + axis + axis2-wsdl + ${pom.currentVersion} + + + + + commons-logging + commons-logging + 1.0.3 + + true + + + + geronimo-spec + geronimo-spec-servlet + 2.4-rc3 + + true + + + =20 + =20 + + axis + axis-wsdl4j + 1.2-RC1 + + true + + + + stax + stax + 1.1.1-dev + + true + + http://dist.codehaus.org/stax/jars/ + + + log4j + log4j + 1.2.8 + + true + + http://dist.codehaus.org/stax/jars/ + + + + stax + stax-api + 1.0 + + true + + http://dist.codehaus.org/stax/jars/ + + + + + + Added: webservices/axis/trunk/java/modules/deployment/src/java/org/apache/a= xis/deployment/EngineRegistryFactoryImpl.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/depl= oyment/src/java/org/apache/axis/deployment/EngineRegistryFactoryImpl.java?v= iew=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis= /deployment/EngineRegistryFactoryImpl.java (added) +++ webservices/axis/trunk/java/modules/deployment/src/java/org/apache/axis= /deployment/EngineRegistryFactoryImpl.java Fri Feb 18 02:00:53 2005 @@ -0,0 +1,39 @@ +/* + * Copyright 2003,2004 The Apache Software Foundation. + *=20 + * 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 + *=20 + * http://www.apache.org/licenses/LICENSE-2.0 + *=20 + * 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. + */ +package org.apache.axis.deployment; + +import org.apache.axis.engine.AxisFault; +import org.apache.axis.engine.EngineRegistry; +import org.apache.axis.engine.EngineRegistryFactory; +import org.apache.axis.phaseresolver.PhaseException; + +import javax.xml.stream.XMLStreamException; + + +public class EngineRegistryFactoryImpl implements EngineRegistryFactory{ + public EngineRegistry createEngineRegistry(String file) throws AxisFau= lt { + try { + DeploymentEngine deploymentEngine =3D new DeploymentEngine(fil= e); + return deploymentEngine.start(); + } catch (PhaseException e) { + throw AxisFault.makeFault(e); + } catch (DeploymentException e) { + throw AxisFault.makeFault(e); + } catch (XMLStreamException e) { + throw AxisFault.makeFault(e); + } + } +} Added: webservices/axis/trunk/java/modules/om/project.properties URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/p= roject.properties?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/om/project.properties (added) +++ webservices/axis/trunk/java/modules/om/project.properties Fri Feb 18 02= :00:53 2005 @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------- +# Copyright 2001-2004 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ------------------------------------------------------------------- + +maven.repo.remote=3Dhttp://cvs.apache.org/repository/, http://www.ibiblio.= org/maven,http://www.apache.org/dist/java-repository/ +maven.multiproject.type=3Djar Added: webservices/axis/trunk/java/modules/om/project.xml URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/p= roject.xml?view=3Dauto&rev=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/om/project.xml (added) +++ webservices/axis/trunk/java/modules/om/project.xml Fri Feb 18 02:00:53 = 2005 @@ -0,0 +1,66 @@ + + + + 3 + ../../etc/project.xml + + axis2-om + om + + + + + commons-logging + commons-logging + 1.0.3 + + true + + + =20 + + stax + stax + 1.1.1-dev + + true + + http://dist.codehaus.org/stax/jars/ + + + log4j + log4j + 1.2.8 + + true + + http://dist.codehaus.org/stax/jars/ + + + + stax + stax-api + 1.0 + + true + + http://dist.codehaus.org/stax/jars/ + + + Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/o= m/BadInputTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/s= rc/test/org/apache/axis/om/BadInputTest.java?view=3Ddiff&r1=3D154254&r2=3D1= 54255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/BadI= nputTest.java (original) +++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/BadI= nputTest.java Fri Feb 18 02:00:53 2005 @@ -21,7 +21,7 @@ =20 import java.io.File; =20 -import org.apache.axis.engine.AxisFault; + =20 =20 public class BadInputTest extends OMTestCase { @@ -42,8 +42,6 @@ fail("this must failed gracefully with OMException or AxisFaul= t"); } catch (OMException e) { return; - } catch (AxisFault e) { - return; } =20 } @@ -57,10 +55,7 @@ fail("this must failed gracefully with OMException or AxisFaul= t"); } catch (OMException e) { return; - } catch (AxisFault e) { - return; } - } =20 //done @@ -103,9 +98,7 @@ fail("this must failed gracefully with OMException or AxisFaul= t"); } catch (OMException e) { return; - } catch (AxisFault e) { - return; - } + }=20 =20 } =20 @@ -118,9 +111,7 @@ fail("this must failed gracefully with OMException or AxisFaul= t"); } catch (OMException e) { return; - } catch (AxisFault e) { - return; - } + }=20 =20 } =20 @@ -132,8 +123,6 @@ OMTestUtils.walkThrough(soapEnvelope); fail("this must failed gracefully with OMException or AxisFaul= t"); } catch (OMException e) { - return; - } catch (AxisFault e) { return; } =20 Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/o= m/OMTestUtils.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/s= rc/test/org/apache/axis/om/OMTestUtils.java?view=3Ddiff&r1=3D154254&r2=3D15= 4255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/OMTe= stUtils.java (original) +++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/OMTe= stUtils.java Fri Feb 18 02:00:53 2005 @@ -25,7 +25,7 @@ =20 import junit.framework.TestCase; =20 -import org.apache.axis.engine.AxisFault; + import org.apache.axis.om.impl.llom.factory.OMXMLBuilderFactory; import org.w3c.dom.Attr; import org.w3c.dom.Element; @@ -86,7 +86,7 @@ Attr attr =3D (Attr) node; TestCase.assertEquals(attr.getValue(), omattribute.get= Value()); } else { - throw new AxisFault("return type is not a Attribute"); + throw new OMException("return type is not a Attribute"= ); } =20 } Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/o= m/impl/traverse/OMChildrenWithSpecificAttributeIteratorTest.java URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/s= rc/test/org/apache/axis/om/impl/traverse/OMChildrenWithSpecificAttributeIte= ratorTest.java?view=3Ddiff&r1=3D154254&r2=3D154255 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl= /traverse/OMChildrenWithSpecificAttributeIteratorTest.java (original) +++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl= /traverse/OMChildrenWithSpecificAttributeIteratorTest.java Fri Feb 18 02:00= :53 2005 @@ -24,7 +24,7 @@ =20 import javax.xml.namespace.QName; =20 -import org.apache.axis.addressing.AddressingConstants; +//import org.apache.axis.addressing.AddressingConstants; import org.apache.axis.om.OMConstants; import org.apache.axis.om.OMTestCase; import org.apache.axis.om.SOAPHeader; @@ -65,47 +65,47 @@ } =20 public void testChildrenRetrievalWithNoDetach() { - try { - soapEnvelope =3D getOMBuilder(new ByteArrayInputStream(sampleS= OAPMessage.getBytes())).getSOAPEnvelope(); - SOAPHeader soapHeader =3D soapEnvelope.getHeader(); - - // getting header blocks with mustUnderstand=3D"0" - OMChildrenWithSpecificAttributeIterator iter =3D new OMChildre= nWithSpecificAttributeIterator(soapHeader.getFirstChild(), new QName(SOAP_E= NVELOPE_NAMESPACE_URI, ATTR_MUSTUNDERSTAND), "0", false); - - if (iter.hasNext()) { - SOAPHeaderBlock soapHeaderBlock =3D (SOAPHeaderBlock) iter= .next(); - assertEquals("Header Block with mustUnderstand=3D\")0\" ha= s not been retrieved properly", soapHeaderBlock.getLocalName(), AddressingC= onstants.WSA_TO); - } - - if (iter.hasNext()) { - fail("Given sample SOAP doesn't have more than one mustund= erstand false header blocks"); - } - - - } catch (Exception e) { - e.printStackTrace(); - fail("Something has gone wrong in accessing the test xml file"= ); - } + // try { +// soapEnvelope =3D getOMBuilder(new ByteArrayInputStream(sampl= eSOAPMessage.getBytes())).getSOAPEnvelope(); +// SOAPHeader soapHeader =3D soapEnvelope.getHeader(); +// +// // getting header blocks with mustUnderstand=3D"0" +// OMChildrenWithSpecificAttributeIterator iter =3D new OMChild= renWithSpecificAttributeIterator(soapHeader.getFirstChild(), new QName(SOAP= _ENVELOPE_NAMESPACE_URI, ATTR_MUSTUNDERSTAND), "0", false); +// +// if (iter.hasNext()) { +// SOAPHeaderBlock soapHeaderBlock =3D (SOAPHeaderBlock) it= er.next(); +// assertEquals("Header Block with mustUnderstand=3D\")0\" = has not been retrieved properly", soapHeaderBlock.getLocalName(), Addressin= gConstants.WSA_TO); +// } +// +// if (iter.hasNext()) { +// fail("Given sample SOAP doesn't have more than one mustu= nderstand false header blocks"); +// } +// +// +// } catch (Exception e) { +// e.printStackTrace(); +// fail("Something has gone wrong in accessing the test xml fil= e"); +// } } =20 public void testChildrenRetrievalWithDetach() throws Exception { - soapEnvelope =3D getOMBuilder(new ByteArrayInputStream(sampleSOAPM= essage.getBytes())).getSOAPEnvelope(); - SOAPHeader soapHeader =3D soapEnvelope.getHeader(); - - OMChildrenWithSpecificAttributeIterator iter =3D new OMChildrenWit= hSpecificAttributeIterator(soapHeader.getFirstChild(), new QName(SOAP_ENVEL= OPE_NAMESPACE_URI, ATTR_MUSTUNDERSTAND), "0", true); - if (iter.hasNext()) { - SOAPHeaderBlock soapHeaderBlock =3D (SOAPHeaderBlock) iter.nex= t(); - assertEquals("Header Block with mustUnderstand=3D\")0\" has no= t been retrieved properly", soapHeaderBlock.getLocalName(), AddressingConst= ants.WSA_TO); - } - - Iterator soapHeaderChildrenIter =3D soapHeader.getChildren(); - int childrenCount =3D 0; - while (soapHeaderChildrenIter.hasNext()) { - Object o =3D soapHeaderChildrenIter.next(); - childrenCount++; - } - - assertEquals("OMChildrenWithSpecificAttributeIterator with detach = true, not working properly", childrenCount, 6); // here this 6 includes whi= te spaces as OMText +// soapEnvelope =3D getOMBuilder(new ByteArrayInputStream(sampleSOA= PMessage.getBytes())).getSOAPEnvelope(); +// SOAPHeader soapHeader =3D soapEnvelope.getHeader(); +// +// OMChildrenWithSpecificAttributeIterator iter =3D new OMChildrenW= ithSpecificAttributeIterator(soapHeader.getFirstChild(), new QName(SOAP_ENV= ELOPE_NAMESPACE_URI, ATTR_MUSTUNDERSTAND), "0", true); +// if (iter.hasNext()) { +// SOAPHeaderBlock soapHeaderBlock =3D (SOAPHeaderBlock) iter.n= ext(); +// assertEquals("Header Block with mustUnderstand=3D\")0\" has = not been retrieved properly", soapHeaderBlock.getLocalName(), AddressingCon= stants.WSA_TO); +// } +// +// Iterator soapHeaderChildrenIter =3D soapHeader.getChildren(); +// int childrenCount =3D 0; +// while (soapHeaderChildrenIter.hasNext()) { +// Object o =3D soapHeaderChildrenIter.next(); +// childrenCount++; +// } +// +// assertEquals("OMChildrenWithSpecificAttributeIterator with detac= h true, not working properly", childrenCount, 6); // here this 6 includes w= hite spaces as OMText =20 } =20