You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2006/02/20 23:26:27 UTC
svn commit: r379259 [1/7] - in /incubator/tuscany/sandbox/binding.axis2: ./
src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/tuscany/ src/main/java/org/apache/tuscany/binding/
src/main/java/org/apache/...
Author: jboynes
Date: Mon Feb 20 14:26:19 2006
New Revision: 379259
URL: http://svn.apache.org/viewcvs?rev=379259&view=rev
Log:
commit patch from Ant Elder for TUSCANY-32 into sandbox for review
Added:
incubator/tuscany/sandbox/binding.axis2/
incubator/tuscany/sandbox/binding.axis2/LICENSE.txt (with props)
incubator/tuscany/sandbox/binding.axis2/pom.xml (with props)
incubator/tuscany/sandbox/binding.axis2/src/
incubator/tuscany/sandbox/binding.axis2/src/main/
incubator/tuscany/sandbox/binding.axis2/src/main/java/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceAssemblyFactory.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceBinding.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceAssemblyFactoryImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceBindingImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/DocumentRoot.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyFactory.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyPackage.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/DocumentRootImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceAssemblyFactoryImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceAssemblyPackageImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceBindingImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/AxisEngineConfigurationFactory.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/EntryPointMessageReceiver.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/MyAxisConfigurator.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/WebServiceEntryPointBean.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/WebServiceEntryPointServlet.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/externalservice/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/externalservice/ExternalWebServiceConfigurationHandler.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/externalservice/ExternalWebServiceHandler.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/Axis2SDOHelper.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/encoding/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/encoding/impl/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/encoding/impl/DataObjectDeserializer.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/encoding/impl/DataObjectDeserializerFactory.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/encoding/impl/DataObjectSerializer.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/encoding/impl/DataObjectSerializerFactory.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/SOAPMediator.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/impl/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/impl/SOAPBaseMediatorImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/impl/SOAPDocumentImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/impl/SOAPDocumentLiteralMediatorImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/impl/SOAPEnvelopeImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/impl/SOAPRPCEncodedMediatorImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/impl/SOAPRPCLiteralMediatorImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/serialization/mediator/impl/soap-encoding.xsd (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/utils/
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/utils/WSDLOperationTypeHelper.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/utils/WebServiceOperationMetaData.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/utils/WebServicePortMetaData.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/resources/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/model/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/model/sca-assembly-webservice.ecore
incubator/tuscany/sandbox/binding.axis2/src/main/resources/model/sca-assembly-webservice.genmodel
incubator/tuscany/sandbox/binding.axis2/src/main/resources/model/sca-assembly.ecore
incubator/tuscany/sandbox/binding.axis2/src/main/resources/model/sca-assembly.genmodel
incubator/tuscany/sandbox/binding.axis2/src/main/resources/model/sca-binding-webservice.xsd (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/resources/model/sca-core.xsd (with props)
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/tuscany/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/tuscany/binding/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/tuscany/binding/axis2/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/tuscany/binding/axis2/config/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/tuscany/binding/axis2/config/impl/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/tuscany/binding/axis2/config/impl/server-config.wsdd
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/tuscany/binding/axis2/externalservice/
incubator/tuscany/sandbox/binding.axis2/src/main/resources/org/apache/tuscany/binding/axis2/externalservice/ExternalWebServiceConfigurationHandler.componentType
incubator/tuscany/sandbox/binding.axis2/src/main/resources/sca.fragment
incubator/tuscany/sandbox/binding.axis2/src/main/resources/tuscany-model.config
incubator/tuscany/sandbox/binding.axis2/src/test/
incubator/tuscany/sandbox/binding.axis2/src/test/java/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/sdo/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/sdo/tests/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/sdo/tests/DocumentRootTest.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/sdo/tests/WebServiceAssemblyExample.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/sdo/tests/WebServiceAssemblyTests.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/sdo/tests/WebServiceBindingTest.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/WebServiceAssemblyLoaderTestCase.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/account/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/account/AccountReport.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/account/AccountService.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/account/AccountService.wsdl
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/account/AccountServiceImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/account/AccountSummary.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/accountdata/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/accountdata/AccountDataService.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/accountdata/AccountDataServiceImpl.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/accountdata/CheckingAccount.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/accountdata/SavingsAccount.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/accountdata/StockAccount.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/stockquote/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/stockquote/StockQuoteService.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/assembly/tests/bigbank/account/services/stockquote/StockQuoteWebService.wsdl
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/serialization/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/serialization/mediator/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/serialization/mediator/tests/
incubator/tuscany/sandbox/binding.axis2/src/test/java/org/apache/tuscany/binding/axis2/serialization/mediator/tests/SOAPMediatorTestCase.java (with props)
incubator/tuscany/sandbox/binding.axis2/src/test/resources/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/assembly/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/assembly/tests/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/assembly/tests/sca.module
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/serialization/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/serialization/mediator/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/serialization/mediator/tests/
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/serialization/mediator/tests/DocLit.wsdl
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/serialization/mediator/tests/DocLitWrapped.wsdl
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/serialization/mediator/tests/RpcLit.wsdl
incubator/tuscany/sandbox/binding.axis2/src/test/resources/org/apache/tuscany/binding/axis2/serialization/mediator/tests/sca.module
incubator/tuscany/sandbox/binding.axis2/src/test/resources/tuscany-model.config
Added: incubator/tuscany/sandbox/binding.axis2/LICENSE.txt
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/LICENSE.txt?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/LICENSE.txt (added)
+++ incubator/tuscany/sandbox/binding.axis2/LICENSE.txt Mon Feb 20 14:26:19 2006
@@ -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.
Propchange: incubator/tuscany/sandbox/binding.axis2/LICENSE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/tuscany/sandbox/binding.axis2/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/pom.xml?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/pom.xml (added)
+++ incubator/tuscany/sandbox/binding.axis2/pom.xml Mon Feb 20 14:26:19 2006
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ -->
+<project>
+ <parent>
+ <groupId>org.apache.tuscany</groupId>
+ <artifactId>tuscany-sca</artifactId>
+ <version>SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tuscany-binding-axis2</artifactId>
+ <name>Tuscany Axis2 Binding</name>
+ <description>Implementation of the SCA Web Services binding using Apache Axis2</description>
+ <version>SNAPSHOT</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany</groupId>
+ <artifactId>tuscany-core</artifactId>
+ <version>${pom.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+<!-- start new Axis2 stuff -->
+
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>axis2-core</artifactId>
+ <version>0.94</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>ws-commons</groupId>
+ <artifactId>ws-policy</artifactId>
+ <version>SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>3.0</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.3</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.3</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ <version>2.8.2</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.12</version>
+ <scope>test</scope>
+ </dependency>
+
+<!-- end new Axis2 stuff -->
+
+ <dependency>
+ <groupId>axis</groupId>
+ <artifactId>axis</artifactId>
+ <version>1.2.1</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>axis</groupId>
+ <artifactId>axis-jaxrpc</artifactId>
+ <version>1.2.1</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>axis</groupId>
+ <artifactId>axis-saaj</artifactId>
+ <version>1.2.1</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>tomcat</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>5.0.18</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
Propchange: incubator/tuscany/sandbox/binding.axis2/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceAssemblyFactory.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceAssemblyFactory.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceAssemblyFactory.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceAssemblyFactory.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,38 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly;
+
+import org.osoa.sca.model.WebServiceBinding;
+
+import org.apache.tuscany.model.assembly.AssemblyFactory;
+
+/**
+ * The <b>Factory</b> for the model.
+ */
+public interface WebServiceAssemblyFactory extends AssemblyFactory {
+
+ /**
+ * Returns a new object of class '<em>Web Service Binding</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Web Service Binding</em>'.
+ * @generated
+ */
+ WebServiceBinding createWebServiceBinding();
+
+} //TWebServiceAssemblyFactory
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceAssemblyFactory.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceAssemblyFactory.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceBinding.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceBinding.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceBinding.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceBinding.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,35 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly;
+
+import org.apache.tuscany.model.assembly.Binding;
+
+/**
+ * A representation of the model object '<em><b>Web Service Binding</b></em>'.
+ */
+public interface WebServiceBinding extends Binding {
+ /**
+ * Returns the value of the '<em><b>Port</b></em>' attribute.
+ */
+ String getPort();
+
+ /**
+ * Sets the value of the '{@link org.osoa.sca.model.WebServiceBinding#getPort <em>Port</em>}' attribute.
+ */
+ void setPort(String value);
+
+} // TWebServiceBinding
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceBinding.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/WebServiceBinding.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceAssemblyFactoryImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceAssemblyFactoryImpl.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceAssemblyFactoryImpl.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceAssemblyFactoryImpl.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,43 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly.impl;
+
+import org.osoa.sca.model.WebServiceBinding;
+
+import org.apache.tuscany.binding.axis2.assembly.WebServiceAssemblyFactory;
+import org.apache.tuscany.model.assembly.impl.AssemblyFactoryImpl;
+
+/**
+ * An implementation of the model <b>Factory</b>.
+ */
+public class WebServiceAssemblyFactoryImpl extends AssemblyFactoryImpl implements WebServiceAssemblyFactory {
+
+ /**
+ * Creates an instance of the factory.
+ */
+ public WebServiceAssemblyFactoryImpl() {
+ super();
+ }
+
+ /**
+ * @see org.apache.tuscany.binding.axis2.assembly.WebServiceAssemblyFactory#createWebServiceBinding()
+ */
+ public WebServiceBinding createWebServiceBinding() {
+ return new WebServiceBindingImpl();
+ }
+
+} //WebServiceAssemblyFactoryImpl
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceAssemblyFactoryImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceAssemblyFactoryImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceBindingImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceBindingImpl.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceBindingImpl.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceBindingImpl.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,98 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly.impl;
+
+import org.apache.tuscany.binding.axis2.assembly.WebServiceBinding;
+import org.apache.tuscany.model.assembly.AssemblyModelContext;
+import org.apache.tuscany.model.assembly.AssemblyModelVisitor;
+import org.apache.tuscany.model.assembly.impl.AssemblyModelVisitorHelperImpl;
+
+/**
+ * An implementation of the model object '<em><b>Web Service Binding</b></em>'.
+ */
+public class WebServiceBindingImpl extends org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceBindingImpl implements WebServiceBinding {
+
+ private Object runtimeConfiguration;
+
+ /**
+ * Constructor
+ */
+ protected WebServiceBindingImpl() {
+ }
+
+ /**
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceBindingImpl#getPort()
+ */
+ public String getPort() {
+ return super.getPort();
+ }
+
+ /**
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceBindingImpl#setPort(java.lang.String)
+ */
+ public void setPort(String newPort) {
+ super.setPort(newPort);
+ }
+
+ /**
+ * @see org.apache.tuscany.model.assembly.Binding#setURI(java.lang.String)
+ */
+ public void setURI(String value) {
+ super.setUri(value);
+ }
+
+ /**
+ * @see org.apache.tuscany.model.assembly.Binding#getURI()
+ */
+ public String getURI() {
+ return super.getUri();
+ }
+
+ /**
+ * @see org.apache.tuscany.model.assembly.ConfiguredRuntimeObject#getRuntimeConfiguration()
+ */
+ public Object getRuntimeConfiguration() {
+ return runtimeConfiguration;
+ }
+
+ /**
+ * @see org.apache.tuscany.model.assembly.ConfiguredRuntimeObject#setRuntimeConfiguration(java.lang.Object)
+ */
+ public void setRuntimeConfiguration(Object configuration) {
+ this.runtimeConfiguration = configuration;
+ }
+
+ /**
+ * @see org.apache.tuscany.model.assembly.AssemblyModelObject#initialize(org.apache.tuscany.model.assembly.AssemblyModelContext)
+ */
+ public void initialize(AssemblyModelContext modelContext) {
+ }
+
+ /**
+ * @see org.apache.tuscany.model.assembly.AssemblyModelObject#freeze()
+ */
+ public void freeze() {
+ }
+
+ /**
+ * @see org.apache.tuscany.model.assembly.AssemblyModelObject#accept(org.apache.tuscany.model.assembly.AssemblyModelVisitor)
+ */
+ public boolean accept(AssemblyModelVisitor visitor) {
+ return AssemblyModelVisitorHelperImpl.accept(this, visitor);
+ }
+
+} //TWebServiceBindingImpl
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceBindingImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/impl/WebServiceBindingImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/DocumentRoot.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/DocumentRoot.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/DocumentRoot.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/DocumentRoot.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,129 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly.sdo;
+
+import java.util.Map;
+
+import commonj.sdo.Sequence;
+import org.osoa.sca.model.WebServiceBinding;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p/>
+ * <p/>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link DocumentRoot#getBindingWs <em>Binding Ws</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ * @see WebServiceAssemblyPackage#getDocumentRoot()
+ */
+public interface DocumentRoot {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p/>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ * @see WebServiceAssemblyPackage#getDocumentRoot_Mixed()
+ */
+ Sequence getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link String},
+ * and the value is of type {@link String},
+ * <!-- begin-user-doc -->
+ * <p/>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ * @see WebServiceAssemblyPackage#getDocumentRoot_XMLNSPrefixMap()
+ */
+ Map getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link String},
+ * and the value is of type {@link String},
+ * <!-- begin-user-doc -->
+ * <p/>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ * @see WebServiceAssemblyPackage#getDocumentRoot_XSISchemaLocation()
+ */
+ Map getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Binding Ws</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p/>
+ * If the meaning of the '<em>Binding Ws</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Binding Ws</em>' containment reference.
+ * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='binding.ws' namespace='##targetNamespace' affiliation='http://www.osoa.org/xmlns/sca/0.9#binding'"
+ * @generated
+ * @see #setBindingWs(WebServiceBinding)
+ * @see WebServiceAssemblyPackage#getDocumentRoot_BindingWs()
+ */
+ WebServiceBinding getBindingWs();
+
+ /**
+ * Sets the value of the '{@link DocumentRoot#getBindingWs <em>Binding Ws</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value the new value of the '<em>Binding Ws</em>' containment reference.
+ * @generated
+ * @see #getBindingWs()
+ */
+ void setBindingWs(WebServiceBinding value);
+
+} // DocumentRoot
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/DocumentRoot.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/DocumentRoot.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyFactory.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyFactory.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyFactory.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyFactory.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,71 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly.sdo;
+
+import org.eclipse.emf.ecore.EFactory;
+import org.osoa.sca.model.WebServiceBinding;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @see WebServiceAssemblyPackage
+ */
+public interface WebServiceAssemblyFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ WebServiceAssemblyFactory eINSTANCE = new org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceAssemblyFactoryImpl();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Web Service Binding</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Web Service Binding</em>'.
+ * @generated
+ */
+ WebServiceBinding createWebServiceBinding();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ WebServiceAssemblyPackage getWebServiceAssemblyPackage();
+
+} //WebServiceAssemblyFactory
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyFactory.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyFactory.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyPackage.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyPackage.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyPackage.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyPackage.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,317 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly.sdo;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.apache.tuscany.model.assembly.sdo.AssemblyPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @model kind="package"
+ * @generated
+ * @see WebServiceAssemblyFactory
+ */
+public interface WebServiceAssemblyPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNAME = "assembly";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_URI = "http://org.apache.tuscany/xmlns/webservice/0.9";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "ws";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ WebServiceAssemblyPackage eINSTANCE = org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceAssemblyPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.apache.tuscany.binding.axis2.assembly.sdo.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.impl.DocumentRootImpl
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceAssemblyPackageImpl#getDocumentRoot()
+ */
+ int DOCUMENT_ROOT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Binding Ws</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BINDING_WS = 3;
+
+ /**
+ * The number of structural features of the the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceBindingImpl <em>Web Service Binding</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceBindingImpl
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.impl.WebServiceAssemblyPackageImpl#getWebServiceBinding()
+ */
+ int WEB_SERVICE_BINDING = 1;
+
+ /**
+ * The feature id for the '<em><b>Uri</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int WEB_SERVICE_BINDING__URI = AssemblyPackage.BINDING__URI;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int WEB_SERVICE_BINDING__ANY = AssemblyPackage.BINDING_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int WEB_SERVICE_BINDING__PORT = AssemblyPackage.BINDING_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int WEB_SERVICE_BINDING__ANY_ATTRIBUTE = AssemblyPackage.BINDING_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the the '<em>Web Service Binding</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int WEB_SERVICE_BINDING_FEATURE_COUNT = AssemblyPackage.BINDING_FEATURE_COUNT + 3;
+
+
+ /**
+ * Returns the meta object for class '{@link DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @generated
+ * @see DocumentRoot
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link DocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @generated
+ * @see DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @generated
+ * @see DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @generated
+ * @see DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link DocumentRoot#getBindingWs <em>Binding Ws</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Binding Ws</em>'.
+ * @generated
+ * @see DocumentRoot#getBindingWs()
+ * @see #getDocumentRoot()
+ */
+ EReference getDocumentRoot_BindingWs();
+
+ /**
+ * Returns the meta object for class '{@link org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceBinding <em>Web Service Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Web Service Binding</em>'.
+ * @generated
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceBinding
+ */
+ EClass getWebServiceBinding();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceBinding#getAny <em>Any</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute list '<em>Any</em>'.
+ * @generated
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceBinding#getAny()
+ * @see #getWebServiceBinding()
+ */
+ EAttribute getWebServiceBinding_Any();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceBinding#getPort <em>Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Port</em>'.
+ * @generated
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceBinding#getPort()
+ * @see #getWebServiceBinding()
+ */
+ EAttribute getWebServiceBinding_Port();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceBinding#getAnyAttribute <em>Any Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute list '<em>Any Attribute</em>'.
+ * @generated
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceBinding#getAnyAttribute()
+ * @see #getWebServiceBinding()
+ */
+ EAttribute getWebServiceBinding_AnyAttribute();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ WebServiceAssemblyFactory getWebServiceAssemblyFactory();
+
+} //WebServiceAssemblyPackage
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyPackage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/WebServiceAssemblyPackage.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/DocumentRootImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/DocumentRootImpl.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/DocumentRootImpl.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/DocumentRootImpl.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,311 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly.sdo.impl;
+
+import java.util.Collection;
+import java.util.Map;
+
+import commonj.sdo.Sequence;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+import org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl;
+import org.eclipse.emf.ecore.sdo.util.BasicESequence;
+import org.eclipse.emf.ecore.sdo.util.ESequence;
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.osoa.sca.model.WebServiceBinding;
+
+import org.apache.tuscany.binding.axis2.assembly.sdo.DocumentRoot;
+import org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceAssemblyPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p/>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link DocumentRootImpl#getBindingWs <em>Binding Ws</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EDataObjectImpl implements DocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @see #getMixed()
+ */
+ protected ESequence mixed = null;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @see #getXMLNSPrefixMap()
+ */
+ protected EMap xMLNSPrefixMap = null;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ * @see #getXSISchemaLocation()
+ */
+ protected EMap xSISchemaLocation = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return WebServiceAssemblyPackage.eINSTANCE.getDocumentRoot();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Sequence getMixed() {
+ if (mixed == null) {
+ mixed = new BasicESequence(new BasicFeatureMap(this, WebServiceAssemblyPackage.DOCUMENT_ROOT__MIXED));
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, WebServiceAssemblyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, WebServiceAssemblyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation.map();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public WebServiceBinding getBindingWs() {
+ return (WebServiceBinding) ((ESequence) getMixed()).featureMap().get(WebServiceAssemblyPackage.eINSTANCE.getDocumentRoot_BindingWs(), true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetBindingWs(WebServiceBinding newBindingWs, NotificationChain msgs) {
+ return ((FeatureMap.Internal) ((ESequence) getMixed()).featureMap()).basicAdd(WebServiceAssemblyPackage.eINSTANCE.getDocumentRoot_BindingWs(), newBindingWs, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setBindingWs(WebServiceBinding newBindingWs) {
+ ((FeatureMap.Internal) ((ESequence) getMixed()).featureMap()).set(WebServiceAssemblyPackage.eINSTANCE.getDocumentRoot_BindingWs(), newBindingWs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
+ if (featureID >= 0) {
+ switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList) ((ESequence) getMixed()).featureMap()).basicRemove(otherEnd, msgs);
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList) ((EMap.InternalMapView) getXMLNSPrefixMap()).eMap()).basicRemove(otherEnd, msgs);
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList) ((EMap.InternalMapView) getXSISchemaLocation()).eMap()).basicRemove(otherEnd, msgs);
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__BINDING_WS:
+ return basicSetBindingWs(null, msgs);
+ default:
+ return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+ }
+ }
+ return eBasicSetContainer(null, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__MIXED:
+ return ((ESequence) getMixed()).featureMap();
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((EMap.InternalMapView) getXMLNSPrefixMap()).eMap();
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((EMap.InternalMapView) getXSISchemaLocation()).eMap();
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__BINDING_WS:
+ return getBindingWs();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__MIXED:
+ ((ESequence) getMixed()).featureMap().clear();
+ ((ESequence) getMixed()).featureMap().addAll((Collection) newValue);
+ return;
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ ((EMap.InternalMapView) getXMLNSPrefixMap()).eMap().addAll((Collection) newValue);
+ return;
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ ((EMap.InternalMapView) getXSISchemaLocation()).eMap().addAll((Collection) newValue);
+ return;
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__BINDING_WS:
+ setBindingWs((WebServiceBinding) newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__MIXED:
+ ((ESequence) getMixed()).featureMap().clear();
+ return;
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__BINDING_WS:
+ setBindingWs((WebServiceBinding) null);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.featureMap().isEmpty();
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT__BINDING_WS:
+ return getBindingWs() != null;
+ }
+ return eDynamicIsSet(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentRootImpl
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/DocumentRootImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/DocumentRootImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date
Added: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceAssemblyFactoryImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceAssemblyFactoryImpl.java?rev=379259&view=auto
==============================================================================
--- incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceAssemblyFactoryImpl.java (added)
+++ incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceAssemblyFactoryImpl.java Mon Feb 20 14:26:19 2006
@@ -0,0 +1,120 @@
+/**
+ *
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * 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.
+ */
+package org.apache.tuscany.binding.axis2.assembly.sdo.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.osoa.sca.model.WebServiceBinding;
+
+import org.apache.tuscany.binding.axis2.assembly.sdo.DocumentRoot;
+import org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceAssemblyFactory;
+import org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceAssemblyPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class WebServiceAssemblyFactoryImpl extends EFactoryImpl implements WebServiceAssemblyFactory {
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public WebServiceAssemblyFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case WebServiceAssemblyPackage.DOCUMENT_ROOT:
+ return (EObject) createDocumentRoot();
+ case WebServiceAssemblyPackage.WEB_SERVICE_BINDING:
+ return (EObject) createWebServiceBinding();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public WebServiceBinding createWebServiceBindingGen() {
+ WebServiceBindingImpl webServiceBinding = new WebServiceBindingImpl();
+ return webServiceBinding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public WebServiceAssemblyPackage getWebServiceAssemblyPackage() {
+ return (WebServiceAssemblyPackage) getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @deprecated
+ */
+ public static WebServiceAssemblyPackage getPackage() {
+ return WebServiceAssemblyPackage.eINSTANCE;
+ }
+
+ /**
+ * Custom code
+ */
+
+ private final org.apache.tuscany.binding.axis2.assembly.WebServiceAssemblyFactory logicalModelFactory = new org.apache.tuscany.binding.axis2.assembly.impl.WebServiceAssemblyFactoryImpl();
+
+ /**
+ * @see org.apache.tuscany.binding.axis2.assembly.sdo.WebServiceAssemblyFactory#createWebServiceBinding()
+ */
+ public WebServiceBinding createWebServiceBinding() {
+ return (WebServiceBinding) logicalModelFactory.createWebServiceBinding();
+ }
+
+} //WebServiceAssemblyFactoryImpl
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceAssemblyFactoryImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/sandbox/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/assembly/sdo/impl/WebServiceAssemblyFactoryImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev,Date