diff options
Diffstat (limited to 'tags/native-sca-1.0.incubating-M3/test')
161 files changed, 9860 insertions, 0 deletions
diff --git a/tags/native-sca-1.0.incubating-M3/test/AUTHORS b/tags/native-sca-1.0.incubating-M3/test/AUTHORS new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/AUTHORS diff --git a/tags/native-sca-1.0.incubating-M3/test/COPYING b/tags/native-sca-1.0.incubating-M3/test/COPYING new file mode 100755 index 0000000000..6b0b1270ff --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/COPYING @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/tags/native-sca-1.0.incubating-M3/test/ChangeLog b/tags/native-sca-1.0.incubating-M3/test/ChangeLog new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ChangeLog diff --git a/tags/native-sca-1.0.incubating-M3/test/INSTALL b/tags/native-sca-1.0.incubating-M3/test/INSTALL new file mode 100644 index 0000000000..b8a53409ed --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/INSTALL @@ -0,0 +1,10 @@ +Building and installing the Tuscany SCA for C++ tests +----------------------------------------------------- + +Run the following commands from the tuscany/cpp/sca directory: + +./autogen.sh +./build.sh + +The deployed tests should be in tuscany/cpp/sca/deploy/test + diff --git a/tags/native-sca-1.0.incubating-M3/test/LICENSE b/tags/native-sca-1.0.incubating-M3/test/LICENSE new file mode 100755 index 0000000000..f433b1a53f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/LICENSE @@ -0,0 +1,177 @@ + + 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 diff --git a/tags/native-sca-1.0.incubating-M3/test/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/Makefile.am new file mode 100644 index 0000000000..24292e8033 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/Makefile.am @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +SUBDIRS = ws.service.interop diff --git a/tags/native-sca-1.0.incubating-M3/test/NEWS b/tags/native-sca-1.0.incubating-M3/test/NEWS new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/NEWS diff --git a/tags/native-sca-1.0.incubating-M3/test/NOTICE b/tags/native-sca-1.0.incubating-M3/test/NOTICE new file mode 100644 index 0000000000..44befbee63 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/NOTICE @@ -0,0 +1,5 @@ +Apache Tuscany SCA Native +Copyright 2005, 2007 The Apache Software Foundation + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/)
\ No newline at end of file diff --git a/tags/native-sca-1.0.incubating-M3/test/README b/tags/native-sca-1.0.incubating-M3/test/README new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/README diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCClient/WSEntryPointTestRPCClient.c b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCClient/WSEntryPointTestRPCClient.c new file mode 100644 index 0000000000..115858f09a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCClient/WSEntryPointTestRPCClient.c @@ -0,0 +1,148 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <stdio.h> +#include <axiom.h> +#include <axis2_util.h> +#include <axiom_soap.h> +#include <axis2_client.h> + +axiom_node_t * +build_om_payload_for_WSEntryPointTestRPC_svc(axis2_env_t *env); + + +int main(int argc, char** argv) +{ + axis2_env_t *env = NULL; + axis2_char_t *address = NULL; + axis2_endpoint_ref_t* endpoint_ref = NULL; + axis2_options_t *options = NULL; + axis2_char_t *client_home = NULL; + axis2_svc_client_t* svc_client = NULL; + axiom_node_t *payload = NULL; + axiom_node_t *ret_node = NULL; + + /* Set up the envioronment */ + env = axis2_env_create_all("wsentrypointtestrpc.log", AXIS2_LOG_LEVEL_TRACE); + + /* Set end point reference of echo service */ + address = "http://localhost:9090/axis2/services/WSEntryPointTestRPC"; + if (argc > 1 ) + address = argv[1]; + if (AXIS2_STRCMP(address, "-h") == 0) + { + printf("Usage : %s [endpoint_url]\n", argv[0]); + printf("use -h for help\n"); + return 0; + } + printf ("Using endpoint : %s\n", address); + + /* Create EPR with given address */ + endpoint_ref = axis2_endpoint_ref_create(env, address); + + /* Setup options */ + options = axis2_options_create(env); + AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref); + AXIS2_OPTIONS_SET_ACTION(options, env, + "http://www.WSEntryPointTest.org/WSEntryPointTestRPC/doString"); + + /* Set up deploy folder. It is from the deploy folder, the configuration is picked up + * using the axis2.xml file. + * In this sample client_home points to the Axis2/C default deploy folder. The client_home can + * be different from this folder on your system. For example, you may have a different folder + * (say, my_client_folder) with its own axis2.xml file. my_client_folder/packages will have the + * composites that the client uses + */ + client_home = AXIS2_GETENV("AXIS2C_HOME"); + if (!client_home) + { + printf("Please ensure AXIS2C_HOME is set as an env variable\n"); + return 0; + } + + /* Create service client */ + svc_client = axis2_svc_client_create(env, client_home); + if (!svc_client) + { + printf("Error creating service client\n"); + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" + " %d :: %s", env->error->error_number, + AXIS2_ERROR_GET_MESSAGE(env->error)); + } + + /* Set service client options */ + AXIS2_SVC_CLIENT_SET_OPTIONS(svc_client, &env, options); + + /* Engage addressing composite */ + AXIS2_SVC_CLIENT_ENGAGE_COMPOSITE(svc_client, &env, AXIS2_COMPOSITE_ADDRESSING); + + /* Build the SOAP request message payload using OM API.*/ + payload = build_om_payload_for_WSEntryPointTestRPC_svc(env); + + /* Send request */ + ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload); + + if(ret_node) + { + axis2_char_t *om_str = NULL; + om_str = AXIOM_NODE_TO_STRING(ret_node, env); + if (om_str) + printf("\nReceived OM : %s\n", om_str); + printf("\nWSEntryPointTestRPC client invoke SUCCESSFUL!\n"); + } + else + { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" + " %d :: %s", env->error->error_number, + AXIS2_ERROR_GET_MESSAGE(env->error)); + printf("WSEntryPointTestRPC client invoke FAILED!\n"); + } + + if (svc_client) + { + AXIS2_SVC_CLIENT_FREE(svc_client, env); + svc_client = NULL; + } + if (endpoint_ref) + { + AXIS2_ENDPOINT_REF_FREE(endpoint_ref, &env); + endpoint_ref = NULL; + } + return 0; +} + +/* build SOAP request message content using OM */ +axiom_node_t * +build_om_payload_for_WSEntryPointTestRPC_svc(axis2_env_t *env) +{ + axiom_node_t* req_om_node = NULL; + axiom_element_t* req_om_elem = NULL; + axiom_node_t* param_om_node = NULL; + axiom_element_t* param_om_elem = NULL; + axiom_namespace_t *ns1 = NULL; + axis2_char_t *om_str = NULL; + + ns1 = axiom_namespace_create (env, "http://www.WSEntryPointTest.org/WSEntryPointTestRPC/", "ns1"); + req_om_elem = axiom_element_create(env, NULL, "doString", ns1, &req_om_node); + param_om_elem = axiom_element_create(env, req_om_node, "doStringRequest", ns1, ¶m_om_node); + AXIOM_ELEMENT_SET_TEXT(param_om_elem, env, "WSEntryPointTestRPC Client Call", param_om_node); + + om_str = AXIOM_NODE_TO_STRING(req_om_node, env); + if (om_str) + printf("\nSending OM : %s\n", om_str); + + return req_om_node; +} diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCClient/WSEntryPointTestRPCClient.vcproj b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCClient/WSEntryPointTestRPCClient.vcproj new file mode 100644 index 0000000000..5c48a3a683 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCClient/WSEntryPointTestRPCClient.vcproj @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.10" + Name="WSEntryPointTestRPCClient" + ProjectGUID="{F0972250-9F56-45B3-AFB9-0A4124A8B3D2}" + Keyword="Win32Proj"> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="1" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories="$(AXIS2C_HOME)/include" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + RuntimeLibrary="5" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="4"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="axiom.lib axis2_engine.lib axis2_parser.lib axis2_util.lib" + OutputFile="$(OutDir)/WSEntryPointTestRPCClient.exe" + LinkIncremental="2" + AdditionalLibraryDirectories="$(AXIS2C_HOME)/lib" + GenerateDebugInformation="TRUE" + ProgramDatabaseFile="$(OutDir)/WSEntryPointTestRPCClient.pdb" + SubSystem="1" + TargetMachine="1"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCWebDeploymentTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="1" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" + RuntimeLibrary="4" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLinkerTool" + OutputFile="$(OutDir)/WSEntryPointTestRPCClient.exe" + LinkIncremental="1" + GenerateDebugInformation="TRUE" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCWebDeploymentTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="Source Files" + Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> + <File + RelativePath=".\WSEntryPointTestRPCClient.c"> + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> + </Filter> + <Filter + Name="Resource Files" + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"> + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h new file mode 100644 index 0000000000..c804494b46 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h @@ -0,0 +1,30 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef WSEENTRYPOINTTESTRPC_H +#define WSEENTRYPOINTTESTRPC_H +class WSCompositeServiceTestRPC +{ +public: + virtual char* doString(char* arg1) = 0; +}; + +#endif + + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl new file mode 100644 index 0000000000..1706534042 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WSEntryPointTestRPC" targetNamespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/"> + + <wsdl:types> + <xs:schema targetNamespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" + elementFormDefault="qualified"> + + <xs:element name="doStringRequest"> + <xs:simpleType> + <xs:restriction base="xs:string"/> + </xs:simpleType> + </xs:element> + <xs:element name="doStringResponse"> + <xs:simpleType> + <xs:restriction base="xs:string"/> + </xs:simpleType> + </xs:element> + + </xs:schema> + </wsdl:types> + + <wsdl:message name="doStringResponseMsg"> + <wsdl:part name="doStringResponse" element="tns:doStringResponse"/> + </wsdl:message> + <wsdl:message name="doStringRequestMsg"> + <wsdl:part name="doStringRequest" element="tns:doStringRequest"/> + </wsdl:message> + +<!-- + <wsdl:message name="doStringResponseMsg"> + <wsdl:part name="doStringResponse" type="xsd:string"/> + </wsdl:message> + <wsdl:message name="doStringRequestMsg"> + <wsdl:part name="doStringRequest" type="xsd:string"/> + </wsdl:message> +--> + <wsdl:portType name="WSEntryPointTestRPC"> + <wsdl:operation name="doString"> + <wsdl:input message="tns:doStringRequestMsg"/> + <wsdl:output message="tns:doStringResponseMsg"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="WSEntryPointTestRPCSOAP" type="tns:WSEntryPointTestRPC"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="doString"> + <soap:operation soapAction="WSEntryPointTestRPC/doString"/> + <wsdl:input> + <soap:body namespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body namespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="WSEntryPointTestRPC"> + <wsdl:port binding="tns:WSEntryPointTestRPCSOAP" name="WSEntryPointTestRPCSOAP"> + <soap:address location="http://localhost:9090/axis2/services/WSEntryPointTestRPC"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCComposite.vcproj b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCComposite.vcproj new file mode 100644 index 0000000000..f82221700b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCComposite.vcproj @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="7.10" + Name="WSEntryPointTestRPCComposite" + ProjectGUID="{6F98DD05-6B3D-4C06-9E1C-AF3256DCA7EA}" + Keyword="Win32Proj"> + <Platforms> + <Platform + Name="Win32"/> + </Platforms> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="Debug" + IntermediateDirectory="Debug" + ConfigurationType="2" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories="$(TUSCANY_SCACPP)/include,$(TUSCANY_SDOCPP)/include" + PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;WSENTRYPOINTTESTRPCCOMPOSITE_EXPORTS" + MinimalRebuild="TRUE" + BasicRuntimeChecks="3" + RuntimeLibrary="1" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="4"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="tuscany_sca.lib tuscany_sdo.lib" + OutputFile="$(OutDir)/WSEntryPointTestRPCComposite.dll" + LinkIncremental="2" + AdditionalLibraryDirectories="$(TUSCANY_SCACPP)/lib,$(TUSCANY_SDOCPP)/lib" + GenerateDebugInformation="TRUE" + ProgramDatabaseFile="$(OutDir)/WSEntryPointTestRPCComposite.pdb" + SubSystem="2" + ImportLibrary="$(OutDir)/WSEntryPointTestRPCComposite.lib" + TargetMachine="1"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCWebDeploymentTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="Release" + IntermediateDirectory="Release" + ConfigurationType="2" + CharacterSet="2"> + <Tool + Name="VCCLCompilerTool" + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;WSENTRYPOINTTESTRPCCOMPOSITE_EXPORTS" + RuntimeLibrary="0" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="TRUE" + DebugInformationFormat="3"/> + <Tool + Name="VCCustomBuildTool"/> + <Tool + Name="VCLinkerTool" + OutputFile="$(OutDir)/WSEntryPointTestRPCComposite.dll" + LinkIncremental="1" + GenerateDebugInformation="TRUE" + SubSystem="2" + OptimizeReferences="2" + EnableCOMDATFolding="2" + ImportLibrary="$(OutDir)/WSEntryPointTestRPCComposite.lib" + TargetMachine="1"/> + <Tool + Name="VCMIDLTool"/> + <Tool + Name="VCPostBuildEventTool"/> + <Tool + Name="VCPreBuildEventTool"/> + <Tool + Name="VCPreLinkEventTool"/> + <Tool + Name="VCResourceCompilerTool"/> + <Tool + Name="VCWebServiceProxyGeneratorTool"/> + <Tool + Name="VCXMLDataGeneratorTool"/> + <Tool + Name="VCWebDeploymentTool"/> + <Tool + Name="VCManagedWrapperGeneratorTool"/> + <Tool + Name="VCAuxiliaryManagedWrapperGeneratorTool"/> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="Source Files" + Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> + <File + RelativePath=".\WSEntryPointTestRPCImpl.cpp"> + </File> + <File + RelativePath=".\WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Proxy.cpp"> + </File> + <File + RelativePath=".\WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Wrapper.cpp"> + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> + <File + RelativePath=".\WSEntryPointTestRPC.h"> + </File> + <File + RelativePath=".\WSEntryPointTestRPCImpl.h"> + </File> + <File + RelativePath=".\WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Proxy.h"> + </File> + <File + RelativePath=".\WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Wrapper.h"> + </File> + </Filter> + <Filter + Name="Resource Files" + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"> + <File + RelativePath=".\sca.composite"> + </File> + <File + RelativePath=".\services.xml"> + </File> + <File + RelativePath=".\Tuscany-model.config"> + </File> + <File + RelativePath=".\WSEntryPointTestRPC.wsdl"> + </File> + <File + RelativePath=".\WSEntryPointTestRPCImpl.componentType"> + </File> + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType new file mode 100644 index 0000000000..15287150e0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="ASCII"?> +<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + + <service name="WSEntryPointTestRPCService"> + <interface.cpp header="WSEntryPointTestRPC.h"> + </interface.cpp> + </service> + +</componentType> diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.cpp b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.cpp new file mode 100644 index 0000000000..e2ca28345d --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.cpp @@ -0,0 +1,38 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#include "WSCompositeServiceTestRPCImpl.h" +#include <stdio.h> + +WSCompositeServiceTestRPCImpl::WSCompositeServiceTestRPCImpl() +{ +} + +WSCompositeServiceTestRPCImpl::~WSCompositeServiceTestRPCImpl() +{ +} + +// WSCompositeServiceTestRPC interface +char* WSCompositeServiceTestRPCImpl::doString(char* arg1) +{ + printf("WSCompositeServiceTestRPCImpl::doString %s\n", arg1); + + return "WSCompositeServiceTestRPCImpl::doString response"; +} + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h new file mode 100644 index 0000000000..7d3b355b8a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h @@ -0,0 +1,36 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef WSEENTRYPOINTTESTRPCIMPL_H +#define WSEENTRYPOINTTESTRPCIMPL_H + +#include "WSCompositeServiceTestRPC.h" + +class WSCompositeServiceTestRPCImpl : public WSCompositeServiceTestRPC +{ +public: + WSCompositeServiceTestRPCImpl(); + virtual ~WSCompositeServiceTestRPCImpl(); + + // WSCompositeServiceTestRPC interface + virtual char* doString(char* arg1); +}; + +#endif + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Proxy.cpp b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Proxy.cpp new file mode 100644 index 0000000000..f38fd95c79 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Proxy.cpp @@ -0,0 +1,63 @@ +/* + * 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. + */ + +#include "WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy.h" + +#include "osoa/sca/sca.h" +using namespace osoa::sca; +using namespace tuscany::sca; + +extern "C" +{ + + #if defined(WIN32) || defined(_WINDOWS) + __declspec(dllexport) + #endif + WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy* WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy_Factory(ServiceWrapper* target) + { + return new WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy(target); + } + + #if defined(WIN32) || defined(_WINDOWS) + __declspec(dllexport) + #endif + void WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy_Destructor(void* proxy) + { + delete (WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy*)proxy; + } +} + +WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy::WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy(ServiceWrapper* targ) : target(targ) +{ +} + +WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy::~WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy() +{ + if (target) + delete target; +} + +char* WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy::doString( char* arg0) +{ + Operation operation("doString"); + operation.addParameter(&arg0); + char* ret; + operation.setReturnValue(&ret); + target->invoke(operation); + return ret; +} + + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Proxy.h b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Proxy.h new file mode 100644 index 0000000000..a2da07322c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Proxy.h @@ -0,0 +1,34 @@ +/* + * 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. + */ + +#ifndef WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy_h +#define WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy_h + +#include "WSCompositeServiceTestRPC.h" +#include "tuscany/sca/core/ServiceWrapper.h" + +class WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy : public WSCompositeServiceTestRPC +{ +public: + WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy(tuscany::sca::ServiceWrapper*); + virtual ~WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy(); + virtual char* doString( char* arg1); +private: + tuscany::sca::ServiceWrapper* target; +}; + +#endif // WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Proxy_h + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Wrapper.cpp b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Wrapper.cpp new file mode 100644 index 0000000000..93f6cf7a28 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Wrapper.cpp @@ -0,0 +1,70 @@ +/* + * 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. + */ + +#include "WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper.h" + +#include "osoa/sca/sca.h" +using namespace osoa::sca; +using namespace tuscany::sca; + +extern "C" +{ + + #if defined(WIN32) || defined(_WINDOWS) + __declspec(dllexport) + #endif + WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper* WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper_Factory(tuscany::sca::model::Service* target) + { + return new WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper(target); + } +} + +WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper::WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper(Service* target) : CPPServiceWrapper(target) +{ + impl = (WSCompositeServiceTestRPCImpl*)getImplementation(); +} + +WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper::~WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper() +{ + releaseImplementation(); +} + +void* WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper::newImplementation() +{ + return new WSCompositeServiceTestRPCImpl; +} + +void WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper::deleteImplementation() +{ + delete impl; +} + +void WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper::invokeService(Operation& operation) +{ + const string& operationName = operation.getName(); + + if (operationName == "doString") + { + char* p0 = *( char**)operation.getParameterValue(0); + *(char**)operation.getReturnValue() = impl->doString(p0); + return; + } + + + throw ServiceRuntimeException("Invalid operation"); + +} + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Wrapper.h b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Wrapper.h new file mode 100644 index 0000000000..3f7b011749 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl_WSEntryPointTestRPCService_Wrapper.h @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#ifndef WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper_h +#define WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper_h + +#include "WSCompositeServiceTestRPCImpl.h" +#include "tuscany/sca/cpp/CPPServiceWrapper.h" + +class WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper : public tuscany::sca::cpp::CPPServiceWrapper +{ +public: + WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper(tuscany::sca::model::Service* target); + virtual ~WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper(); + virtual void invokeService(tuscany::sca::Operation& operation); + virtual void* newImplementation(); + virtual void deleteImplementation(); +private: + WSCompositeServiceTestRPCImpl* impl; +}; + +#endif // WSCompositeServiceTestRPCImpl_WSCompositeServiceTestRPCService_Wrapper_h + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/sca.composite b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/sca.composite new file mode 100644 index 0000000000..f454a5bde0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/sca.composite @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="ASCII"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/0.9" + xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9" + name="WSEntryPointTestRPCComposite"> + + <!-- Expose as a web service --> + <entryPoint name="WSEntryPointTestRPCEntrypoint" multiplicity="1..1"> + <interface.wsdl interface="WSEntryPointTestRPC.wsdl" callbackInterface=""></interface.wsdl> + <binding.ws port="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/#wsdl.endpoint(WSEntryPointTestRPC/WSEntryPointTestRPCSOAP)"></binding.ws> + <reference>WSEntryPointTestRPCServiceComponent</reference> + </entryPoint> + + + <component name="WSEntryPointTestRPCServiceComponent"> + <implementation.cpp dll="WSEntryPointTestRPCComposite.dll" header="WSEntryPointTestRPCImpl.h"></implementation.cpp> + <properties> </properties> + <references> </references> + </component> +</composite> diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/services.xml b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/services.xml new file mode 100644 index 0000000000..2fd4580526 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCComposite/services.xml @@ -0,0 +1,30 @@ + +<!-- + Copyright 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. + --> +<service name="WSEntryPointTestRPC"> + <parameter name="ServiceClass" locked="xsd:false">tuscany_sca</parameter> + <parameter name="TuscanySystemRoot" locked="xsd:false">D:/tuscany/cpp/sca/test/WSEntryPointTestRPC/runtime</parameter> + <parameter name="TuscanyEntryPoint" locked="xsd:false">WSEntryPointTestRPCSubsystem/WSEntryPointTestRPCService/WSEntryPointTestRPCEntrypoint</parameter> + + <description> + This is a testing service , to test the system is working or not + </description> + + <operation name="doString"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + +</service> diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCSubsystem/sca.subsystem b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCSubsystem/sca.subsystem new file mode 100644 index 0000000000..91d3105f5b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/WSEntryPointTestRPCSubsystem/sca.subsystem @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ASCII"?> +<!-- + 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. + --> + +<subsystem xmlns="http://www.osoa.org/xmlns/sca/0.9" name="WSEntryPointTestRPCSubsystem"> + + <compositeComponent name="WSEntryPointTestRPCService" composite="WSEntryPointTestRPCComposite" /> + +</subsystem> + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/configuration/WSEntryPointTestRPCSubsystem/sca.subsystem b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/configuration/WSEntryPointTestRPCSubsystem/sca.subsystem new file mode 100644 index 0000000000..91d3105f5b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/configuration/WSEntryPointTestRPCSubsystem/sca.subsystem @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ASCII"?> +<!-- + 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. + --> + +<subsystem xmlns="http://www.osoa.org/xmlns/sca/0.9" name="WSEntryPointTestRPCSubsystem"> + + <compositeComponent name="WSEntryPointTestRPCService" composite="WSEntryPointTestRPCComposite" /> + +</subsystem> + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h new file mode 100644 index 0000000000..c804494b46 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h @@ -0,0 +1,30 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef WSEENTRYPOINTTESTRPC_H +#define WSEENTRYPOINTTESTRPC_H +class WSCompositeServiceTestRPC +{ +public: + virtual char* doString(char* arg1) = 0; +}; + +#endif + + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl new file mode 100644 index 0000000000..1706534042 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WSEntryPointTestRPC" targetNamespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/"> + + <wsdl:types> + <xs:schema targetNamespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" + elementFormDefault="qualified"> + + <xs:element name="doStringRequest"> + <xs:simpleType> + <xs:restriction base="xs:string"/> + </xs:simpleType> + </xs:element> + <xs:element name="doStringResponse"> + <xs:simpleType> + <xs:restriction base="xs:string"/> + </xs:simpleType> + </xs:element> + + </xs:schema> + </wsdl:types> + + <wsdl:message name="doStringResponseMsg"> + <wsdl:part name="doStringResponse" element="tns:doStringResponse"/> + </wsdl:message> + <wsdl:message name="doStringRequestMsg"> + <wsdl:part name="doStringRequest" element="tns:doStringRequest"/> + </wsdl:message> + +<!-- + <wsdl:message name="doStringResponseMsg"> + <wsdl:part name="doStringResponse" type="xsd:string"/> + </wsdl:message> + <wsdl:message name="doStringRequestMsg"> + <wsdl:part name="doStringRequest" type="xsd:string"/> + </wsdl:message> +--> + <wsdl:portType name="WSEntryPointTestRPC"> + <wsdl:operation name="doString"> + <wsdl:input message="tns:doStringRequestMsg"/> + <wsdl:output message="tns:doStringResponseMsg"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="WSEntryPointTestRPCSOAP" type="tns:WSEntryPointTestRPC"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="doString"> + <soap:operation soapAction="WSEntryPointTestRPC/doString"/> + <wsdl:input> + <soap:body namespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body namespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="WSEntryPointTestRPC"> + <wsdl:port binding="tns:WSEntryPointTestRPCSOAP" name="WSEntryPointTestRPCSOAP"> + <soap:address location="http://localhost:9090/axis2/services/WSEntryPointTestRPC"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType new file mode 100644 index 0000000000..15287150e0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="ASCII"?> +<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + + <service name="WSEntryPointTestRPCService"> + <interface.cpp header="WSEntryPointTestRPC.h"> + </interface.cpp> + </service> + +</componentType> diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h new file mode 100644 index 0000000000..7d3b355b8a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h @@ -0,0 +1,36 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef WSEENTRYPOINTTESTRPCIMPL_H +#define WSEENTRYPOINTTESTRPCIMPL_H + +#include "WSCompositeServiceTestRPC.h" + +class WSCompositeServiceTestRPCImpl : public WSCompositeServiceTestRPC +{ +public: + WSCompositeServiceTestRPCImpl(); + virtual ~WSCompositeServiceTestRPCImpl(); + + // WSCompositeServiceTestRPC interface + virtual char* doString(char* arg1); +}; + +#endif + diff --git a/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/sca.composite b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/sca.composite new file mode 100644 index 0000000000..f454a5bde0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/sca.composite @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="ASCII"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/0.9" + xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9" + name="WSEntryPointTestRPCComposite"> + + <!-- Expose as a web service --> + <entryPoint name="WSEntryPointTestRPCEntrypoint" multiplicity="1..1"> + <interface.wsdl interface="WSEntryPointTestRPC.wsdl" callbackInterface=""></interface.wsdl> + <binding.ws port="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/#wsdl.endpoint(WSEntryPointTestRPC/WSEntryPointTestRPCSOAP)"></binding.ws> + <reference>WSEntryPointTestRPCServiceComponent</reference> + </entryPoint> + + + <component name="WSEntryPointTestRPCServiceComponent"> + <implementation.cpp dll="WSEntryPointTestRPCComposite.dll" header="WSEntryPointTestRPCImpl.h"></implementation.cpp> + <properties> </properties> + <references> </references> + </component> +</composite> diff --git a/tags/native-sca-1.0.incubating-M3/test/autogen.sh b/tags/native-sca-1.0.incubating-M3/test/autogen.sh new file mode 100755 index 0000000000..af38864985 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/autogen.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +for i in "libtoolize --force" aclocal autoconf autoheader +do + echo -n "Running $i..." + $i || exit 1 + echo 'done.' +done + +echo -n 'Running automake...' +automake --add-missing +echo 'done.' +exit 0 + diff --git a/tags/native-sca-1.0.incubating-M3/test/build.sh b/tags/native-sca-1.0.incubating-M3/test/build.sh new file mode 100755 index 0000000000..7a3c439e8b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/build.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + +if [ x$TUSCANY_SCACPP = x ]; then +echo "TUSCANY_SCACPP not set" +exit; +fi +echo "Using SCA installed at $TUSCANY_SCACPP" + +if [ x$TUSCANY_SDOCPP = x ]; then +echo "TUSCANY_SDOCPP not set" +exit; +fi +echo "Using SDO installed at $TUSCANY_SDOCPP" + +if [ x$AXIS2C_HOME = x ]; then +echo "AXIS2C_HOME not set" +exit; +fi +echo "Using Axis2C installed at $AXIS2C_HOME" + +./configure --prefix=${TUSCANY_SCACPP} --enable-static=no +make +make install + diff --git a/tags/native-sca-1.0.incubating-M3/test/configure.ac b/tags/native-sca-1.0.incubating-M3/test/configure.ac new file mode 100644 index 0000000000..f84c32ab1e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/configure.ac @@ -0,0 +1,34 @@ +dnl run autogen.sh to generate the configure script. + +AC_PREREQ(2.59) +AC_INIT(tuscany_sca_tests, 0.1.incubating-M1) +AC_CANONICAL_SYSTEM +AM_CONFIG_HEADER(config.h) +AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) +AC_PREFIX_DEFAULT(/usr/local/tuscany/sca/test) + +# Checks for programs. +AC_PROG_CXX +AC_PROG_CC +AC_PROG_CPP +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET +AC_PROG_LIBTOOL + +# Check for dynamic library suffixes +AC_MSG_CHECKING([checking for dynamic library suffix]) +AC_CHECK_HEADER([sys/appleapiopts.h], + [AC_SUBST([libsuffix],[".dylib"]) AC_MSG_RESULT([using .dylib])], + [AC_SUBST([libsuffix],[".so"]) AC_MSG_RESULT([using .so])] +) + + +AC_CONFIG_FILES([Makefile + ws.service.interop/Makefile + ws.service.interop/resources/Makefile + ws.service.interop/ws.service.interop/Makefile + ws.service.interop/ws.service.interop.client/Makefile + ]) +AC_OUTPUT + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/deploy.bat b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/deploy.bat new file mode 100644 index 0000000000..d6d0c72cb9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/deploy.bat @@ -0,0 +1,57 @@ +@echo off
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+
+
+rem Will copy the correct files from the source tree for packaging and deployment of the
+rem SCA sample.
+setlocal
+set currentPath=%~d0%~p0
+set sourcePath=%currentPath%
+
+
+set destinationPath=%sourcePath%\deploy
+
+if not exist %destinationPath%\packages mkdir %destinationPath%\packages
+if not exist %destinationPath%\packages\ws.binding.service mkdir %destinationPath%\packages\ws.binding.service
+
+copy %sourcePath%\ws.binding.service\TestImpl.componentType %destinationPath%\packages\ws.binding.service
+copy %sourcePath%\ws.binding.service\ws.binding.service.composite %destinationPath%\packages\ws.binding.service
+copy %sourcePath%\ws.binding.service\Test.h %destinationPath%\packages\ws.binding.service
+copy %sourcePath%\ws.binding.service\TestImpl.h %destinationPath%\packages\ws.binding.service
+copy %sourcePath%\ws.binding.service\Test.wsdl %destinationPath%\packages\ws.binding.service
+copy %sourcePath%\ws.binding.service\Debug\ws.binding.service.dll %destinationPath%\packages\ws.binding.service
+
+if not exist %destinationPath%\bin mkdir %destinationPath%\bin
+copy %sourcePath%\ws.binding.service.client\Debug\ws.binding.service.client.exe %destinationPath%\bin
+copy %sourcePath%\ws.binding.service.client\Debug\ws.binding.service.client.pdb %destinationPath%\bin
+copy %sourcePath%\ws.binding.service.client\runclient.bat %destinationPath%\bin
+
+
+if not exist %destinationPath%\configuration mkdir %destinationPath%\configuration
+if not exist %destinationPath%\configuration\ws.binding.service.solution mkdir %destinationPath%\configuration\ws.binding.service.solution
+
+copy %sourcePath%\ws.binding.service\ws.binding.service.solution.composite %destinationPath%\configuration\ws.binding.service.solution
+
+
+if not exist %AXIS2C_HOME%\services\ws.binding.service mkdir %AXIS2C_HOME%\services\ws.binding.service
+
+copy %sourcePath%\ws.binding.service\services.xml %AXIS2C_HOME%\services\ws.binding.service
+copy %TUSCANY_SCACPP%\extensions\ws\service\bin\tuscany_sca_ws_service.dll %AXIS2C_HOME%\services\ws.binding.service
+
+
+endlocal
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/TestClient.c b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/TestClient.c new file mode 100644 index 0000000000..bb728dc916 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/TestClient.c @@ -0,0 +1,414 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <stdio.h> +#include <axiom.h> +#include <axis2_util.h> +#include <axiom_soap.h> +#include <axis2_client.h> + +axiom_node_t * +build_om_payload_for_doDataObject(axis2_env_t *env); + +axiom_node_t * +build_om_payload_for_doDataObject_Failure(axis2_env_t *env); + +axiom_node_t * +build_om_payload_for_doAny(axis2_env_t *env); + +axiom_node_t * +build_om_payload_for_doMixed(axis2_env_t *env); + +axiom_node_t * +build_om_payload_for_doSingleData(axis2_env_t *env, char* name, char* data); + +void runCall(axis2_env_t* env, char* endpoint, char* opName, axiom_node_t* payload, int expectFailure); + +int main(int argc, char** argv) +{ + axis2_env_t *env = NULL; + axis2_char_t *address = NULL; + axis2_endpoint_ref_t* endpoint_ref = NULL; + axis2_options_t *options = NULL; + axis2_char_t *client_home = NULL; + axis2_svc_client_t* svc_client = NULL; + axiom_node_t *payload = NULL; + axiom_node_t *ret_node = NULL; + + /* Set up the envioronment */ + env = axis2_env_create_all("ws.binding.service.test.log", AXIS2_LOG_LEVEL_TRACE); + + /* Set end point reference of echo service */ + address = "http://localhost:9090/axis2/services/ws.binding.service"; + if (argc > 1 ) + address = argv[1]; + if (AXIS2_STRCMP(address, "-h") == 0) + { + printf("Usage : %s [endpoint_url]\n", argv[0]); + printf("use -h for help\n"); + return 0; + } + printf ("Using endpoint : %s\n", address); + + + /* do all the single data types */ + payload = build_om_payload_for_doSingleData(env, "doChars", "Here is some char* data"); + runCall(env, address, "doChars", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doLong", "123456789"); + runCall(env, address, "doLong", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doInt", "123456789"); + runCall(env, address, "doInt", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doFloat", "123.45"); + runCall(env, address, "doFloat", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doLongDouble", "12345.67891"); + runCall(env, address, "doLongDouble", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doDouble", "1234.4567"); + runCall(env, address, "doDouble", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doBool", "true"); + runCall(env, address, "doBool", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doShort", "12345"); + runCall(env, address, "doShort", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doBytes", "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"); + runCall(env, address, "doBytes", payload, 0); + payload = build_om_payload_for_doSingleData(env, "doByte", "66"); + runCall(env, address, "doByte", payload, 0); + payload = build_om_payload_for_doDataObject(env); + runCall(env, address, "doDataObject", payload, 0); + payload = build_om_payload_for_doMixed(env); + runCall(env, address, "doMixed", payload, 0); + payload = build_om_payload_for_doAny(env); + runCall(env, address, "doAny", payload, 0); + + payload = build_om_payload_for_doDataObject_Failure(env); + runCall(env, address, "doDataObject", payload, 1); + + return 0; +} + +void runCall(axis2_env_t *env, char* endpoint, char* opName, axiom_node_t* payload, int expectFailure) +{ + axis2_char_t *address = endpoint; + axis2_endpoint_ref_t* endpoint_ref = NULL; + axis2_options_t *options = NULL; + axis2_char_t *client_home = NULL; + axis2_svc_client_t* svc_client = NULL; + axiom_node_t *ret_node = NULL; + char action [100]; + int len = 0; + + printf("runSingleDataCall with endpoint %s, opName %s\n", endpoint, opName); + + client_home = AXIS2_GETENV("AXIS2C_HOME"); + + /* Create EPR with given address */ + endpoint_ref = axis2_endpoint_ref_create(env, address); + + svc_client = axis2_svc_client_create(env, client_home); + if (!svc_client) + { + printf("Error creating service client\n"); + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" + " %d :: %s", env->error->error_number, + AXIS2_ERROR_GET_MESSAGE(env->error)); + } + + options = axis2_options_create(env); + + AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref); + + len = sprintf(action, "http://www.WSEntryPointTest.org/WSEntryPointTest/%s", opName); + AXIS2_OPTIONS_SET_ACTION(options, env, action); + + /* Set service client options */ + AXIS2_SVC_CLIENT_SET_OPTIONS(svc_client, env, options); + + /* Engage addressing composite */ + AXIS2_SVC_CLIENT_ENGAGE_MODULE(svc_client, env, AXIS2_MODULE_ADDRESSING); + + /* Send request */ + ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload); + if(ret_node) + { + axis2_char_t *om_str = NULL; + om_str = AXIOM_NODE_TO_STRING(ret_node, env); + if (om_str) + printf("\nReceived OM : %s\n", om_str); + printf("\nWSEntryPointTest %s invoke SUCCESSFUL!\n", opName); + } + else + { + if(expectFailure) + { + printf("\nWSEntryPointTest %s failure as expected: SUCCESSFUL!\n", opName); + } + else + { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" + " %d :: %s", env->error->error_number, + AXIS2_ERROR_GET_MESSAGE(env->error)); + printf("WSEntryPointTest %s invoke FAILED!\n", opName); + } + } + + if (svc_client) + { + AXIS2_SVC_CLIENT_FREE(svc_client, env); + svc_client = NULL; + } + if (endpoint_ref) + { + AXIS2_ENDPOINT_REF_FREE(endpoint_ref, env); + endpoint_ref = NULL; + } +} + +/* build SOAP request message content using OM */ +axiom_node_t * +build_om_payload_for_doDataObject(axis2_env_t *env) +{ + axiom_node_t* req_om_node = NULL; + axiom_element_t* req_om_elem = NULL; + axiom_node_t* someData_om_node = NULL; + axiom_element_t* someData_om_elem = NULL; + axiom_node_t* someStringData_om_node = NULL; + axiom_element_t* someStringData_om_elem = NULL; + axiom_node_t* someIntData_om_node = NULL; + axiom_element_t* someIntData_om_elem = NULL; + axiom_node_t* someFloatData_om_node = NULL; + axiom_element_t* someFloatData_om_elem = NULL; + axiom_node_t* someDateData_om_node = NULL; + axiom_element_t* someDateData_om_elem = NULL; + axiom_node_t* someListData_om_node = NULL; + axiom_element_t* someListData_om_elem = NULL; + axiom_node_t* listItem1_om_node = NULL; + axiom_element_t* listItem1_om_elem = NULL; + axiom_node_t* listItem2_om_node = NULL; + axiom_element_t* listItem2_om_elem = NULL; + axiom_namespace_t *ns1 = NULL; + axis2_char_t *om_str = NULL; + + ns1 = axiom_namespace_create (env, "http://www.WSEntryPointTest.org/WSEntryPointTest/", "ns1"); + req_om_elem = axiom_element_create(env, NULL, "doDataObject", ns1, &req_om_node); + someData_om_elem = axiom_element_create(env, req_om_node, "someData", ns1, &someData_om_node); + someStringData_om_elem = axiom_element_create(env, someData_om_node, "someStringData", ns1, &someStringData_om_node); + AXIOM_ELEMENT_SET_TEXT(someStringData_om_elem, env, "Here is some string data", someStringData_om_node); + someIntData_om_elem = axiom_element_create(env, someData_om_node, "someIntData", ns1, &someIntData_om_node); + AXIOM_ELEMENT_SET_TEXT(someIntData_om_elem, env, "12345678", someIntData_om_node); + someFloatData_om_elem = axiom_element_create(env, someData_om_node, "someFloatData", ns1, &someFloatData_om_node); + AXIOM_ELEMENT_SET_TEXT(someFloatData_om_elem, env, "1234.5678", someFloatData_om_node); + someDateData_om_elem = axiom_element_create(env, someData_om_node, "someDateData", ns1, &someDateData_om_node); + AXIOM_ELEMENT_SET_TEXT(someDateData_om_elem, env, "1977-06-27", someDateData_om_node); + someListData_om_elem = axiom_element_create(env, someData_om_node, "someListData", ns1, &someListData_om_node); + listItem1_om_elem = axiom_element_create(env, someListData_om_node, "listItem", ns1, &listItem1_om_node); + AXIOM_ELEMENT_SET_TEXT(listItem1_om_elem, env, "Here is list item 1", listItem1_om_node); + listItem2_om_elem = axiom_element_create(env, someListData_om_node, "listItem", ns1, &listItem2_om_node); + AXIOM_ELEMENT_SET_TEXT(listItem2_om_elem, env, "Here is list item 2", listItem2_om_node); + + om_str = AXIOM_NODE_TO_STRING(req_om_node, env); + if (om_str) + printf("\nSending OM : %s\n", om_str); + + return req_om_node; +} + +/* build SOAP request message content using OM */ +axiom_node_t * +build_om_payload_for_doDataObject_Failure(axis2_env_t *env) +{ + axiom_node_t* req_om_node = NULL; + axiom_element_t* req_om_elem = NULL; + axiom_node_t* someData_om_node = NULL; + axiom_element_t* someData_om_elem = NULL; + axiom_node_t* someStringData_om_node = NULL; + axiom_element_t* someStringData_om_elem = NULL; + axiom_node_t* someIntData_om_node = NULL; + axiom_element_t* someIntData_om_elem = NULL; + axiom_node_t* someFloatData_om_node = NULL; + axiom_element_t* someFloatData_om_elem = NULL; + axiom_node_t* someDateData_om_node = NULL; + axiom_element_t* someDateData_om_elem = NULL; + axiom_node_t* someListData_om_node = NULL; + axiom_element_t* someListData_om_elem = NULL; + axiom_node_t* listItem1_om_node = NULL; + axiom_element_t* listItem1_om_elem = NULL; + axiom_node_t* listItem2_om_node = NULL; + axiom_element_t* listItem2_om_elem = NULL; + axiom_namespace_t *ns1 = NULL; + axis2_char_t *om_str = NULL; + + // Create bad Axiom doc + ns1 = axiom_namespace_create (env, "http://www.WSEntryPointTest.org/WSEntryPointTest/", "ns1"); + req_om_elem = axiom_element_create(env, NULL, "doDataObject", ns1, &req_om_node); + someData_om_elem = axiom_element_create(env, req_om_node, "someUnknownData", ns1, &someData_om_node); + someStringData_om_elem = axiom_element_create(env, someData_om_node, "someStringData", ns1, &someStringData_om_node); + AXIOM_ELEMENT_SET_TEXT(someStringData_om_elem, env, "Here is some string data", someStringData_om_node); + someIntData_om_elem = axiom_element_create(env, someData_om_node, "someIntData", ns1, &someIntData_om_node); + AXIOM_ELEMENT_SET_TEXT(someIntData_om_elem, env, "12345678", someIntData_om_node); + someFloatData_om_elem = axiom_element_create(env, someData_om_node, "someFloatData", ns1, &someFloatData_om_node); + AXIOM_ELEMENT_SET_TEXT(someFloatData_om_elem, env, "1234.5678", someFloatData_om_node); + someDateData_om_elem = axiom_element_create(env, someData_om_node, "someDateData", ns1, &someDateData_om_node); + AXIOM_ELEMENT_SET_TEXT(someDateData_om_elem, env, "1977-06-27", someDateData_om_node); + someListData_om_elem = axiom_element_create(env, someData_om_node, "someListData", ns1, &someListData_om_node); + listItem1_om_elem = axiom_element_create(env, someListData_om_node, "listItem", ns1, &listItem1_om_node); + AXIOM_ELEMENT_SET_TEXT(listItem1_om_elem, env, "Here is list item 1", listItem1_om_node); + listItem2_om_elem = axiom_element_create(env, someListData_om_node, "listItem", ns1, &listItem2_om_node); + AXIOM_ELEMENT_SET_TEXT(listItem2_om_elem, env, "Here is list item 2", listItem2_om_node); + + om_str = AXIOM_NODE_TO_STRING(req_om_node, env); + if (om_str) + printf("\nSending OM : %s\n", om_str); + + return req_om_node; +} + + + +/* build SOAP request message content using OM */ +axiom_node_t * +build_om_payload_for_doMixed(axis2_env_t *env) +{ + axiom_node_t* req_om_node = NULL; + axiom_element_t* req_om_elem = NULL; + axiom_node_t* arg1_om_node = NULL; + axiom_element_t* arg1_om_elem = NULL; + axiom_node_t* arg2_om_node = NULL; + axiom_element_t* arg2_om_elem = NULL; + axiom_node_t* arg3_om_node = NULL; + axiom_element_t* arg3_om_elem = NULL; + axiom_node_t* arg4_om_node = NULL; + axiom_element_t* arg4_om_elem = NULL; + axiom_node_t* arg5_om_node = NULL; + axiom_element_t* arg5_om_elem = NULL; + axiom_node_t* someStringData_om_node = NULL; + axiom_element_t* someStringData_om_elem = NULL; + axiom_node_t* someIntData_om_node = NULL; + axiom_element_t* someIntData_om_elem = NULL; + axiom_node_t* someFloatData_om_node = NULL; + axiom_element_t* someFloatData_om_elem = NULL; + axiom_node_t* someDateData_om_node = NULL; + axiom_element_t* someDateData_om_elem = NULL; + axiom_node_t* someListData_om_node = NULL; + axiom_element_t* someListData_om_elem = NULL; + axiom_node_t* listItem1_om_node = NULL; + axiom_element_t* listItem1_om_elem = NULL; + axiom_node_t* listItem2_om_node = NULL; + axiom_element_t* listItem2_om_elem = NULL; + axiom_namespace_t *ns1 = NULL; + axis2_char_t *om_str = NULL; + + ns1 = axiom_namespace_create (env, "http://www.WSEntryPointTest.org/WSEntryPointTest/", "ns1"); + req_om_elem = axiom_element_create(env, NULL, "doMixed", ns1, &req_om_node); + arg1_om_elem = axiom_element_create(env, req_om_node, "arg1", ns1, &arg1_om_node); + AXIOM_ELEMENT_SET_TEXT(arg1_om_elem, env, "Here is some char* data", arg1_om_node); + arg2_om_elem = axiom_element_create(env, req_om_node, "arg2", ns1, &arg2_om_node); + AXIOM_ELEMENT_SET_TEXT(arg2_om_elem, env, "123456789", arg2_om_node); + arg3_om_elem = axiom_element_create(env, req_om_node, "arg3", ns1, &arg3_om_node); + arg4_om_elem = axiom_element_create(env, req_om_node, "arg4", ns1, &arg4_om_node); + AXIOM_ELEMENT_SET_TEXT(arg4_om_elem, env, "true", arg4_om_node); + arg5_om_elem = axiom_element_create(env, req_om_node, "arg5", ns1, &arg5_om_node); + AXIOM_ELEMENT_SET_TEXT(arg5_om_elem, env, "1234.5678", arg5_om_node); + someStringData_om_elem = axiom_element_create(env, arg3_om_node, "someStringData", ns1, &someStringData_om_node); + AXIOM_ELEMENT_SET_TEXT(someStringData_om_elem, env, "Here is some string data", someStringData_om_node); + someIntData_om_elem = axiom_element_create(env, arg3_om_node, "", ns1, &someIntData_om_node); + AXIOM_ELEMENT_SET_TEXT(someIntData_om_elem, env, "12345678", someIntData_om_node); + someFloatData_om_elem = axiom_element_create(env, arg3_om_node, "someFloatData", ns1, &someFloatData_om_node); + AXIOM_ELEMENT_SET_TEXT(someFloatData_om_elem, env, "1234.5678", someFloatData_om_node); + someDateData_om_elem = axiom_element_create(env, arg3_om_node, "someDateData", ns1, &someDateData_om_node); + AXIOM_ELEMENT_SET_TEXT(someDateData_om_elem, env, "1977-06-27", someDateData_om_node); + someListData_om_elem = axiom_element_create(env, arg3_om_node, "someListData", ns1, &someListData_om_node); + listItem1_om_elem = axiom_element_create(env, someListData_om_node, "listItem", ns1, &listItem1_om_node); + AXIOM_ELEMENT_SET_TEXT(listItem1_om_elem, env, "Here is list item 1", listItem1_om_node); + listItem2_om_elem = axiom_element_create(env, someListData_om_node, "listItem", ns1, &listItem2_om_node); + AXIOM_ELEMENT_SET_TEXT(listItem2_om_elem, env, "Here is list item 2", listItem2_om_node); + + om_str = AXIOM_NODE_TO_STRING(req_om_node, env); + if (om_str) + printf("\nSending OM : %s\n", om_str); + + return req_om_node; +} + + +axiom_node_t * +build_om_payload_for_doSingleData(axis2_env_t *env, char* name, char* data) +{ + axiom_node_t* req_om_node = NULL; + axiom_element_t* req_om_elem = NULL; + axiom_node_t* someData_om_node = NULL; + axiom_element_t* someData_om_elem = NULL; + axiom_namespace_t *ns1 = NULL; + axis2_char_t *om_str = NULL; + + ns1 = axiom_namespace_create (env, "http://www.WSEntryPointTest.org/WSEntryPointTest/", "ns1"); + req_om_elem = axiom_element_create(env, NULL, name, ns1, &req_om_node); + someData_om_elem = axiom_element_create(env, req_om_node, "someData", ns1, &someData_om_node); + AXIOM_ELEMENT_SET_TEXT(someData_om_elem, env, data, someData_om_node); + + om_str = AXIOM_NODE_TO_STRING(req_om_node, env); + if (om_str) + printf("\nSending OM : %s\n", om_str); + + return req_om_node; +} + + +axiom_node_t * +build_om_payload_for_doAny(axis2_env_t *env) +{ + axiom_node_t* req_om_node = NULL; + axiom_element_t* req_om_elem = NULL; + axiom_node_t* someData_om_node = NULL; + axiom_element_t* someData_om_elem = NULL; + axiom_node_t* someStringData_om_node = NULL; + axiom_element_t* someStringData_om_elem = NULL; + axiom_node_t* someIntData_om_node = NULL; + axiom_element_t* someIntData_om_elem = NULL; + axiom_node_t* someFloatData_om_node = NULL; + axiom_element_t* someFloatData_om_elem = NULL; + axiom_node_t* someDateData_om_node = NULL; + axiom_element_t* someDateData_om_elem = NULL; + axiom_node_t* someListData_om_node = NULL; + axiom_element_t* someListData_om_elem = NULL; + axiom_node_t* listItem1_om_node = NULL; + axiom_element_t* listItem1_om_elem = NULL; + axiom_node_t* listItem2_om_node = NULL; + axiom_element_t* listItem2_om_elem = NULL; + axiom_namespace_t *ns1 = NULL; + axis2_char_t *om_str = NULL; + + ns1 = axiom_namespace_create (env, "http://www.WSEntryPointTest.org/WSEntryPointTest/", "ns1"); + req_om_elem = axiom_element_create(env, NULL, "doAny", ns1, &req_om_node); + someData_om_elem = axiom_element_create(env, req_om_node, "anElem", ns1, &someData_om_node); + someStringData_om_elem = axiom_element_create(env, someData_om_node, "hello", ns1, &someStringData_om_node); + AXIOM_ELEMENT_SET_TEXT(someStringData_om_elem, env, "world", someStringData_om_node); + someIntData_om_elem = axiom_element_create(env, someData_om_node, "someIntData", ns1, &someIntData_om_node); + AXIOM_ELEMENT_SET_TEXT(someIntData_om_elem, env, "12345678", someIntData_om_node); + someFloatData_om_elem = axiom_element_create(env, someData_om_node, "someFloatData", ns1, &someFloatData_om_node); + AXIOM_ELEMENT_SET_TEXT(someFloatData_om_elem, env, "1234.5678", someFloatData_om_node); + someDateData_om_elem = axiom_element_create(env, someData_om_node, "someDateData", ns1, &someDateData_om_node); + AXIOM_ELEMENT_SET_TEXT(someDateData_om_elem, env, "1977-06-27", someDateData_om_node); + someListData_om_elem = axiom_element_create(env, someData_om_node, "someListData", ns1, &someListData_om_node); + listItem1_om_elem = axiom_element_create(env, someListData_om_node, "listItem", ns1, &listItem1_om_node); + AXIOM_ELEMENT_SET_TEXT(listItem1_om_elem, env, "Here is list item 1", listItem1_om_node); + listItem2_om_elem = axiom_element_create(env, someListData_om_node, "listItem", ns1, &listItem2_om_node); + AXIOM_ELEMENT_SET_TEXT(listItem2_om_elem, env, "Here is list item 2", listItem2_om_node); + + om_str = AXIOM_NODE_TO_STRING(req_om_node, env); + if (om_str) + printf("\nSending OM : %s\n", om_str); + + return req_om_node; +} diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/runclient.bat b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/runclient.bat new file mode 100644 index 0000000000..13f3164751 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/runclient.bat @@ -0,0 +1,33 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + + +setlocal + +if "%AXIS2C_HOME%" == "" ( +echo "AXIS2C_HOME not set" +goto end +) +echo Using Axis2C installed at %AXIS2C_HOME% + +rem Run the client +.\ws.binding.service.client.exe + +:end +endlocal diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/ws.binding.service.client.vcproj b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/ws.binding.service.client.vcproj new file mode 100644 index 0000000000..03c007662b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.client/ws.binding.service.client.vcproj @@ -0,0 +1,138 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="ws.binding.service.client"
+ ProjectGUID="{136C4966-3073-4EB0-9259-BC5E3B987D19}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="$(AXIS2C_HOME)/include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="5"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="axiom.lib axis2_parser.lib axis2_util.lib axis2_engine.lib"
+ OutputFile="$(OutDir)/ws.binding.service.client.exe"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="$(AXIS2C_HOME)/lib"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/ws.binding.service.client.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="4"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/service.ws.binding.client.exe"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath=".\TestClient.c">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ <File
+ RelativePath=".\runclient.bat">
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.sln b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.sln new file mode 100644 index 0000000000..b1de123e0a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service.sln @@ -0,0 +1,37 @@ +Microsoft Visual Studio Solution File, Format Version 8.00
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ws.binding.service", "ws.binding.service\ws.binding.service.vcproj", "{25B65303-B2E2-47AF-968C-89D9E58611F8}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ws.binding.service.client", "ws.binding.service.client\ws.binding.service.client.vcproj", "{136C4966-3073-4EB0-9259-BC5E3B987D19}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DevClient", "DevClient\DevClient.vcproj", "{2598A8C7-079E-4B56-A95D-134EAF52C59A}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfiguration) = preSolution
+ Debug = Debug
+ Release = Release
+ EndGlobalSection
+ GlobalSection(ProjectConfiguration) = postSolution
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Debug.ActiveCfg = Debug|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Debug.Build.0 = Debug|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Release.ActiveCfg = Release|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Release.Build.0 = Release|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Debug.ActiveCfg = Debug|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Debug.Build.0 = Debug|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Release.ActiveCfg = Release|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Release.Build.0 = Release|Win32
+ {2598A8C7-079E-4B56-A95D-134EAF52C59A}.Debug.ActiveCfg = Debug|Win32
+ {2598A8C7-079E-4B56-A95D-134EAF52C59A}.Debug.Build.0 = Debug|Win32
+ {2598A8C7-079E-4B56-A95D-134EAF52C59A}.Release.ActiveCfg = Release|Win32
+ {2598A8C7-079E-4B56-A95D-134EAF52C59A}.Release.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ EndGlobalSection
+ GlobalSection(ExtensibilityAddIns) = postSolution
+ EndGlobalSection
+EndGlobal
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/Test.h b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/Test.h new file mode 100644 index 0000000000..aaff35a6cc --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/Test.h @@ -0,0 +1,50 @@ +/* ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef TEST_H +#define TEST_H + +#include <commonj/sdo/SDO.h> +#include <stdio.h> + +class Test +{ +public: + virtual char* doChars(char* arg1) = 0; + virtual long doLong(long arg1) = 0; + virtual int doInt(int arg1) = 0; + virtual float doFloat(float arg1) = 0; + virtual long double doLongDouble(long double arg1) = 0; + virtual double doDouble(double arg1) = 0; + virtual bool doBool(bool arg1) = 0; + virtual short doShort(short arg1) = 0; + virtual char* doBytes(char* arg1) = 0; + virtual char doByte(char arg1) = 0; + virtual DataObjectPtr doMixed(char* arg1, long arg2, DataObjectPtr arg3, bool arg4, double arg5) = 0; + virtual DataObjectPtr doDataObject(DataObjectPtr arg1) = 0; + virtual DataObjectPtr doAny(DataObjectPtr arg1) = 0; +// These don't work because they are passing pointers around +// virtual int[] doIntArray(int[] arg1, int arg2); +// virtual string doString(string arg1); +// This doesn't work because there is no mapping from XSD types to SDO CharacterType +// virtual wchar_t doWChar(wchar_t arg1); +// This doesn't work because Operation does not support int64_t yet +// virtual int64_t doInt64(int64_t arg1); +}; + +#endif + + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/Test.wsdl b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/Test.wsdl new file mode 100644 index 0000000000..23ab8b08e4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/Test.wsdl @@ -0,0 +1,531 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:tns="http://test/ws.binding.service/" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + name="ws.binding.service" + targetNamespace="http://test/ws.binding.service/"> + <wsdl:types> + <xsd:schema targetNamespace="http://test/ws.binding.service/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:element name="doChars"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:string" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doCharsResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:string" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doString"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:string" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doLong"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:int" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doLongResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:int" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doInt"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:int" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doIntResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:int" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doFloat"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:float" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doFloatResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:float" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doLongDouble"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:double" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doLongDoubleResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:double" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doDouble"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:double" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doDoubleResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:double" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doBool"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:boolean" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doBoolResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:boolean" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doShort"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:short" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doShortResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:short" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doBytes"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:hexBinary" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doBytesResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:hexBinary" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doByte"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:byte" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doByteResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:byte" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + + + <xsd:element name="doMixed"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="arg1" type="xsd:string" minOccurs="1"/> + <xsd:element name="arg2" type="xsd:int" minOccurs="1"/> + <xsd:element name="arg3" type="dataObjectData" minOccurs="1"/> + <xsd:element name="arg4" type="xsd:boolean" minOccurs="1"/> + <xsd:element name="arg5" type="xsd:float" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doMixedResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="dataObjectData" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doDataObject"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="dataObjectData" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doDataObjectResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="dataObjectData" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:complexType name="dataObjectData"> + <xsd:sequence> + <xsd:element name="someStringData" type="xsd:string" minOccurs="1"/> + <xsd:element name="someIntData" type="xsd:int" minOccurs="1"/> + <xsd:element name="someFloatData" type="xsd:float" minOccurs="1"/> + <xsd:element name="someDateData" type="xsd:date" minOccurs="1"/> + <xsd:element name="someListData" type="tns:listData" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + + <xsd:complexType name="listData"> + <xsd:sequence> + <xsd:element name="listItem" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> + + <xsd:element name="doAny"> + <xsd:complexType> + <xsd:sequence> + <xsd:any minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="doAnyResponse"> + <xsd:complexType> + <xsd:sequence> + <xsd:any minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <!-- Can't do wchar - no mapping from XSD type to SDO:Character type + + <xsd:element name="doWChar"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" minOccurs="1"> + <xsd:simpleType> + <xsd:restriction base="xsd:string"> + <xsd:length value="1"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:element> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doWChar"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" minOccurs="1"> + <xsd:simpleType> + <xsd:restriction base="xsd:string"> + <xsd:length value="1"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:element> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + --> + + <!-- Int64 not yet supported - see Jira TUSCANY-439 + <xsd:element name="doInt64"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:long" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="doInt64Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="someData" type="xsd:long" minOccurs="1"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + --> + + <!-- Can't do doIntArray --> + </xsd:schema> + </wsdl:types> + + <wsdl:message name="doDataObjectRequestMsg"> + <wsdl:part element="tns:doDataObject" name="doDataObjectRequestPart"/> + </wsdl:message> + <wsdl:message name="doDataObjectResponseMsg"> + <wsdl:part element="tns:doDataObjectResponse" name="doDataObjectResponsePart"/> + </wsdl:message> + + <wsdl:message name="doCharsRequestMsg"> + <wsdl:part element="tns:doChars" name="doCharsRequestPart"/> + </wsdl:message> + <wsdl:message name="doCharsResponseMsg"> + <wsdl:part element="tns:doCharsResponse" name="doCharsResponsePart"/> + </wsdl:message> + + <wsdl:message name="doStringRequestMsg"> + <wsdl:part element="tns:doString" name="doStringRequestPart"/> + </wsdl:message> + <wsdl:message name="doStringResponseMsg"> + <wsdl:part element="tns:doCharsResponse" name="doStringResponsePart"/> + </wsdl:message> + + <wsdl:message name="doLongRequestMsg"> + <wsdl:part element="tns:doLong" name="doLongRequestPart"/> + </wsdl:message> + <wsdl:message name="doLongResponseMsg"> + <wsdl:part element="tns:doLongResponse" name="doLongResponsePart"/> + </wsdl:message> + + <wsdl:message name="doIntRequestMsg"> + <wsdl:part element="tns:doInt" name="doIntRequestPart"/> + </wsdl:message> + <wsdl:message name="doIntResponseMsg"> + <wsdl:part element="tns:doIntResponse" name="doIntResponsePart"/> + </wsdl:message> + + <wsdl:message name="doFloatRequestMsg"> + <wsdl:part element="tns:doFloat" name="doFloatRequestPart"/> + </wsdl:message> + <wsdl:message name="doFloatResponseMsg"> + <wsdl:part element="tns:doFloatResponse" name="doFloatResponsePart"/> + </wsdl:message> + + <wsdl:message name="doLongDoubleRequestMsg"> + <wsdl:part element="tns:doLongDouble" name="doLongDoubleRequestPart"/> + </wsdl:message> + <wsdl:message name="doLongDoubleResponseMsg"> + <wsdl:part element="tns:doLongDoubleResponse" name="doLongDoubleResponsePart"/> + </wsdl:message> + + <wsdl:message name="doDoubleRequestMsg"> + <wsdl:part element="tns:doDouble" name="doDoubleRequestPart"/> + </wsdl:message> + <wsdl:message name="doDoubleResponseMsg"> + <wsdl:part element="tns:doDoubleResponse" name="doDoubleResponsePart"/> + </wsdl:message> + + <wsdl:message name="doBoolRequestMsg"> + <wsdl:part element="tns:doBool" name="doBoolRequestPart"/> + </wsdl:message> + <wsdl:message name="doBoolResponseMsg"> + <wsdl:part element="tns:doBoolResponse" name="doBoolResponsePart"/> + </wsdl:message> + + <wsdl:message name="doShortRequestMsg"> + <wsdl:part element="tns:doShort" name="doShortRequestPart"/> + </wsdl:message> + <wsdl:message name="doShortResponseMsg"> + <wsdl:part element="tns:doShortResponse" name="doShortResponsePart"/> + </wsdl:message> + + <wsdl:message name="doBytesRequestMsg"> + <wsdl:part element="tns:doBytes" name="doBytesRequestPart"/> + </wsdl:message> + <wsdl:message name="doBytesResponseMsg"> + <wsdl:part element="tns:doBytesResponse" name="doBytesResponsePart"/> + </wsdl:message> + + <wsdl:message name="doByteRequestMsg"> + <wsdl:part element="tns:doByte" name="doByteRequestPart"/> + </wsdl:message> + <wsdl:message name="doByteResponseMsg"> + <wsdl:part element="tns:doByteResponse" name="doByteResponsePart"/> + </wsdl:message> + + <wsdl:message name="doMixedRequestMsg"> + <wsdl:part element="tns:doMixed" name="doMixedRequestPart"/> + </wsdl:message> + <wsdl:message name="doMixedResponseMsg"> + <wsdl:part element="tns:doMixedResponse" name="doMixedResponsePart"/> + </wsdl:message> + + <wsdl:message name="doAnyRequestMsg"> + <wsdl:part element="tns:doAny" name="doAnyRequestPart"/> + </wsdl:message> + <wsdl:message name="doAnyResponseMsg"> + <wsdl:part element="tns:doAnyResponse" name="doAnyResponsePart"/> + </wsdl:message> + + + <wsdl:portType name="ws.binding.service"> + <wsdl:operation name="doDataObject"> + <wsdl:input message="tns:doDataObjectRequestMsg"/> + <wsdl:output message="tns:doDataObjectResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doChars"> + <wsdl:input message="tns:doCharsRequestMsg"/> + <wsdl:output message="tns:doCharsResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doString"> + <wsdl:input message="tns:doStringRequestMsg"/> + <wsdl:output message="tns:doStringResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doLong"> + <wsdl:input message="tns:doLongRequestMsg"/> + <wsdl:output message="tns:doLongResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doInt"> + <wsdl:input message="tns:doIntRequestMsg"/> + <wsdl:output message="tns:doIntResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doFloat"> + <wsdl:input message="tns:doFloatRequestMsg"/> + <wsdl:output message="tns:doFloatResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doLongDouble"> + <wsdl:input message="tns:doLongDoubleRequestMsg"/> + <wsdl:output message="tns:doLongDoubleResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doDouble"> + <wsdl:input message="tns:doDoubleRequestMsg"/> + <wsdl:output message="tns:doDoubleResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doBool"> + <wsdl:input message="tns:doBoolRequestMsg"/> + <wsdl:output message="tns:doBoolResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doShort"> + <wsdl:input message="tns:doShortRequestMsg"/> + <wsdl:output message="tns:doShortResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doBytes"> + <wsdl:input message="tns:doBytesRequestMsg"/> + <wsdl:output message="tns:doBytesResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doByte"> + <wsdl:input message="tns:doByteRequestMsg"/> + <wsdl:output message="tns:doByteResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doMixed"> + <wsdl:input message="tns:doMixedRequestMsg"/> + <wsdl:output message="tns:doMixedResponseMsg"/> + </wsdl:operation> + <wsdl:operation name="doAny"> + <wsdl:input message="tns:doAnyRequestMsg"/> + <wsdl:output message="tns:doAnyResponseMsg"/> + </wsdl:operation> + </wsdl:portType> + + + <wsdl:binding name="ws.binding.serviceSOAP" type="tns:ws.binding.service"> + <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="doDataObject"> + <soap:operation soapAction="ws.binding.service/doDataObject"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="doChars"> + <soap:operation soapAction="ws.binding.service/doChars"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doString"> + <soap:operation soapAction="ws.binding.service/doString"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doLong"> + <soap:operation soapAction="ws.binding.service/doLong"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doInt"> + <soap:operation soapAction="ws.binding.service/doInt"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doFloat"> + <soap:operation soapAction="ws.binding.service/doFloat"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doLongDouble"> + <soap:operation soapAction="ws.binding.service/doLongDouble"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doDouble"> + <soap:operation soapAction="ws.binding.service/doDouble"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doBool"> + <soap:operation soapAction="ws.binding.service/doBool"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doShort"> + <soap:operation soapAction="ws.binding.service/doShort"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doBytes"> + <soap:operation soapAction="ws.binding.service/doBytes"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doByte"> + <soap:operation soapAction="ws.binding.service/doByte"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doMixed"> + <soap:operation soapAction="ws.binding.service/doMixed"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + <wsdl:operation name="doAny"> + <soap:operation soapAction="ws.binding.service/doAny"/> + <wsdl:input><soap:body use="literal"/></wsdl:input> + <wsdl:output><soap:body use="literal"/></wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="ws.binding.service"> + <wsdl:port binding="tns:ws.binding.serviceSOAP" name="ws.binding.serviceSOAP"> + <soap:address location="http://localhost:9090/axis2/services/ws.binding.service"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.componentType b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.componentType new file mode 100644 index 0000000000..d0cca1882d --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.componentType @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="ASCII"?> +<componentType xmlns="http://www.osoa.org/xmlns/sca/1.0"> + + <service name="TestService"> + <interface.cpp header="Test.h"/> + </service> + +</componentType> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.cpp b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.cpp new file mode 100644 index 0000000000..e24534701d --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.cpp @@ -0,0 +1,158 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#include "TestImpl.h" +#include <stdio.h> +#include <tuscany/sca/util/Utils.h> +using namespace tuscany::sca; +#include <commonj/sdo/SDO.h> +#include <sdo_axiom.h> +using namespace commonj::sdo; +using namespace commonj::sdo_axiom; + +TestImpl::TestImpl() +{ +} + +TestImpl::~TestImpl() +{ +} + +char* TestImpl::doChars(char* arg1) +{ + printf("TestImpl::doChars %s\n", arg1); + return arg1; +} + + +long TestImpl::doLong(long arg1) +{ + printf("TestImpl::doLong %d\n", arg1); + return arg1; +} + +int TestImpl::doInt(int arg1) +{ + printf("TestImpl::doInt %d\n", arg1); + return arg1; +} + +float TestImpl::doFloat(float arg1) +{ + printf("TestImpl::doFloat %f\n", arg1); + return arg1; +} + +long double TestImpl::doLongDouble(long double arg1) +{ + printf("TestImpl::doLongDouble %f\n", arg1); + return arg1; +} + +double TestImpl::doDouble(double arg1) +{ + printf("TestImpl::doDouble %f\n", arg1); + return arg1; +} + + +bool TestImpl::doBool(bool arg1) +{ + printf("TestImpl::doBool %d\n", arg1); + return arg1; +} + +short TestImpl::doShort(short arg1) +{ + printf("TestImpl::doShort %d\n", arg1); + return arg1; +} + +char* TestImpl::doBytes(char* arg1) +{ + printf("TestImpl::doBytes %s\n", arg1); + return arg1; +} + +char TestImpl::doByte(char arg1) +{ + printf("TestImpl::doByte %c\n", arg1); + return arg1; +} + +DataObjectPtr TestImpl::doMixed(char* arg1, long arg2, DataObjectPtr arg3, bool arg4, double arg5) +{ + printf("TestImpl::doMixed %s %d %s %d %d\n", arg1, arg2, arg3->getType().getURI(), arg4, arg5); + Utils::printDO(arg3); + return arg3; +} + +DataObjectPtr TestImpl::doDataObject(DataObjectPtr arg1) +{ + printf("TestImpl::doDataObject %s\n", arg1->getType().getURI()); + Utils::printDO(arg1); + return arg1; +} + +DataObjectPtr TestImpl::doAny(DataObjectPtr arg1) +{ + printf("TestImpl::doAny %s#%s\n", arg1->getType().getURI(), arg1->getType().getName()); + Utils::printDO(arg1); + //return arg1; + + DataFactoryPtr factory = arg1->getDataFactory(); + DataObjectPtr data = factory->create(Type::SDOTypeNamespaceURI, "OpenDataObject"); + data->setCString("stringData", "Here is some string data"); + data->setBoolean("boolData", true); + DataObjectList& list = data->getList("intDataList"); + list.append((long)123456789); + list.append((long)111111111); + list.append((long)222222222); + Utils::printDO(data); + return data; +} + +//int[] TestImpl::doIntArray(int[] arg1, int arg2) +//{ +// printf("TestImpl::doIntArray with length %d\n", arg2); +// for(int i=0; i<arg2; i++) +// { +// printf("%d\n", arg1[i]); +// } +// return arg1; +//} +// +//string TestImpl::doString(string arg1) +//{ +// printf("TestImpl::doString %s\n", arg1.c_str()); +// return arg1; +//} +// +//wchar_t TestImpl::doWChar(wchar_t arg1) +//{ +// printf("TestImpl::doWChar %s\n", arg1); +// return arg1; +//} +// +//int64_t TestImpl::doInt64(int64_t arg1) +//{ +// printf("TestImpl::doInt64 %d\n", arg1); +// return arg1; +//} + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.h b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.h new file mode 100644 index 0000000000..3026d4c7aa --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/TestImpl.h @@ -0,0 +1,54 @@ +/* ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef TESTIMPL_H +#define TESTIMPL_H + +#include "Test.h" + +class TestImpl : public Test +{ +public: + TestImpl(); + virtual ~TestImpl(); + + // WSCompositeServiceTest interface + virtual char* doChars(char* arg1); + virtual long doLong(long arg1); + virtual int doInt(int arg1); + virtual float doFloat(float arg1); + virtual long double doLongDouble(long double arg1); + virtual double doDouble(double arg1); + virtual bool doBool(bool arg1); + virtual short doShort(short arg1); + virtual char* doBytes(char* arg1); + virtual char doByte(char arg1); + virtual DataObjectPtr doMixed(char* arg1, long arg2, DataObjectPtr arg3, bool arg4, double arg5); + virtual DataObjectPtr doDataObject(DataObjectPtr arg1); + virtual DataObjectPtr doAny(DataObjectPtr arg1); + +// These don't work because they are passing pointers around +// virtual int[] doIntArray(int[] arg1, int arg2); +// virtual string doString(string arg1); +// This doesn't work because there is no mapping from XSD types to SDO CharacterType +// virtual wchar_t doWChar(wchar_t arg1); +// This doesn't work because Operation does not support int64_t yet +// virtual int64_t doInt64(int64_t arg1); + +}; + +#endif + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/services.xml b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/services.xml new file mode 100644 index 0000000000..b223a53dad --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/services.xml @@ -0,0 +1,62 @@ + +<!-- + Copyright 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. + --> +<service name="ws.binding.service"> + <parameter name="ServiceClass" locked="xsd:false">tuscany_sca_ws_service</parameter> + <parameter name="TuscanySystemRoot" locked="xsd:false">D:/tuscany/cpp/sca/test/ws.binding.service/deploy</parameter> + <parameter name="TuscanyService" locked="xsd:false">ws.binding.service.solution.component/ws.binding.service</parameter> + + <description> + This is a testing service , to test the system is working or not + </description> + + <operation name="doChars"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doLong"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doInt"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doFloat"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doLongDouble"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doDouble"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doBool"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doShort"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doBytes"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doMixed"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doDataObject"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> + <operation name="doAny"> + <!--messageReceiver class="axis2_receivers" /--> + </operation> +</service> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.composite b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.composite new file mode 100644 index 0000000000..98393813f3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.composite @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + name="ws.binding.service"> + + <!-- Expose as a web service --> + <service name="ws.binding.service"> + <interface.wsdl interface="Test.wsdl"/> + <binding.ws port="http://test/ws.binding.service/#wsdl.endpoint(ws.binding.service/ws.binding.serviceSOAP)"/> + <reference>ws.binding.service.component/TestService</reference> + </service> + + + <component name="ws.binding.service.component"> + <implementation.cpp library="ws.binding.service" header="TestImpl.h"/> + </component> +</composite> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.solution.composite b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.solution.composite new file mode 100644 index 0000000000..e1e402454b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.solution.composite @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. + --> + +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + name="ws.binding.service.solution"> + + + <component name="ws.binding.service.solution.component"> + <implementation.composite name="ws.binding.service" /> + </component> + +</composite> + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.vcproj b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.vcproj new file mode 100644 index 0000000000..4c06194728 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.binding.service/ws.binding.service/ws.binding.service.vcproj @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="ws.binding.service"
+ ProjectGUID="{25B65303-B2E2-47AF-968C-89D9E58611F8}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="$(TUSCANY_SCACPP)/include,$(TUSCANY_SCACPP)/extensions/cpp/include,$(TUSCANY_SDOCPP)/include,$(AXIS2C_HOME)/include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="5"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="tuscany_sca.lib tuscany_sdo.lib tuscany_sca_cpp.lib"
+ OutputFile="$(OutDir)/ws.binding.service.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="$(TUSCANY_SCACPP)/lib,$(TUSCANY_SCACPP)/extensions/cpp/lib,$(TUSCANY_SDOCPP)/lib,$(AXIS2C_HOME)/lib"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/service.ws.binding.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"
+ CommandLine="$(TUSCANY_SCACPP)/bin/scagen.bat -dir . -output . -verbose"
+ ExcludedFromBuild="TRUE"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="4"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/service.ws.binding.exe"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath=".\TestImpl.cpp">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Proxy.cpp">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Wrapper.cpp">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ <File
+ RelativePath=".\Test.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Proxy.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Wrapper.h">
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ <File
+ RelativePath=".\services.xml">
+ </File>
+ <File
+ RelativePath=".\Test.wsdl">
+ </File>
+ <File
+ RelativePath=".\TestImpl.componentType">
+ </File>
+ <File
+ RelativePath=".\ws.binding.service.composite">
+ </File>
+ <File
+ RelativePath=".\ws.binding.service.solution.composite">
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am new file mode 100644 index 0000000000..bc0e430ee7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/Makefile.am @@ -0,0 +1,25 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +deploydir=$(prefix)/test/ws.service.interop/deploy/configuration +SUBDIRS = ws.service.interop ws.service.interop.client resources +EXTRA_DIST = ws.service.interop.solution +deploy_DATA = ws.service.interop/ws.service.interop.solution.composite + +TESTS = runtest.sh +TESTS_ENVIRONMENT = $(SHELL) -x + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat new file mode 100644 index 0000000000..3aab273673 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/deploy.bat @@ -0,0 +1,58 @@ +@echo off
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+
+rem Will copy the correct files from the source tree for packaging and deployment of the
+rem SCA sample.
+setlocal
+set currentPath=%~d0%~p0
+set sourcePath=%currentPath%
+
+
+set destinationPath=%sourcePath%\deploy
+
+if not exist %destinationPath% mkdir %destinationPath%
+if not exist %destinationPath%\packages mkdir %destinationPath%\packages
+if not exist %destinationPath%\packages\ws.service.interop mkdir %destinationPath%\packages\ws.service.interop
+
+copy %sourcePath%\ws.service.interop\TestImpl.componentType %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\ws.service.interop\ws.service.interop.composite %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\ws.service.interop\Test.h %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\ws.service.interop\TestImpl.h %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\resources\interop.wsdl %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\resources\*.xsd %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\resources\*.xml %destinationPath%\packages\ws.service.interop
+copy %sourcePath%\ws.service.interop\Debug\ws_service_interop.dll %destinationPath%\packages\ws.service.interop
+
+
+if not exist %destinationPath%\bin mkdir %destinationPath%\bin
+if not exist %destinationPath%\bin\resources mkdir %destinationPath%\bin\resources
+
+copy %sourcePath%\ws.service.interop.client\Debug\ws.service.interop.client.exe %destinationPath%\bin
+copy %sourcePath%\ws.service.interop.client\Debug\ws.service.interop.client.pdb %destinationPath%\bin
+copy %sourcePath%\ws.service.interop.client\runclient.bat %destinationPath%\bin
+copy %sourcePath%\ws.service.interop\runwsserver.bat %destinationPath%\bin
+copy %sourcePath%\resources\*.xsd %destinationPath%\bin\resources
+copy %sourcePath%\resources\*.xml %destinationPath%\bin\resources
+
+
+if not exist %destinationPath%\configuration mkdir %destinationPath%\configuration
+if not exist %destinationPath%\configuration\ws.service.interop.solution mkdir %destinationPath%\configuration\ws.service.interop.solution
+
+copy %sourcePath%\ws.service.interop\ws.service.interop.solution.composite %destinationPath%\configuration\ws.service.interop.solution
+
+endlocal
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am new file mode 100644 index 0000000000..0a482e82f1 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/Makefile.am @@ -0,0 +1,25 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +deploydir=$(prefix)/test/ws.service.interop/deploy +compositedir=$(deploydir)/packages/ws.service.interop +binresourcedir=$(deploydir)/bin/resources + +composite_DATA = *.xsd *.xml *.wsdl +binresource_DATA = *.xsd *.xml *.wsdl +EXTRA_DIST = *.xsd *.xml *.wsdl + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd new file mode 100644 index 0000000000..30727473a0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/datagraph.xsd @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +/** + * <copyright> + * + * Service Data Objects + * Version 2.0 + * Licensed Materials - Property of BEA and IBM + * + * (c) Copyright BEA Systems, Inc. and International Business Machines Corp 2005. All rights reserved. + * + * </copyright> + * + */ +--> + +<xsd:schema + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sdo="commonj.sdo" + targetNamespace="commonj.sdo"> + + <xsd:element name="datagraph" type="sdo:DataGraphType"/> + + <xsd:complexType name="DataGraphType"> + <xsd:complexContent> + <xsd:extension base="sdo:BaseDataGraphType"> + <xsd:sequence> + <xsd:any minOccurs="0" maxOccurs="1" namespace="##other" processContents="lax"/> + </xsd:sequence> + </xsd:extension> + </xsd:complexContent> + </xsd:complexType> + + <xsd:complexType name="BaseDataGraphType" abstract="true"> + <xsd:sequence> + <xsd:element name="models" type="sdo:ModelsType" minOccurs="0"/> + <xsd:element name="xsd" type="sdo:XSDType" minOccurs="0"/> + <xsd:element name="changeSummary" type="sdo:ChangeSummaryType" minOccurs="0"/> + </xsd:sequence> + <xsd:anyAttribute namespace="##other" processContents="lax"/> + </xsd:complexType> + + <xsd:complexType name="ModelsType"> + <xsd:annotation> + <xsd:documentation> + Expected type is emof:Package. + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/> + </xsd:sequence> + </xsd:complexType> + + <xsd:complexType name="XSDType"> + <xsd:annotation> + <xsd:documentation> + Expected type is xsd:schema. + </xsd:documentation> + </xsd:annotation> + <xsd:sequence> + <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema" processContents="lax"/> + </xsd:sequence> + </xsd:complexType> + + <xsd:complexType name="ChangeSummaryType"> + <xsd:sequence> + <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/> + </xsd:sequence> + <xsd:attribute name="create" type="xsd:string"/> + <xsd:attribute name="delete" type="xsd:string"/> + <xsd:attribute name="logging" type="xsd:boolean"/> + </xsd:complexType> + + <xsd:attribute name="ref" type="xsd:string"/> + +</xsd:schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd new file mode 100644 index 0000000000..082c389211 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/importschema.xsd @@ -0,0 +1,30 @@ +<?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. + --> + +<xsd:schema + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:imp="http://www.apache.org/tuscany/interop/import" + targetNamespace="http://www.apache.org/tuscany/interop/import"> + + <xsd:complexType name="ImportedType"> + <xsd:sequence> + <xsd:element name="AnElement" type="xsd:string"/> + <xsd:element name="AnotherElement" type="xsd:string"/> + </xsd:sequence> + </xsd:complexType> + +</xsd:schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl new file mode 100644 index 0000000000..258b31b2bd --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop.wsdl @@ -0,0 +1,1814 @@ +<wsdl:definitions name="interop" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:interop="http://www.apache.org/tuscany/interop" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop"> + <wsdl:types> + <xsd:schema targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:include schemaLocation="interop01.xsd" /> + <xsd:include schemaLocation="interop02.xsd" /> + <xsd:include schemaLocation="interop03.xsd" /> + <xsd:include schemaLocation="interop04.xsd" /> + <!--xsd:include schemaLocation="interop05.xsd" /--> + <xsd:include schemaLocation="interop06.xsd" /> + <xsd:include schemaLocation="interop07.xsd" /> + <xsd:include schemaLocation="interop08.xsd" /> + <xsd:include schemaLocation="interop09.xsd" /> + <xsd:include schemaLocation="interop10.xsd" /> + <xsd:include schemaLocation="interop11.xsd" /> + <xsd:include schemaLocation="interop12.xsd" /> + <xsd:include schemaLocation="interop14.xsd" /> + <xsd:include schemaLocation="interop15.xsd" /> + <xsd:include schemaLocation="interop16.xsd" /> + <xsd:include schemaLocation="interop17.xsd" /> + <xsd:include schemaLocation="interop18.xsd" /> + <xsd:include schemaLocation="interop19.xsd" /> + <xsd:include schemaLocation="interop20.xsd" /> + <xsd:include schemaLocation="interop21.xsd" /> + <xsd:include schemaLocation="interop22.xsd" /> + <xsd:include schemaLocation="interop23.xsd" /> + <xsd:include schemaLocation="interop24.xsd" /> + <!--xsd:include schemaLocation="interop25.xsd" /--> + <xsd:include schemaLocation="interop26.xsd" /> + <!--xsd:include schemaLocation="interop27.xsd" /--> + <xsd:include schemaLocation="interop28.xsd" /> + <xsd:include schemaLocation="interop29.xsd" /> + <xsd:include schemaLocation="interop30.xsd" /> + <xsd:include schemaLocation="interop31.xsd" /> + <xsd:include schemaLocation="interop32.xsd" /> + <xsd:include schemaLocation="interop33.xsd" /> + <xsd:include schemaLocation="interop34.xsd" /> + <xsd:include schemaLocation="interop35.xsd" /> + <xsd:include schemaLocation="interop36.xsd" /> + <xsd:include schemaLocation="interop37.xsd" /> + <xsd:include schemaLocation="interop38.xsd" /> + <!--xsd:include schemaLocation="interop39.xsd" /--> + <xsd:include schemaLocation="interop40.xsd" /> + <xsd:include schemaLocation="interop41.xsd" /> + <xsd:include schemaLocation="interop42.xsd" /> + <xsd:include schemaLocation="interop43.xsd" /> + <xsd:include schemaLocation="interop44.xsd" /> + <xsd:include schemaLocation="interop45.xsd" /> + <xsd:include schemaLocation="interop46.xsd" /> + <xsd:include schemaLocation="interop47.xsd" /> + <xsd:include schemaLocation="interop50.xsd" /> + + <xsd:element name="interop01"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement01"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop01Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement01"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop02"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement02"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop02Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement02"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop03"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement03"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop03Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement03"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop04"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement04"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop04Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement04"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop05"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement05"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop05Response"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement05"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop06"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement06"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop06Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement06"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop07"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement07"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop07Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement07"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop08"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement08"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop08Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement08"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop09"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement09"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop09Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement09"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop10"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement10"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop10Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement10"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop11"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement11"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop11Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement11"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop12"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement12"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop12Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement12"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop14"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement14"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop14Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement14"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop15"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement15"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop15Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement15"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop16"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement16"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop16Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement16"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop17"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement17"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop17Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement17"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop18"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement18"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop18Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement18"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop19"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement19"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop19Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement19"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop20"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement20"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop20Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement20"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop21"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement21"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop21Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement21"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop22"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement22"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop22Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement22"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop23"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement23"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop23Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement23"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop24"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement24"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop24Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement24"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop25"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement25"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop25Response"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement25"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop26"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement26"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop26Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement26"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop27"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement27"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop27Response"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement27"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop28"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement28"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop28Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement28"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop29"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement29"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop29Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement29"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop30"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement30"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop30Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement30"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop31"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement31"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop31Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement31"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop32"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement32"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop32Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement32"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop33"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement33"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop33Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement33"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop34"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement34"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop34Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement34"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop35"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement35"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop35Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement35"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop36"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement36"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop36Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement36"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop37"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement37"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop37Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement37"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop38"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement38"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop38Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement38"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop39"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement39"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop39Response"> + <xsd:complexType> + <xsd:sequence> + <!--xsd:element ref="interop:RootElement39"/--> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop40"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement40"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop40Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement40"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop41"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement41"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop41Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement41"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop42"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement42"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop42Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement42"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop43"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement43"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop43Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement43"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop44"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement44"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop44Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement44"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop45"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement45"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop45Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement45"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop46"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement46"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop46Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement46"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop47"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement47"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop47Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement47"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <xsd:element name="interop50"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement50"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="interop50Response"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="interop:RootElement50"/> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + </xsd:schema> + </wsdl:types> + + <wsdl:message name="interop01Request"> + <wsdl:part element="interop:interop01" name="interop01"/> + </wsdl:message> + <wsdl:message name="interop01Response"> + <wsdl:part element="interop:interop01Response" name="interop011Response"/> + </wsdl:message> + + <wsdl:message name="interop02Request"> + <wsdl:part element="interop:interop02" name="interop02"/> + </wsdl:message> + <wsdl:message name="interop02Response"> + <wsdl:part element="interop:interop02Response" name="interop021Response"/> + </wsdl:message> + + <wsdl:message name="interop03Request"> + <wsdl:part element="interop:interop03" name="interop03"/> + </wsdl:message> + <wsdl:message name="interop03Response"> + <wsdl:part element="interop:interop03Response" name="interop031Response"/> + </wsdl:message> + + <wsdl:message name="interop04Request"> + <wsdl:part element="interop:interop04" name="interop04"/> + </wsdl:message> + <wsdl:message name="interop04Response"> + <wsdl:part element="interop:interop04Response" name="interop041Response"/> + </wsdl:message> + + <wsdl:message name="interop05Request"> + <wsdl:part element="interop:interop05" name="interop05"/> + </wsdl:message> + <wsdl:message name="interop05Response"> + <wsdl:part element="interop:interop05Response" name="interop051Response"/> + </wsdl:message> + + <wsdl:message name="interop06Request"> + <wsdl:part element="interop:interop06" name="interop06"/> + </wsdl:message> + <wsdl:message name="interop06Response"> + <wsdl:part element="interop:interop06Response" name="interop061Response"/> + </wsdl:message> + + <wsdl:message name="interop07Request"> + <wsdl:part element="interop:interop07" name="interop07"/> + </wsdl:message> + <wsdl:message name="interop07Response"> + <wsdl:part element="interop:interop07Response" name="interop071Response"/> + </wsdl:message> + + <wsdl:message name="interop08Request"> + <wsdl:part element="interop:interop08" name="interop08"/> + </wsdl:message> + <wsdl:message name="interop08Response"> + <wsdl:part element="interop:interop08Response" name="interop081Response"/> + </wsdl:message> + + <wsdl:message name="interop09Request"> + <wsdl:part element="interop:interop09" name="interop09"/> + </wsdl:message> + <wsdl:message name="interop09Response"> + <wsdl:part element="interop:interop09Response" name="interop091Response"/> + </wsdl:message> + + <wsdl:message name="interop10Request"> + <wsdl:part element="interop:interop10" name="interop10"/> + </wsdl:message> + <wsdl:message name="interop10Response"> + <wsdl:part element="interop:interop10Response" name="interop101Response"/> + </wsdl:message> + + <wsdl:message name="interop11Request"> + <wsdl:part element="interop:interop11" name="interop11"/> + </wsdl:message> + <wsdl:message name="interop11Response"> + <wsdl:part element="interop:interop11Response" name="interop111Response"/> + </wsdl:message> + + <wsdl:message name="interop12Request"> + <wsdl:part element="interop:interop12" name="interop12"/> + </wsdl:message> + <wsdl:message name="interop12Response"> + <wsdl:part element="interop:interop12Response" name="interop121Response"/> + </wsdl:message> + + <wsdl:message name="interop14Request"> + <wsdl:part element="interop:interop14" name="interop14"/> + </wsdl:message> + <wsdl:message name="interop14Response"> + <wsdl:part element="interop:interop14Response" name="interop141Response"/> + </wsdl:message> + + <wsdl:message name="interop15Request"> + <wsdl:part element="interop:interop15" name="interop15"/> + </wsdl:message> + <wsdl:message name="interop15Response"> + <wsdl:part element="interop:interop15Response" name="interop151Response"/> + </wsdl:message> + + <wsdl:message name="interop16Request"> + <wsdl:part element="interop:interop16" name="interop16"/> + </wsdl:message> + <wsdl:message name="interop16Response"> + <wsdl:part element="interop:interop16Response" name="interop161Response"/> + </wsdl:message> + + <wsdl:message name="interop17Request"> + <wsdl:part element="interop:interop17" name="interop17"/> + </wsdl:message> + <wsdl:message name="interop17Response"> + <wsdl:part element="interop:interop17Response" name="interop171Response"/> + </wsdl:message> + + <wsdl:message name="interop18Request"> + <wsdl:part element="interop:interop18" name="interop18"/> + </wsdl:message> + <wsdl:message name="interop18Response"> + <wsdl:part element="interop:interop18Response" name="interop181Response"/> + </wsdl:message> + + <wsdl:message name="interop19Request"> + <wsdl:part element="interop:interop19" name="interop19"/> + </wsdl:message> + <wsdl:message name="interop19Response"> + <wsdl:part element="interop:interop19Response" name="interop191Response"/> + </wsdl:message> + + <wsdl:message name="interop20Request"> + <wsdl:part element="interop:interop20" name="interop20"/> + </wsdl:message> + <wsdl:message name="interop20Response"> + <wsdl:part element="interop:interop20Response" name="interop201Response"/> + </wsdl:message> + + <wsdl:message name="interop21Request"> + <wsdl:part element="interop:interop21" name="interop21"/> + </wsdl:message> + <wsdl:message name="interop21Response"> + <wsdl:part element="interop:interop21Response" name="interop211Response"/> + </wsdl:message> + + <wsdl:message name="interop22Request"> + <wsdl:part element="interop:interop22" name="interop22"/> + </wsdl:message> + <wsdl:message name="interop22Response"> + <wsdl:part element="interop:interop22Response" name="interop221Response"/> + </wsdl:message> + + <wsdl:message name="interop23Request"> + <wsdl:part element="interop:interop23" name="interop23"/> + </wsdl:message> + <wsdl:message name="interop23Response"> + <wsdl:part element="interop:interop23Response" name="interop231Response"/> + </wsdl:message> + + <wsdl:message name="interop24Request"> + <wsdl:part element="interop:interop24" name="interop24"/> + </wsdl:message> + <wsdl:message name="interop24Response"> + <wsdl:part element="interop:interop24Response" name="interop241Response"/> + </wsdl:message> + + <wsdl:message name="interop25Request"> + <wsdl:part element="interop:interop25" name="interop25"/> + </wsdl:message> + <wsdl:message name="interop25Response"> + <wsdl:part element="interop:interop25Response" name="interop251Response"/> + </wsdl:message> + + <wsdl:message name="interop26Request"> + <wsdl:part element="interop:interop26" name="interop26"/> + </wsdl:message> + <wsdl:message name="interop26Response"> + <wsdl:part element="interop:interop26Response" name="interop261Response"/> + </wsdl:message> + + <wsdl:message name="interop27Request"> + <wsdl:part element="interop:interop27" name="interop27"/> + </wsdl:message> + <wsdl:message name="interop27Response"> + <wsdl:part element="interop:interop27Response" name="interop271Response"/> + </wsdl:message> + + <wsdl:message name="interop28Request"> + <wsdl:part element="interop:interop28" name="interop28"/> + </wsdl:message> + <wsdl:message name="interop28Response"> + <wsdl:part element="interop:interop28Response" name="interop281Response"/> + </wsdl:message> + + <wsdl:message name="interop29Request"> + <wsdl:part element="interop:interop29" name="interop29"/> + </wsdl:message> + <wsdl:message name="interop29Response"> + <wsdl:part element="interop:interop29Response" name="interop291Response"/> + </wsdl:message> + + <wsdl:message name="interop30Request"> + <wsdl:part element="interop:interop30" name="interop30"/> + </wsdl:message> + <wsdl:message name="interop30Response"> + <wsdl:part element="interop:interop30Response" name="interop301Response"/> + </wsdl:message> + + <wsdl:message name="interop31Request"> + <wsdl:part element="interop:interop31" name="interop31"/> + </wsdl:message> + <wsdl:message name="interop31Response"> + <wsdl:part element="interop:interop31Response" name="interop311Response"/> + </wsdl:message> + + <wsdl:message name="interop32Request"> + <wsdl:part element="interop:interop32" name="interop32"/> + </wsdl:message> + <wsdl:message name="interop32Response"> + <wsdl:part element="interop:interop32Response" name="interop321Response"/> + </wsdl:message> + + <wsdl:message name="interop33Request"> + <wsdl:part element="interop:interop33" name="interop33"/> + </wsdl:message> + <wsdl:message name="interop33Response"> + <wsdl:part element="interop:interop33Response" name="interop331Response"/> + </wsdl:message> + + <wsdl:message name="interop34Request"> + <wsdl:part element="interop:interop34" name="interop34"/> + </wsdl:message> + <wsdl:message name="interop34Response"> + <wsdl:part element="interop:interop34Response" name="interop341Response"/> + </wsdl:message> + + <wsdl:message name="interop35Request"> + <wsdl:part element="interop:interop35" name="interop35"/> + </wsdl:message> + <wsdl:message name="interop35Response"> + <wsdl:part element="interop:interop35Response" name="interop351Response"/> + </wsdl:message> + + <wsdl:message name="interop36Request"> + <wsdl:part element="interop:interop36" name="interop36"/> + </wsdl:message> + <wsdl:message name="interop36Response"> + <wsdl:part element="interop:interop36Response" name="interop361Response"/> + </wsdl:message> + + <wsdl:message name="interop37Request"> + <wsdl:part element="interop:interop37" name="interop37"/> + </wsdl:message> + <wsdl:message name="interop37Response"> + <wsdl:part element="interop:interop37Response" name="interop371Response"/> + </wsdl:message> + + <wsdl:message name="interop38Request"> + <wsdl:part element="interop:interop38" name="interop38"/> + </wsdl:message> + <wsdl:message name="interop38Response"> + <wsdl:part element="interop:interop38Response" name="interop381Response"/> + </wsdl:message> + + <wsdl:message name="interop39Request"> + <wsdl:part element="interop:interop39" name="interop39"/> + </wsdl:message> + <wsdl:message name="interop39Response"> + <wsdl:part element="interop:interop39Response" name="interop391Response"/> + </wsdl:message> + + <wsdl:message name="interop40Request"> + <wsdl:part element="interop:interop40" name="interop40"/> + </wsdl:message> + <wsdl:message name="interop40Response"> + <wsdl:part element="interop:interop40Response" name="interop401Response"/> + </wsdl:message> + + <wsdl:message name="interop41Request"> + <wsdl:part element="interop:interop41" name="interop41"/> + </wsdl:message> + <wsdl:message name="interop41Response"> + <wsdl:part element="interop:interop41Response" name="interop411Response"/> + </wsdl:message> + + <wsdl:message name="interop42Request"> + <wsdl:part element="interop:interop42" name="interop42"/> + </wsdl:message> + <wsdl:message name="interop42Response"> + <wsdl:part element="interop:interop42Response" name="interop421Response"/> + </wsdl:message> + + <wsdl:message name="interop43Request"> + <wsdl:part element="interop:interop43" name="interop43"/> + </wsdl:message> + <wsdl:message name="interop43Response"> + <wsdl:part element="interop:interop43Response" name="interop431Response"/> + </wsdl:message> + + <wsdl:message name="interop44Request"> + <wsdl:part element="interop:interop44" name="interop44"/> + </wsdl:message> + <wsdl:message name="interop44Response"> + <wsdl:part element="interop:interop44Response" name="interop441Response"/> + </wsdl:message> + + <wsdl:message name="interop45Request"> + <wsdl:part element="interop:interop45" name="interop45"/> + </wsdl:message> + <wsdl:message name="interop45Response"> + <wsdl:part element="interop:interop45Response" name="interop451Response"/> + </wsdl:message> + + <wsdl:message name="interop46Request"> + <wsdl:part element="interop:interop46" name="interop46"/> + </wsdl:message> + <wsdl:message name="interop46Response"> + <wsdl:part element="interop:interop46Response" name="interop461Response"/> + </wsdl:message> + + <wsdl:message name="interop47Request"> + <wsdl:part element="interop:interop47" name="interop47"/> + </wsdl:message> + <wsdl:message name="interop47Response"> + <wsdl:part element="interop:interop47Response" name="interop471Response"/> + </wsdl:message> + + <wsdl:message name="interop50Request"> + <wsdl:part element="interop:interop50" name="interop50"/> + </wsdl:message> + <wsdl:message name="interop50Response"> + <wsdl:part element="interop:interop50Response" name="interop501Response"/> + </wsdl:message> + + <wsdl:portType name="interop"> + + <wsdl:operation name="interop01"> + <wsdl:input message="interop:interop01Request"/> + <wsdl:output message="interop:interop01Response"/> + </wsdl:operation> + + <wsdl:operation name="interop02"> + <wsdl:input message="interop:interop02Request"/> + <wsdl:output message="interop:interop02Response"/> + </wsdl:operation> + + <wsdl:operation name="interop03"> + <wsdl:input message="interop:interop03Request"/> + <wsdl:output message="interop:interop03Response"/> + </wsdl:operation> + + <wsdl:operation name="interop04"> + <wsdl:input message="interop:interop04Request"/> + <wsdl:output message="interop:interop04Response"/> + </wsdl:operation> + + <wsdl:operation name="interop05"> + <wsdl:input message="interop:interop05Request"/> + <wsdl:output message="interop:interop05Response"/> + </wsdl:operation> + + <wsdl:operation name="interop06"> + <wsdl:input message="interop:interop06Request"/> + <wsdl:output message="interop:interop06Response"/> + </wsdl:operation> + + <wsdl:operation name="interop07"> + <wsdl:input message="interop:interop07Request"/> + <wsdl:output message="interop:interop07Response"/> + </wsdl:operation> + + <wsdl:operation name="interop08"> + <wsdl:input message="interop:interop08Request"/> + <wsdl:output message="interop:interop08Response"/> + </wsdl:operation> + + <wsdl:operation name="interop09"> + <wsdl:input message="interop:interop09Request"/> + <wsdl:output message="interop:interop09Response"/> + </wsdl:operation> + + <wsdl:operation name="interop10"> + <wsdl:input message="interop:interop10Request"/> + <wsdl:output message="interop:interop10Response"/> + </wsdl:operation> + + <wsdl:operation name="interop11"> + <wsdl:input message="interop:interop11Request"/> + <wsdl:output message="interop:interop11Response"/> + </wsdl:operation> + + <wsdl:operation name="interop12"> + <wsdl:input message="interop:interop12Request"/> + <wsdl:output message="interop:interop12Response"/> + </wsdl:operation> + + <wsdl:operation name="interop14"> + <wsdl:input message="interop:interop14Request"/> + <wsdl:output message="interop:interop14Response"/> + </wsdl:operation> + + <wsdl:operation name="interop15"> + <wsdl:input message="interop:interop15Request"/> + <wsdl:output message="interop:interop15Response"/> + </wsdl:operation> + + <wsdl:operation name="interop16"> + <wsdl:input message="interop:interop16Request"/> + <wsdl:output message="interop:interop16Response"/> + </wsdl:operation> + + <wsdl:operation name="interop17"> + <wsdl:input message="interop:interop17Request"/> + <wsdl:output message="interop:interop17Response"/> + </wsdl:operation> + + <wsdl:operation name="interop18"> + <wsdl:input message="interop:interop18Request"/> + <wsdl:output message="interop:interop18Response"/> + </wsdl:operation> + + <wsdl:operation name="interop19"> + <wsdl:input message="interop:interop19Request"/> + <wsdl:output message="interop:interop19Response"/> + </wsdl:operation> + + <wsdl:operation name="interop20"> + <wsdl:input message="interop:interop20Request"/> + <wsdl:output message="interop:interop20Response"/> + </wsdl:operation> + + <wsdl:operation name="interop21"> + <wsdl:input message="interop:interop21Request"/> + <wsdl:output message="interop:interop21Response"/> + </wsdl:operation> + + <wsdl:operation name="interop22"> + <wsdl:input message="interop:interop22Request"/> + <wsdl:output message="interop:interop22Response"/> + </wsdl:operation> + + <wsdl:operation name="interop23"> + <wsdl:input message="interop:interop23Request"/> + <wsdl:output message="interop:interop23Response"/> + </wsdl:operation> + + <wsdl:operation name="interop24"> + <wsdl:input message="interop:interop24Request"/> + <wsdl:output message="interop:interop24Response"/> + </wsdl:operation> + + <wsdl:operation name="interop25"> + <wsdl:input message="interop:interop25Request"/> + <wsdl:output message="interop:interop25Response"/> + </wsdl:operation> + + <wsdl:operation name="interop26"> + <wsdl:input message="interop:interop26Request"/> + <wsdl:output message="interop:interop26Response"/> + </wsdl:operation> + + <wsdl:operation name="interop27"> + <wsdl:input message="interop:interop27Request"/> + <wsdl:output message="interop:interop27Response"/> + </wsdl:operation> + + <wsdl:operation name="interop28"> + <wsdl:input message="interop:interop28Request"/> + <wsdl:output message="interop:interop28Response"/> + </wsdl:operation> + + <wsdl:operation name="interop29"> + <wsdl:input message="interop:interop29Request"/> + <wsdl:output message="interop:interop29Response"/> + </wsdl:operation> + + <wsdl:operation name="interop30"> + <wsdl:input message="interop:interop30Request"/> + <wsdl:output message="interop:interop30Response"/> + </wsdl:operation> + + <wsdl:operation name="interop31"> + <wsdl:input message="interop:interop31Request"/> + <wsdl:output message="interop:interop31Response"/> + </wsdl:operation> + + <wsdl:operation name="interop32"> + <wsdl:input message="interop:interop32Request"/> + <wsdl:output message="interop:interop32Response"/> + </wsdl:operation> + + <wsdl:operation name="interop33"> + <wsdl:input message="interop:interop33Request"/> + <wsdl:output message="interop:interop33Response"/> + </wsdl:operation> + + <wsdl:operation name="interop34"> + <wsdl:input message="interop:interop34Request"/> + <wsdl:output message="interop:interop34Response"/> + </wsdl:operation> + + <wsdl:operation name="interop35"> + <wsdl:input message="interop:interop35Request"/> + <wsdl:output message="interop:interop35Response"/> + </wsdl:operation> + + <wsdl:operation name="interop36"> + <wsdl:input message="interop:interop36Request"/> + <wsdl:output message="interop:interop36Response"/> + </wsdl:operation> + + <wsdl:operation name="interop37"> + <wsdl:input message="interop:interop37Request"/> + <wsdl:output message="interop:interop37Response"/> + </wsdl:operation> + + <wsdl:operation name="interop38"> + <wsdl:input message="interop:interop38Request"/> + <wsdl:output message="interop:interop38Response"/> + </wsdl:operation> + + <wsdl:operation name="interop39"> + <wsdl:input message="interop:interop39Request"/> + <wsdl:output message="interop:interop39Response"/> + </wsdl:operation> + + <wsdl:operation name="interop40"> + <wsdl:input message="interop:interop40Request"/> + <wsdl:output message="interop:interop40Response"/> + </wsdl:operation> + + <wsdl:operation name="interop41"> + <wsdl:input message="interop:interop41Request"/> + <wsdl:output message="interop:interop41Response"/> + </wsdl:operation> + + <wsdl:operation name="interop42"> + <wsdl:input message="interop:interop42Request"/> + <wsdl:output message="interop:interop42Response"/> + </wsdl:operation> + + <wsdl:operation name="interop43"> + <wsdl:input message="interop:interop43Request"/> + <wsdl:output message="interop:interop43Response"/> + </wsdl:operation> + + <wsdl:operation name="interop44"> + <wsdl:input message="interop:interop44Request"/> + <wsdl:output message="interop:interop44Response"/> + </wsdl:operation> + + <wsdl:operation name="interop45"> + <wsdl:input message="interop:interop45Request"/> + <wsdl:output message="interop:interop45Response"/> + </wsdl:operation> + + <wsdl:operation name="interop46"> + <wsdl:input message="interop:interop46Request"/> + <wsdl:output message="interop:interop46Response"/> + </wsdl:operation> + + <wsdl:operation name="interop47"> + <wsdl:input message="interop:interop47Request"/> + <wsdl:output message="interop:interop47Response"/> + </wsdl:operation> + + <wsdl:operation name="interop50"> + <wsdl:input message="interop:interop50Request"/> + <wsdl:output message="interop:interop50Response"/> + </wsdl:operation> + + </wsdl:portType> + + <wsdl:binding name="interopSOAP" type="interop:interop"> + <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + + <wsdl:operation name="interop01"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop01"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop02"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop02"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop03"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop03"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop04"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop04"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop05"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop05"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop06"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop06"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop07"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop07"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop08"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop08"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop09"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop09"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop10"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop10"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop11"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop11"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop12"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop12"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop14"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop14"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop15"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop15"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop16"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop16"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop17"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop17"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop18"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop18"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop19"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop19"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop20"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop20"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop21"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop21"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop22"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop22"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop23"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop23"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop24"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop24"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop25"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop25"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop26"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop26"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop27"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop27"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop28"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop28"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop29"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop29"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop30"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop30"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop31"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop31"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop32"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop32"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop33"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop33"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop34"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop34"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop35"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop35"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop36"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop36"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop37"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop37"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop38"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop38"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop39"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop39"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop40"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop40"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop41"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop41"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop42"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop42"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop43"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop43"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop44"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop44"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop45"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop45"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop46"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop46"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop47"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop47"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + <wsdl:operation name="interop50"> + <soap:operation soapAction="http://www.apache.org/tuscany/interop/interop50"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + + </wsdl:binding> + <wsdl:service name="interop"> + <wsdl:port binding="interop:interopSOAP" name="interopSOAP"> + <soap:address location="http://localhost:8080/services/interop"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml new file mode 100644 index 0000000000..be5da658c2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01-in.xml @@ -0,0 +1,22 @@ +<?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. + --> +<tns:RootElement01 xmlns:p="commonj.sdo" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop01.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement01> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd new file mode 100644 index 0000000000..083966d9f9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop01.xsd @@ -0,0 +1,33 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <include schemaLocation="interop10.xsd"/> + + <!-- top level test type --> + <complexType name="ComplexTypeRootType"> + <sequence> + <!-- simple types --> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + + </sequence> + </complexType> + + <element name="RootElement01" type="tns:ComplexTypeRootType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml new file mode 100644 index 0000000000..d57593625b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02-in.xml @@ -0,0 +1,27 @@ +<?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. + --> +<RootElement02 xmlns="http://www.apache.org/tuscany/interop" + xmlns:imp="http://www.apache.org/tuscany/interop/import" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop02.xsd"> + + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + <imp:ElementOfImportedType> + <AnElement>SomeString</AnElement> + <AnotherElement>SomeString</AnotherElement> + </imp:ElementOfImportedType> +</RootElement02> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd new file mode 100644 index 0000000000..a46c21c4f9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop02.xsd @@ -0,0 +1,36 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:imp="http://www.apache.org/tuscany/interop/import" + xmlns:sdo="commonj.sdo" + xmlns:sdoJava="commonj.sdo"> + + <include schemaLocation="interop10.xsd"/> + <import schemaLocation="importschema.xsd" namespace="http://www.apache.org/tuscany/interop/import"/> + + <!-- top level test type --> + <complexType name="ComplexTypeRootType"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + <element name="ElementOfImportedType" type="imp:ImportedType"/> + </sequence> + </complexType> + + <element name="RootElement02" type="tns:ComplexTypeRootType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml new file mode 100644 index 0000000000..f4f50bf28c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03-in.xml @@ -0,0 +1,22 @@ +<?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. + --> +<tns:RootElement03 xmlns:p="commonj.sdo" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop03.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement03> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd new file mode 100644 index 0000000000..631dc0bfff --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop03.xsd @@ -0,0 +1,31 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <!-- top level test type --> + <complexType name="ComplexTypeRootType"> + <sequence> + <!-- simple types --> + <element name="SimpleTypeWithName" type="string"/> + + </sequence> + </complexType> + + <element name="RootElement03" type="tns:ComplexTypeRootType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml new file mode 100644 index 0000000000..ae06607013 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04-in.xml @@ -0,0 +1,20 @@ +<?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. + --> +<RootElement04 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="interop04.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</RootElement04> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd new file mode 100644 index 0000000000..4d968e7b3c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop04.xsd @@ -0,0 +1,29 @@ +<?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. + --> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" > + + <!-- top level test type --> + <xsd:complexType name="ComplexTypeRootType"> + <xsd:sequence> + <!-- simple types --> + <xsd:element name="SimpleTypeWithName" type="xsd:string"/> + + </xsd:sequence> + </xsd:complexType> + + <xsd:element name="RootElement04" type="ComplexTypeRootType"/> +</xsd:schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml new file mode 100644 index 0000000000..168c41d380 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<RootElement06 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop06.xsd"> + RootElement6 +</RootElement06> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd new file mode 100644 index 0000000000..acedc99232 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop06.xsd @@ -0,0 +1,23 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + + <element name="RootElement06" type="string"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml new file mode 100644 index 0000000000..029387c5d4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<tns:RootElement07 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop07.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement07> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd new file mode 100644 index 0000000000..e1cfc492d2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop07.xsd @@ -0,0 +1,28 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <complexType name="Interop7ComplexType"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement07" type="tns:Interop7ComplexType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml new file mode 100644 index 0000000000..5a8c0de3b9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<tns:RootElement08 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop08.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement08> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd new file mode 100644 index 0000000000..b7ca9dc916 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop08.xsd @@ -0,0 +1,35 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <annotation> + <appinfo>SDO 2.0.1</appinfo> + <documentation> + A schema that tests the presence of annotations in schema read by SDO + </documentation> + </annotation> + + <complexType name="Interop8ComplexType"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement08" type="tns:Interop8ComplexType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml new file mode 100644 index 0000000000..37d72454c0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<tns:RootElement09 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop09.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement09> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd new file mode 100644 index 0000000000..3a793fd8c5 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop09.xsd @@ -0,0 +1,30 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <notation name="InteropTestingSchema9" public="commonj.sdo"/> + + <complexType name="Interop9ComplexType"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement09" type="tns:Interop9ComplexType"/> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml new file mode 100644 index 0000000000..164b7242b4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<tns:RootElement10 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop10.xsd"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> +</tns:RootElement10> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd new file mode 100644 index 0000000000..593860b84b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop10.xsd @@ -0,0 +1,32 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <simpleType name="SimpleTypeWithNameType"> + <restriction base="string"/> + </simpleType> + + <element name="RootElement10"> + <complexType> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml new file mode 100644 index 0000000000..5e5d9af4a7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11-in.xml @@ -0,0 +1,23 @@ +<?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. + --> + <RootElement11 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop11.xsd"> + <SimpleTypeAnonymous> + SimpleTypeAnonymous + </SimpleTypeAnonymous> +</RootElement11> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd new file mode 100644 index 0000000000..a72cda91e5 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop11.xsd @@ -0,0 +1,34 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <element name="SimpleTypeAnonymous"> + <simpleType> + <restriction base="string"/> + </simpleType> + </element> + + <element name="RootElement11"> + <complexType> + <sequence> + <element ref="tns:SimpleTypeAnonymous"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml new file mode 100644 index 0000000000..09fc39d2e1 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<tns:RootElement12 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop12.xsd"> + <SimpleTypeWithSDOName>SimpleTypeWithSDOName</SimpleTypeWithSDOName> +</tns:RootElement12> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd new file mode 100644 index 0000000000..f428e65bf8 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop12.xsd @@ -0,0 +1,33 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <simpleType name="SimpleTypeWithSDONameType" sdo:name="SimpleTypeWithSDONameTypeSDOName"> + <restriction base="string"/> + </simpleType> + + <element name="RootElement12"> + <complexType> + <sequence> + <element name="SimpleTypeWithSDOName" type="tns:SimpleTypeWithSDONameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml new file mode 100644 index 0000000000..256f42646d --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<RootElement13 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop13.xsd"> + <SimpleTypeWithAbstractBase>SimpleTypeWithAbstractBase</SimpleTypeWithAbstractBase> +</RootElement13> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd new file mode 100644 index 0000000000..3d553a7171 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop13.xsd @@ -0,0 +1,36 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <simpleType name="SimpleTypeWithAbstractType" abstract="true"> + <restriction base="string"/> + </simpleType> + + <simpleType name="SimpleTypeWithAbstractBase"> + <restriction base="tns:SimpleTypeWithAbstractType"/> + </simpleType> + + <element name="RootElement13"> + <complexType> + <sequence> + <element name="SimpleTypeWithAbstractBase" type="tns:SimpleTypeWithAbstractBase"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml new file mode 100644 index 0000000000..eb73036a8b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement14 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop14.xsd"> + <SimpleTypeWithInstanceClass> + SimpleTypeWithInstanceClass + </SimpleTypeWithInstanceClass> +</tns:RootElement14> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd new file mode 100644 index 0000000000..0155718348 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop14.xsd @@ -0,0 +1,33 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdoJava="commonj.sdo"> + + <simpleType name="SimpleTypeWithInstanceClassType" sdoJava:instanceClass="String"> + <restriction base="string"/> + </simpleType> + + <element name="RootElement14"> + <complexType> + <sequence> + <element name="SimpleTypeWithInstanceClass" type="tns:SimpleTypeWithInstanceClassType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml new file mode 100644 index 0000000000..2376cbae06 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement15 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop15.xsd"> + <SimpleTypeWithExtendedInstanceClass> + SimpleTypeWithExtendedInstanceClass + </SimpleTypeWithExtendedInstanceClass> +</tns:RootElement15> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd new file mode 100644 index 0000000000..ad59a9710b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop15.xsd @@ -0,0 +1,33 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdoJava="commonj.sdo"> + + <simpleType name="SimpleTypeWithExtendedInstanceClassType" sdoJava:extendedInstanceClass="String"> + <restriction base="string"/> + </simpleType> + + <element name="RootElement15"> + <complexType> + <sequence> + <element name="SimpleTypeWithExtendedInstanceClass" type="tns:SimpleTypeWithExtendedInstanceClassType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml new file mode 100644 index 0000000000..94b51e764f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement16 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop16.xsd"> + <SimpleTypeWithList> + listmember1 listmember2 + </SimpleTypeWithList> +</tns:RootElement16> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd new file mode 100644 index 0000000000..f6518cfb3f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop16.xsd @@ -0,0 +1,33 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdoJava="commonj.sdo"> + + <simpleType name="SimpleTypeWithListType"> + <list itemType="string"/> + </simpleType> + + <element name="RootElement16"> + <complexType> + <sequence> + <element name="SimpleTypeWithList" type="tns:SimpleTypeWithListType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml new file mode 100644 index 0000000000..4e6895d46f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17-in.xml @@ -0,0 +1,22 @@ +<?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. + --> +<tns:RootElement17 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop17.xsd"> + <SimpleTypeWithUnion>EN</SimpleTypeWithUnion> + <SimpleTypeWithUnion>01:02:03</SimpleTypeWithUnion> +</tns:RootElement17> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd new file mode 100644 index 0000000000..bbfc755fb7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop17.xsd @@ -0,0 +1,42 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdoJava="commonj.sdo"> + + <simpleType name="SimpleTypeWithUnionType"> + <union> + <simpleType> + <restriction base="language"> + </restriction> + </simpleType> + <simpleType> + <restriction base="time"> + </restriction> + </simpleType> + </union> + </simpleType> + + <element name="RootElement17"> + <complexType> + <sequence> + <element name="SimpleTypeWithUnion" type="tns:SimpleTypeWithUnionType" minOccurs="2" maxOccurs="2"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml new file mode 100644 index 0000000000..ea28b230ea --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<tns:RootElement18 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop18.xsd"> + <ComplexTypeNoContent /> +</tns:RootElement18> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd new file mode 100644 index 0000000000..de8dc5b79e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop18.xsd @@ -0,0 +1,30 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <complexType name="ComplexTypeNoContentType"/> + + <element name="RootElement18"> + <complexType> + <sequence> + <element name="ComplexTypeNoContent" type="tns:ComplexTypeNoContentType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml new file mode 100644 index 0000000000..77d828227c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement19 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop19.xsd"> + <ComplexTypeContent> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeContent> +</tns:RootElement19> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd new file mode 100644 index 0000000000..7d28e0d9b3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop19.xsd @@ -0,0 +1,34 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <complexType name="ComplexTypeContentType"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement19"> + <complexType> + <sequence> + <element name="ComplexTypeContent" type="tns:ComplexTypeContentType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml new file mode 100644 index 0000000000..8b0e8df4ba --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<RootElement20 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop20.xsd"> + <ComplexTypeAnonymousType> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeAnonymousType> +</RootElement20> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd new file mode 100644 index 0000000000..1c4ffa6a5c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop20.xsd @@ -0,0 +1,36 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <element name="ComplexTypeAnonymousType"> + <complexType> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + </element> + + <element name="RootElement20"> + <complexType> + <sequence> + <element ref="tns:ComplexTypeAnonymousType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml new file mode 100644 index 0000000000..3bb03bb36f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement21 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop21.xsd"> + <ComplexTypeWithSDOName> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeWithSDOName> +</tns:RootElement21> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd new file mode 100644 index 0000000000..4888a7d385 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop21.xsd @@ -0,0 +1,35 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <complexType name="ComplexTypeWithSDONameType" sdo:name="ComplexTypeWithSDONameTypeSDOName"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement21"> + <complexType> + <sequence> + <element name="ComplexTypeWithSDOName" type="tns:ComplexTypeWithSDONameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml new file mode 100644 index 0000000000..4ee0a343a4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22-in.xml @@ -0,0 +1,24 @@ +<?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. + --> +<tns:RootElement22 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop22.xsd"> + <ComplexTypeExtendsAbstractType> + <BaseElement>BaseElement</BaseElement> + <ExtensionElement>ExtensionElement</ExtensionElement> + </ComplexTypeExtendsAbstractType> +</tns:RootElement22> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd new file mode 100644 index 0000000000..11c8d5c980 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop22.xsd @@ -0,0 +1,44 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <complexType name="ComplexTypeWithAbstractType" abstract="true"> + <sequence> + <element name="BaseElement" type="string"/> + </sequence> + </complexType> + + <complexType name="ComplexTypeExtendsAbstractTypeType"> + <complexContent> + <extension base="tns:ComplexTypeWithAbstractType"> + <sequence> + <element name="ExtensionElement" type="string"/> + </sequence> + </extension> + </complexContent> + </complexType> + + <element name="RootElement22"> + <complexType> + <sequence> + <element name="ComplexTypeExtendsAbstractType" type="tns:ComplexTypeExtendsAbstractTypeType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml new file mode 100644 index 0000000000..7f0d845be2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement23 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop23.xsd"> + <ComplexTypeWithSDOAliasName> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeWithSDOAliasName> +</tns:RootElement23> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd new file mode 100644 index 0000000000..b2f358c69e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop23.xsd @@ -0,0 +1,35 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <complexType name="ComplexTypeWithSDOAliasNameType" sdo:aliasName="ComplexTypeWithSDOAliasNameTypeSDOAliasName"> + <sequence> + <element name="SimpleTypeWithName" type="string"/> + </sequence> + </complexType> + + <element name="RootElement23"> + <complexType> + <sequence> + <element name="ComplexTypeWithSDOAliasName" type="tns:ComplexTypeWithSDOAliasNameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml new file mode 100644 index 0000000000..913004272e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24-in.xml @@ -0,0 +1,24 @@ +<?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. + --> +<tns:RootElement24 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop24.xsd"> + <ComplexTypeExtendingComplexType> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + <SimpleTypeWithNameExtended>SimpleTypeWithNameExtended</SimpleTypeWithNameExtended> + </ComplexTypeExtendingComplexType> +</tns:RootElement24> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd new file mode 100644 index 0000000000..c7c5a7f1af --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop24.xsd @@ -0,0 +1,40 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <include schemaLocation="interop19.xsd"/> + + <complexType name="ComplexTypeExtendingComplexTypeType"> + <complexContent> + <extension base="tns:ComplexTypeContentType"> + <sequence> + <element name="SimpleTypeWithNameExtended" type="string"/> + </sequence> + </extension> + </complexContent> + </complexType> + + <element name="RootElement24"> + <complexType> + <sequence> + <element name="ComplexTypeExtendingComplexType" type="tns:ComplexTypeExtendingComplexTypeType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml new file mode 100644 index 0000000000..4a87e3e401 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop25-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement25 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop25.xsd"> + <ComplexTypeExtendingSimpeType AddedByExtension="AddedByExtensionAttribute"> + ComplexTypeExtendingSimpeType + </ComplexTypeExtendingSimpeType> +</tns:RootElement25> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml new file mode 100644 index 0000000000..28ef8e7eaf --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement26 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop26.xsd"> + <ComplexTypeComplexContentRestrictingComplexType> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeComplexContentRestrictingComplexType> +</tns:RootElement26> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd new file mode 100644 index 0000000000..dc72404fae --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop26.xsd @@ -0,0 +1,41 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <include schemaLocation="interop10.xsd"/> + <include schemaLocation="interop24.xsd"/> + + <complexType name="ComplexTypeComplexContentRestrictingComplexTypeType"> + <complexContent> + <restriction base="tns:ComplexTypeExtendingComplexTypeType"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + </restriction> + </complexContent> + </complexType> + + <element name="RootElement26"> + <complexType> + <sequence> + <element name="ComplexTypeComplexContentRestrictingComplexType" type="tns:ComplexTypeComplexContentRestrictingComplexTypeType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml new file mode 100644 index 0000000000..c596e781ff --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop27-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement27 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop27.xsd"> + <ComplexTypeSimpleContentRestrictingComplexType AddedByExtension="AddedByExtensionAttribute"> + ComplexTypeSimpleContentRestrictingComplexType + </ComplexTypeSimpleContentRestrictingComplexType> +</tns:RootElement27> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml new file mode 100644 index 0000000000..ea47654916 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28-in.xml @@ -0,0 +1,26 @@ +<?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. + --> +<tns:RootElement28 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop28.xsd"> + <ComplexTypeWithMixed> + Some + Mixed + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + Content + </ComplexTypeWithMixed> +</tns:RootElement28> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd new file mode 100644 index 0000000000..36ca723a0c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop28.xsd @@ -0,0 +1,36 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <include schemaLocation="interop10.xsd"/> + + <complexType name="ComplexTypeWithMixedType" mixed="true"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + </complexType> + + <element name="RootElement28"> + <complexType> + <sequence> + <element name="ComplexTypeWithMixed" type="tns:ComplexTypeWithMixedType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml new file mode 100644 index 0000000000..37dc992ac0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement29 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop29.xsd"> + <ComplexTypeWithSDOSequence> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeWithSDOSequence> +</tns:RootElement29> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd new file mode 100644 index 0000000000..febb95142e --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop29.xsd @@ -0,0 +1,37 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <include schemaLocation="interop10.xsd"/> + + <complexType name="ComplexTypeWithSDOSequenceType" sdo:name="true"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + </complexType> + + <element name="RootElement29"> + <complexType> + <sequence> + <element name="ComplexTypeWithSDOSequence" type="tns:ComplexTypeWithSDOSequenceType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml new file mode 100644 index 0000000000..1f802101c4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30-in.xml @@ -0,0 +1,28 @@ +<?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. + --> +<RootElement30 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop30.xsd"> + <ComplexTypeOpenContent> + <ComplexTypeWithMixed> + Some + Mixed + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + Content + </ComplexTypeWithMixed> + </ComplexTypeOpenContent> +</RootElement30> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd new file mode 100644 index 0000000000..d42361b509 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop30.xsd @@ -0,0 +1,36 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <include schemaLocation="interop28.xsd"/> + + <complexType name="ComplexTypeOpenContentType"> + <sequence> + <any namespace="##any"/> + </sequence> + </complexType> + + <element name="RootElement30"> + <complexType> + <sequence> + <element name="ComplexTypeOpenContent" type="tns:ComplexTypeOpenContentType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml new file mode 100644 index 0000000000..3cd54829a9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement31 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop31.xsd"> + <ComplexTypeOpenAttributes SomeOpenAttribute="Some Open Attribute"> + <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName> + </ComplexTypeOpenAttributes> +</tns:RootElement31> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd new file mode 100644 index 0000000000..9ba51daca8 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop31.xsd @@ -0,0 +1,39 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <include schemaLocation="interop10.xsd"/> + + <attribute name="SomeOpenAttribute" type="string"/> + + <complexType name="ComplexTypeOpenAttributesType"> + <sequence> + <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/> + </sequence> + <anyAttribute namespace="##any"/> + </complexType> + + <element name="RootElement31"> + <complexType> + <sequence> + <element name="ComplexTypeOpenAttributes" type="tns:ComplexTypeOpenAttributesType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml new file mode 100644 index 0000000000..72dc7ceb44 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32-in.xml @@ -0,0 +1,32 @@ +<?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. + --> +<tns:RootElement32 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop32.xsd"> + + <ComplexTypeReferencedDataObject DataObjectId="idvalue0"> + <SomeData>some data string</SomeData> + </ComplexTypeReferencedDataObject> + + <ComplexTypeReferencingDataObject DataObjectId="idvalue1" + AttributeWithSDOPropertyType="idvalue0"> + <OppositeProperty>idvalue2</OppositeProperty> + </ComplexTypeReferencingDataObject> + + <ComplexTypeOppositeProperty DataObjectId="idvalue2" + AttributeWithSDOPropertyType="idvalue1" /> +</tns:RootElement32> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd new file mode 100644 index 0000000000..bf33516371 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop32.xsd @@ -0,0 +1,56 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <complexType name="ComplexTypeReferencedDataObjectType"> + <sequence> + <element name="SomeData" type="string"/> + </sequence> + <attribute name="DataObjectId" type="ID"/> + </complexType> + + <complexType name="ComplexTypeReferencingDataObjectType"> + <sequence> + <element name="OppositeProperty" type="ID"/> + </sequence> + <attribute name="AttributeWithSDOPropertyType" type="IDREF" + sdo:propertyType="tns:ComplexTypeReferencedDataObjectType"/> + <attribute name="DataObjectId" type="ID"/> + </complexType> + + <complexType name="ComplexTypeOppositePropertyType"> + <sequence> + </sequence> + <attribute name="AttributeWithSDOPropertyType" type="IDREF" + sdo:propertyType="tns:ComplexTypeReferencingDataObjectTestType" + sdo:oppositeProperty="OppositeProperty"/> + <attribute name="DataObjectId" type="ID"/> + </complexType> + + <element name="RootElement32"> + <complexType> + <sequence> + <element name="ComplexTypeReferencedDataObject" type="tns:ComplexTypeReferencedDataObjectType"/> + <element name="ComplexTypeReferencingDataObject" type="tns:ComplexTypeReferencingDataObjectType"/> + <element name="ComplexTypeOppositeProperty" type="tns:ComplexTypeOppositePropertyType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml new file mode 100644 index 0000000000..61a0fdf2aa --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33-in.xml @@ -0,0 +1,31 @@ +<?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. + --> +<RootElement33 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop33.xsd"> + + <ComplexTypeAttributesTest Attribute="Attribute" + AttributeWithDefaultValue="AttributeWithDefaultValueDefaultValue" + AttributeWithFixedValue="AttributeWithFixedValueFixedValue" + AttributeWithSDOAliasName="AttributeWithSDOAliasName" + AttributeWithSDODataType="AttributeWithSDODataType" + AttributeWithSDOName="AttributeWithSDODataType" + AttributeWithSDOPropertySDOOppositePropertyType="idvalue0" + AttributeWithSDOPropertyType="idvalue0" + AttributeWithSDOString="AttributeWithSDOString" + AttributeReference="AttributeReference"/> +</RootElement33> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd new file mode 100644 index 0000000000..27f6c22d12 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop33.xsd @@ -0,0 +1,46 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <attribute name="AttributeReference" type="string"/> + + <complexType name="ComplexTypeAttributesTestType"> + <sequence> + </sequence> + <attribute name="Attribute" type="string"/> + <attribute name="AttributeWithSDOName" sdo:name="AttributeWithSDONameSDOName" type="string"/> + <attribute name="AttributeWithSDOAliasName" sdo:aliasName="AttributeWithSDOAliasNameSDOAliasName" type="string"/> + <attribute name="AttributeWithDefaultValue" type="string" default="AttributeWithDefaultValueDefaultValue"/> + <attribute name="AttributeWithFixedValue" type="string" fixed="AttributeWithFixedValueFixedValue"/> + <attribute ref="tns:AttributeReference"/> + <attribute name="AttributeWithSDOString" type="string" sdo:string="true"/> + <attribute name="AttributeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/> + <attribute name="AttributeWithSDOPropertySDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:AttributeWithSDOPropertyType"/> + <attribute name="AttributeWithSDODataType" sdo:dataType="string" type="string"/> + </complexType> + + <element name="RootElement33"> + <complexType> + <sequence> + <element name="ComplexTypeAttributesTest" type="tns:ComplexTypeAttributesTestType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml new file mode 100644 index 0000000000..3c488be77c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<tns:RootElement34 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop34.xsd"> + <ElementWithSDOName>ElementWithSDOName</ElementWithSDOName> +</tns:RootElement34> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd new file mode 100644 index 0000000000..8fe33e9776 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop34.xsd @@ -0,0 +1,29 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <element name="RootElement34"> + <complexType> + <sequence> + <element name="ElementWithSDOName" sdo:name="ElementWithSDONameSDOName" type="string"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml new file mode 100644 index 0000000000..63f84a91da --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement35 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop35.xsd"> + <ElementWithSDOAliasName> + ElementWithSDOAliasName + </ElementWithSDOAliasName> +</tns:RootElement35> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd new file mode 100644 index 0000000000..706326b22f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop35.xsd @@ -0,0 +1,29 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <element name="RootElement35"> + <complexType> + <sequence> + <element name="ElementWithSDOAliasName" sdo:aliasName="ElementWithSDOAliasNameSDOAliasName" type="string"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml new file mode 100644 index 0000000000..2a4b63f958 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36-in.xml @@ -0,0 +1,21 @@ +<?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. + --> +<tns:RootElement36 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop36.xsd"> + <ElementWithMaxOccurs>ElementWithMaxOccurs</ElementWithMaxOccurs> +</tns:RootElement36> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd new file mode 100644 index 0000000000..2e1c95b1c3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop36.xsd @@ -0,0 +1,28 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <element name="RootElement36"> + <complexType> + <sequence> + <element name="ElementWithMaxOccurs" type="string" maxOccurs="2"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml new file mode 100644 index 0000000000..f25366e905 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37-in.xml @@ -0,0 +1,22 @@ +<?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. + --> +<tns:RootElement37 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop37.xsd"> + <Element1InChoice>Element1InChoice</Element1InChoice> + <Element2InChoice>Element2InChoice</Element2InChoice> +</tns:RootElement37> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd new file mode 100644 index 0000000000..b2afa51290 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd @@ -0,0 +1,45 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <group name="Group1"> + <sequence> + <element name="Element1InChoice" type="string" maxOccurs="2"/> + <element name="Element2InChoice" type="string" /> + </sequence> + </group> + + <group name="Group2"> + <sequence> + <element name="Element2InChoice" type="string" /> + <element name="Element1InChoice" type="string" maxOccurs="2"/> + </sequence> + </group> + + <element name="RootElement37"> + <complexType> + <sequence> + <choice maxOccurs="3"> + <group ref="tns:Group1"/> + <group ref="tns:Group2"/> + </choice> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml new file mode 100644 index 0000000000..5a97314a46 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38-in.xml @@ -0,0 +1,24 @@ +<?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. + --> +<tns:RootElement38 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop38.xsd"> + <ElementInAll> + <ElementInAllOne>ElementInAllOne</ElementInAllOne> + <ElementInAllTwo>ElementInAllTwo</ElementInAllTwo> + </ElementInAll> +</tns:RootElement38> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd new file mode 100644 index 0000000000..a4b406550a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop38.xsd @@ -0,0 +1,37 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <complexType name="ComplexTypeElementInAllTestType"> + <all> + <element name="ElementInAllOne" type="string"/> + <element name="ElementInAllTwo" type="string"/> + </all> + </complexType> + + <element name="RootElement38"> + <complexType> + <sequence> + <choice maxOccurs="3"> + <element name="ElementInAll" type="tns:ComplexTypeElementInAllTestType"/> + </choice> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml new file mode 100644 index 0000000000..d6ec278d2a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop39-in.xml @@ -0,0 +1,22 @@ +<?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. + --> +<tns:RootElement39 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop39.xsd"> + <ElementWithNillable/> + <ElementWithNillable xsi:nil="true"/> +</tns:RootElement39> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml new file mode 100644 index 0000000000..ac7a3835b7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40-in.xml @@ -0,0 +1,39 @@ +<?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. + --> +<RootElement40 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop40.xsd"> + + <ElementSubstitutionGroupBase> + <ElementInSubstitutionGroupBase> + ElementInSubstitutionGroupBase + </ElementInSubstitutionGroupBase> + </ElementSubstitutionGroupBase> + + <ElementSubstitutionUnrelated>Some Data</ElementSubstitutionUnrelated> + + <ElementSubstitutionGroupExtends> + <ElementInSubstitutionGroupBase> + ElementInSubstitutionGroupBase + </ElementInSubstitutionGroupBase> + <ElementInSubstitutionGroupExtends> + ElementInSubstitutionGroupExtends + </ElementInSubstitutionGroupExtends> + </ElementSubstitutionGroupExtends> + + +</RootElement40> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd new file mode 100644 index 0000000000..3e2ca8765a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop40.xsd @@ -0,0 +1,49 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <complexType name="ComplexTypeSubstitutionGroupBaseType"> + <sequence> + <element name="ElementInSubstitutionGroupBase" type="string"/> + </sequence> + </complexType> + <element name="ElementSubstitutionGroupBase" type="tns:ComplexTypeSubstitutionGroupBaseType"/> + + <element name="ElementSubstitutionGroupUnrelated" type="string" substitutionGroup="tns:ElementSubstitutionGroupBase"/> + + <complexType name="ComplexTypeSubstitutionGroupExtendsType"> + <complexContent> + <extension base="tns:ComplexTypeSubstitutionGroupBaseType"> + <sequence> + <element name="ElementInSubstitutionGroupExtends" type="string"/> + </sequence> + </extension> + </complexContent> + </complexType> + + <element name="ElementSubstitutionGroupExtends" type="tns:ComplexTypeSubstitutionGroupExtendsType" substitutionGroup="tns:ElementSubstitutionGroupBase"/> + + <element name="RootElement40"> + <complexType> + <sequence> + <element ref="tns:ElementSubstitutionGroupBase" maxOccurs="unbounded" /> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml new file mode 100644 index 0000000000..6fe9f99157 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement41 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop41.xsd"> + <ElementOfSimpleTypeWithDefault> + ElementOfSimpleTypeWithDefaultDefault + </ElementOfSimpleTypeWithDefault> +</tns:RootElement41> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd new file mode 100644 index 0000000000..a473626f03 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop41.xsd @@ -0,0 +1,28 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <element name="RootElement41"> + <complexType> + <sequence> + <element name="ElementOfSimpleTypeWithDefault" type="string" default="ElementOfSimpleTypeWithDefaultDefault" /> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml new file mode 100644 index 0000000000..427f07b22b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement42 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop42.xsd"> + <ElementOfSimpleTypeWithFixed> + ElementOfSimpleTypeWithFixedFixed + </ElementOfSimpleTypeWithFixed> +</tns:RootElement42> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd new file mode 100644 index 0000000000..99a9afecd1 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop42.xsd @@ -0,0 +1,28 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <element name="RootElement42"> + <complexType> + <sequence> + <element name="ElementOfSimpleTypeWithFixed" type="string" fixed="ElementOfSimpleTypeWithFixedFixed" /> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml new file mode 100644 index 0000000000..005879cf42 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement43 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop43.xsd"> + <ElementOfSimpleTypeWithSDOString> + ElementOfSimpleTypeWithSDOString + </ElementOfSimpleTypeWithSDOString> +</tns:RootElement43> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd new file mode 100644 index 0000000000..60d31e94cc --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop43.xsd @@ -0,0 +1,29 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <element name="RootElement43"> + <complexType> + <sequence> + <element name="ElementOfSimpleTypeWithSDOString" type="string" sdo:string="true"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml new file mode 100644 index 0000000000..1170e4a991 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement44 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop44.xsd"> + <ElementOfSimpleTypeWithSDOPropertyType> + idvalue0 + </ElementOfSimpleTypeWithSDOPropertyType> +</tns:RootElement44> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd new file mode 100644 index 0000000000..45c74b90fa --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop44.xsd @@ -0,0 +1,29 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <element name="RootElement44"> + <complexType> + <sequence> + <element name="ElementOfSimpleTypeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml new file mode 100644 index 0000000000..f0160f713a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement45 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop45.xsd"> + <ElementOfSimpleTypeWithSDOOppositePropertyType> + idvalue0 + </ElementOfSimpleTypeWithSDOOppositePropertyType> +</tns:RootElement45> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd new file mode 100644 index 0000000000..7a6236c9eb --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop45.xsd @@ -0,0 +1,30 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + + <element name="RootElement45"> + <complexType> + <sequence> + <element name="ElementOfSimpleTypeWithSDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:ElementOfSimpleTypeWithSDOPropertyType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml new file mode 100644 index 0000000000..f5ddf4a859 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46-in.xml @@ -0,0 +1,23 @@ +<?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. + --> +<tns:RootElement46 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop46.xsd"> + <ElementOfSimpleTypeWithSDODataType> + ElementOfSimpleTypeWithSDODataType + </ElementOfSimpleTypeWithSDODataType> +</tns:RootElement46> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd new file mode 100644 index 0000000000..54573c0bdb --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop46.xsd @@ -0,0 +1,30 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + + <element name="RootElement46"> + <complexType> + <sequence> + <element name="ElementOfSimpleTypeWithSDODataType" type="string" sdo:dataType="string"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml new file mode 100644 index 0000000000..4cff425ea2 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47-in.xml @@ -0,0 +1,25 @@ +<?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. + --> +<RootElement47 xmlns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop47.xsd"> + <ElementOfSDOChangeSummaryType create="abc" delete="def" logging="true"> + <ChangeSummaryElement> + ChangeSummaryText + </ChangeSummaryElement> + </ElementOfSDOChangeSummaryType> +</RootElement47> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd new file mode 100644 index 0000000000..be67383db3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop47.xsd @@ -0,0 +1,31 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:sdo="commonj.sdo"> + + <import schemaLocation="datagraph.xsd" namespace="commonj.sdo"/> + + <element name="RootElement47"> + <complexType> + <sequence> + <element name="ElementOfSDOChangeSummaryType" type="sdo:ChangeSummaryType"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml new file mode 100644 index 0000000000..5aa3d442a9 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50-in.xml @@ -0,0 +1,78 @@ +<?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. + --> +<tns:RootElement50 xmlns:tns="http://www.apache.org/tuscany/interop" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apache.org/tuscany/interop interop50.xsd"> + <anySimpleType>anySimpleType</anySimpleType> + <anyType>AnyTypeString</anyType> + <anyURI>http://tempuri.org</anyURI> + <base64Binary>ABCD</base64Binary> + <boolean>true</boolean> + <boolean>false</boolean> + <boolean>1</boolean> + <boolean>0</boolean> + <byte>128</byte> + <byte>-127</byte> + <date>2001-01-01</date> + <dateTime>2001-12-31T12:00:00</dateTime> + <decimal>-1.23456789</decimal> + <decimal>1.23456789</decimal> + <double>0.0</double> + <double>12.3E-4</double> + <duration>P1D</duration> + <float>0.0</float> + <gDay>---01</gDay> + <gMonth>--01--</gMonth> + <gMonthDay>--01-01</gMonthDay> + <gYear>2001</gYear> + <gYearMonth>2001-01</gYearMonth> + <hexBinary>0F00</hexBinary> + <ID>idvalue0</ID> + <IDREF>idvalue0</IDREF> + <IDREFS>idvalue0</IDREFS> + <int>-2147483648</int> + <int>2147483647</int> + <integer>-2147483648</integer> + <integer>2147483647</integer> + <language>EN</language> + <long>-9223372036854775808</long> + <long>9223372036854775807</long> + <Name>Name</Name> + <NCName>NCName</NCName> + <negativeInteger>-1</negativeInteger> + <NMTOKEN>NMTOKEN</NMTOKEN> + <NMTOKENS>NMTOKENS</NMTOKENS> + <nonNegativeInteger>0</nonNegativeInteger> + <nonPositiveInteger>0</nonPositiveInteger> + <normalizedString>normalizedString</normalizedString> + <NOTATION>tns:interop50</NOTATION> + <positiveInteger>1</positiveInteger> + <QName>QName</QName> + <short>-32768</short> + <short>32767</short> + <string>string</string> + <time>12:00:00</time> + <token>token</token> + <unsignedByte>0</unsignedByte> + <unsignedByte>255</unsignedByte> + <unsignedInt>0</unsignedInt> + <unsignedInt>4294967295</unsignedInt> + <unsignedLong>0</unsignedLong> + <unsignedLong>18446744073709551615</unsignedLong> + <unsignedShort>0</unsignedShort> + <unsignedShort>65535</unsignedShort> +</tns:RootElement50> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd new file mode 100644 index 0000000000..f2d4ed7679 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop50.xsd @@ -0,0 +1,79 @@ +<?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. + --> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + +<notation name="interop50" public="commonj.sdo"/> + + <element name="RootElement50"> + <complexType> + <sequence> + <element name="anySimpleType" type="anySimpleType" maxOccurs="unbounded"/> + <element name="anyType" type="anyType" maxOccurs="unbounded"/> + <element name="anyURI" type="anyURI" maxOccurs="unbounded"/> + <element name="base64Binary" type="base64Binary" maxOccurs="unbounded"/> + <element name="boolean" type="boolean" maxOccurs="unbounded"/> + <element name="byte" type="byte" maxOccurs="unbounded"/> + <element name="date" type="date" maxOccurs="unbounded"/> + <element name="dateTime" type="dateTime" maxOccurs="unbounded"/> + <element name="decimal" type="decimal" maxOccurs="unbounded"/> + <element name="double" type="double" maxOccurs="unbounded"/> + <element name="duration" type="duration" maxOccurs="unbounded"/> + <element name="float" type="float" maxOccurs="unbounded"/> + <element name="gDay" type="gDay" maxOccurs="unbounded"/> + <element name="gMonth" type="gMonth" maxOccurs="unbounded"/> + <element name="gMonthDay" type="gMonthDay" maxOccurs="unbounded"/> + <element name="gYear" type="gYear" maxOccurs="unbounded"/> + <element name="gYearMonth" type="gYearMonth" maxOccurs="unbounded"/> + <element name="hexBinary" type="hexBinary" maxOccurs="unbounded"/> + <element name="ID" type="ID" maxOccurs="unbounded"/> + <element name="IDREF" type="IDREF" maxOccurs="unbounded"/> + <element name="IDREFS" type="IDREFS" maxOccurs="unbounded"/> + <element name="int" type="int" maxOccurs="unbounded"/> + <element name="integer" type="integer" maxOccurs="unbounded"/> + <element name="language" type="language" maxOccurs="unbounded"/> + <element name="long" type="long" maxOccurs="unbounded"/> + <element name="Name" type="Name" maxOccurs="unbounded"/> + <element name="NCName" type="NCName" maxOccurs="unbounded"/> + <element name="negativeInteger" type="negativeInteger" maxOccurs="unbounded"/> + <element name="NMTOKEN" type="NMTOKEN" maxOccurs="unbounded"/> + <element name="NMTOKENS" type="NMTOKENS" maxOccurs="unbounded"/> + <element name="nonNegativeInteger" type="nonNegativeInteger" maxOccurs="unbounded"/> + <element name="nonPositiveInteger" type="nonPositiveInteger" maxOccurs="unbounded"/> + <element name="normalizedString" type="normalizedString" maxOccurs="unbounded"/> + <element name="NOTATION" maxOccurs="unbounded"> + <simpleType > + <restriction base="NOTATION"> + <enumeration value="tns:interop50"/> + </restriction> + </simpleType> + </element> + <element name="positiveInteger" type="positiveInteger" maxOccurs="unbounded"/> + <element name="QName" type="QName" maxOccurs="unbounded"/> + <element name="short" type="short" maxOccurs="unbounded"/> + <element name="string" type="string" maxOccurs="unbounded"/> + <element name="time" type="time" maxOccurs="unbounded"/> + <element name="token" type="token" maxOccurs="unbounded"/> + <element name="unsignedByte" type="unsignedByte" maxOccurs="unbounded"/> + <element name="unsignedInt" type="unsignedInt" maxOccurs="unbounded"/> + <element name="unsignedLong" type="unsignedLong" maxOccurs="unbounded"/> + <element name="unsignedShort" type="unsignedShort" maxOccurs="unbounded"/> + </sequence> + </complexType> + </element> +</schema> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh new file mode 100755 index 0000000000..831246bbc6 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/runtest.sh @@ -0,0 +1,31 @@ + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +cd $TUSCANY_SCACPP/test/ws.service.interop/deploy/bin + +# Start the axis http server. Output goes to a log file +./runwsserver.sh > runwsserver.log & + +# The wget command makes sure the server has fully started up +wget -O - http://localhost:9090/axis2/services + +# Run the tests against the server +./runclient.sh + +# Finally, kill the axis http server by finding the PID +kill -9 `ps | grep axis2_http_serv | cut -c1-6` diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am new file mode 100644 index 0000000000..9fef007b19 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/Makefile.am @@ -0,0 +1,51 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +deploydir=$(prefix)/test/ws.service.interop/deploy +prgbindir=$(deploydir)/bin + +prgbin_PROGRAMS = ws.service.interop.client +prgbin_SCRIPTS = runclient.sh +EXTRA_DIST = runclient.sh + +AM_CPPFLAGS = $(CPPFLAGS) + +ws_service_interop_client_SOURCES = \ +TestClient.cpp + +ws_service_interop_client_LDADD = \ +-L$(TUSCANY_SCACPP)/lib \ + -ltuscany_sca \ +-L$(TUSCANY_SDOCPP)/lib \ + -ltuscany_sdo \ + -ltuscany_sdo_axiom \ +-L$(AXIS2C_HOME)/lib \ + -laxis2_util \ + -laxis2_axiom \ + -laxis2_wsdl \ + -laxis2_engine \ + -laxis2_parser \ + -laxis2_minizip \ + -lpthread \ + -laxis2_http_sender \ + -laxis2_http_receiver + +INCLUDES = \ +-I${AXIS2C_HOME}/include \ +-I${TUSCANY_SCACPP}/include \ +-I${TUSCANY_SDOCPP}/include + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp new file mode 100644 index 0000000000..da3a90cff4 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/TestClient.cpp @@ -0,0 +1,375 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <axiom.h> +#include <axis2_util.h> +#include <axiom_soap.h> +#include <axis2_client.h> + +#include <commonj/sdo/SDO.h> +using namespace commonj::sdo; + +#include <sdo_axiom.h> +using namespace commonj::sdo_axiom; + +#include <tuscany/sca/util/Utils.h> +using namespace tuscany::sca; + +#include <string> +#include <iostream> +using namespace std; + +axiom_node_t* get_om_payload_from_xml_file(axis2_env_t *env, const char* currentTest); +axiom_node_t* runCall(axis2_env_t *env, char* endpoint, char* opName, axiom_node_t* payload); +void loadAllXSD(); +bool compareAxiomNodes(axiom_node_t* returned_payload, axiom_node_t* payload_data); + +XSDHelperPtr xsdHelper = NULL; +XMLHelperPtr xmlHelper = NULL; + + +int main(int argc, char** argv) +{ + axis2_env_t *env = NULL; + axis2_char_t *address = NULL; + axis2_char_t *testNumberString = "-1"; + + axis2_endpoint_ref_t* endpoint_ref = NULL; + axis2_options_t *options = NULL; + axis2_char_t *client_home = NULL; + axis2_svc_client_t* svc_client = NULL; + axiom_node_t *payload = NULL; + axiom_node_t *ret_node = NULL; + + /* Set up the envioronment */ + env = axis2_env_create_all("ws.service.interop.client.log", AXIS2_LOG_LEVEL_TRACE); + + /* Set end point reference of echo service */ + address = "http://localhost:9090/axis2/services/ws.service"; + if (argc > 1 ) + testNumberString = argv[1]; + if (argc > 2 ) + address = argv[2]; + if (AXIS2_STRCMP(testNumberString, "-h") == 0) + { + cout<<"Usage : "<< argv[0] <<"[test_number] [endpoint_url]"<<endl; + cout<<"use -h for help"<<endl; + return 0; + } + + int testNumber = atoi(testNumberString); + if(testNumber > 0 && testNumber <= 50) + { + cout<<"Running test : "<< testNumber << endl; + } + else + { + testNumber = -1; + cout<<"Running all tests" << endl; + } + + cout<<"Using endpoint : "<< address << endl; + + const string interop = "interop"; + + string currentTest; + + int testsPassed = 0; + int testsRun = 0; + string failedTests = ""; + string unsupportedTests = ""; + + loadAllXSD(); + + // Tests 1 to 50 + for(int i=1; i<=50; i++) + { + if( testNumber != i && + testNumber > 0 ) + { + // Only running a single, chosen test + continue; + } + if( i==13 || + i==48 || + i==49 ) + { + // Ignore non-existant schemas + continue; + } + + currentTest = interop; + if(i<10) + { + currentTest.append("0"); + } + char buf[3]; + sprintf(buf, "%d", i); + currentTest.append(buf); + + cout << "Running test " << currentTest << endl; + + if( i==5 || + i==25 || + i==27 || + i==39 ) + { + cout << "We do not currently support schema " << currentTest << endl; + unsupportedTests += currentTest + " "; + continue; + } + + testsRun++; + + payload = get_om_payload_from_xml_file(env, currentTest.c_str()); + axiom_node_t* returned_payload = NULL; + bool success = false; + if(payload) + { + returned_payload = runCall(env, address, (char*) currentTest.c_str(), payload); + } + + if(returned_payload) + { + // Get the inner node to compare + axiom_node_t* payload_data = AXIOM_NODE_GET_FIRST_CHILD(payload, env); + success = compareAxiomNodes(returned_payload, payload_data); + } + + if(success) + { + cout << currentTest << " PASSED!" << endl; + testsPassed++; + } + else + { + failedTests += currentTest + " "; + cout << currentTest << " FAILED!" << endl; + } + + } + cout << "Passed " << testsPassed << " of " << testsRun << " tests" << endl; + if(failedTests.size() > 0) + { + string expectedFailedTests = "interop04 interop28 interop30 interop32 interop33 interop40 interop50"; + cout << " Failed Tests: " << failedTests << endl; + cout << "Expected failures: " << expectedFailedTests << endl; + } + if(unsupportedTests.size() > 0) + { + cout << "Unsupported: " << unsupportedTests << endl; + } + return 0; +} + +axiom_node_t* runCall(axis2_env_t *env, char* endpoint, char* opName, axiom_node_t* payload) +{ + axis2_char_t *address = endpoint; + axis2_endpoint_ref_t* endpoint_ref = NULL; + axis2_options_t *options = NULL; + axis2_char_t *client_home = NULL; + axis2_svc_client_t* svc_client = NULL; + axiom_node_t *ret_node = NULL; + axiom_node_t *ret = NULL; + char action [100]; + int len = 0; + + client_home = AXIS2_GETENV("AXIS2C_HOME"); + + /* Create EPR with given address */ + endpoint_ref = axis2_endpoint_ref_create(env, address); + + svc_client = axis2_svc_client_create(env, client_home); + if (!svc_client) + { + printf("Error creating service client\n"); + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" + " %d :: %s", env->error->error_number, + AXIS2_ERROR_GET_MESSAGE(env->error)); + return NULL; + } + + options = axis2_options_create(env); + + AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref); + + len = sprintf(action, "http://www.WSEntryPointTest.org/WSEntryPointTest/%s", opName); + AXIS2_OPTIONS_SET_ACTION(options, env, action); + + /* Set service client options */ + AXIS2_SVC_CLIENT_SET_OPTIONS(svc_client, env, options); + + /* Engage addressing composite */ + AXIS2_SVC_CLIENT_ENGAGE_MODULE(svc_client, env, AXIS2_MODULE_ADDRESSING); + + + /* Send request */ + ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload); + if(ret_node) + { + ret = AXIOM_NODE_GET_FIRST_CHILD(ret_node, env); + if(!ret) + { + cout << "No data in response - failure on server" << endl; + } + } + else + { + cout << "request failed" << endl; + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:" + " %d :: %s", env->error->error_number, + AXIS2_ERROR_GET_MESSAGE(env->error)); + } + + if (svc_client) + { + AXIS2_SVC_CLIENT_FREE(svc_client, env); + svc_client = NULL; + } + if (endpoint_ref) + { + // The following line is commented out due to it causing a segmentation fault on Linux with Axis2C 0.93 + // AXIS2_ENDPOINT_REF_FREE(endpoint_ref, env); + endpoint_ref = NULL; + } + + return ret; +} + + +bool compareAxiomNodes(axiom_node_t* returned_payload, axiom_node_t* expected_payload) +{ + bool success = false; + + AxiomHelper* axiomHelper = AxiomHelper::getHelper(); + DataObjectPtr expectedDO = axiomHelper->toSdo(expected_payload, xsdHelper->getDataFactory()); + DataObjectPtr returnedDO = axiomHelper->toSdo(returned_payload, xsdHelper->getDataFactory()); + + string diff; + success = Utils::compareDataObjects(expectedDO, returnedDO, diff); + + if(!success) + { + cout << "Expected data does not match returned data:\n" << diff << "\nExpected data:"<<endl; + Utils::printDO(expectedDO); + cout << "Returned data:"<<endl; + Utils::printDO(returnedDO); + } + return success; +} + +void loadAllXSD() +{ + const string resourcesDir = "./resources/"; + const string dotxsd = ".xsd"; + + try + { + // Create an xsd helper + xsdHelper = HelperProvider::getXSDHelper(); + + // Tests 1 to 50 + for(int i=1; i<=50; i++) + { + if( i==13 || + i==48 || + i==49 || + i==5 || + i==25 || + i==27 || + i==39 ) + { + // Ignore non-existant/unsupported schemas + continue; + } + + string currentTest = "interop"; + if(i<10) + { + currentTest.append("0"); + } + char buf[3]; + sprintf(buf, "%d", i); + currentTest.append(buf); + + string xsdFileName = resourcesDir + currentTest + dotxsd; + xsdHelper->defineFile(xsdFileName.c_str()); + } + + } + catch(SDORuntimeException& ex) + { + cout << "SDORuntimeException whilst loading xsd" << endl; + cout << ex.getMessageText() << endl; + } +} + +/* build SOAP request message content using OM */ +axiom_node_t* get_om_payload_from_xml_file(axis2_env_t *env, const char* currentTest) +{ + axiom_node_t* req_om_node = NULL; + axiom_node_t* payload_om_node = NULL; + const string resourcesDir = "./resources/"; + const string dotxml = "-in.xml"; + + string xmlFileName = resourcesDir + currentTest + dotxml; + + try + { + + xmlHelper = HelperProvider::getXMLHelper(xsdHelper->getDataFactory()); + + XMLDocumentPtr payloadFile = xmlHelper->loadFile(xmlFileName.c_str()); + string rootElemURI = payloadFile->getRootElementURI(); + string rootElemName = payloadFile->getRootElementName(); + + DataObjectPtr payloadDO = payloadFile->getRootDataObject(); + + AxiomHelper* axiomHelper = AxiomHelper::getHelper(); + payload_om_node = axiomHelper->toAxiomNode(payloadDO, rootElemURI.c_str(), rootElemName.c_str()); + + if(!payload_om_node) + { + payload_om_node = axiomHelper->toAxiomNode(payloadDO); + } + + if(payload_om_node) + { + axiom_element_t* req_om_elem = NULL; + axiom_namespace_t *ns1 = NULL; + axis2_char_t *om_str = NULL; + + ns1 = axiom_namespace_create (env, "http://www.apache.org/tuscany/interop", "ns1"); + req_om_elem = axiom_element_create(env, NULL, currentTest, ns1, &req_om_node); + AXIOM_NODE_DETACH(payload_om_node, env); + AXIOM_NODE_ADD_CHILD(req_om_node, env, payload_om_node); + } + else + { + cout << "Could not convert xml document("<< xmlFileName <<") to Axiom" << endl; + return NULL; + } + + } + catch(SDORuntimeException& ex) + { + cout << "SDORuntimeException whilst loading xml ("<< xmlFileName <<") & converting to Axiom" << endl; + cout << ex.getMessageText() << endl; + return NULL; + } + + return req_om_node; +} diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat new file mode 100644 index 0000000000..4ab0ea4cf3 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.bat @@ -0,0 +1,32 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +setlocal + +if "%AXIS2C_HOME%" == "" ( +echo "AXIS2C_HOME not set" +goto end +) +echo Using Axis2C installed at %AXIS2C_HOME% + +rem Run the client +.\ws.service.interop.client.exe + +:end +endlocal diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh new file mode 100755 index 0000000000..57e4b6b90f --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/runclient.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + +if [ x$TUSCANY_SCACPP = x ]; then +echo "TUSCANY_SCACPP not set" +exit; +fi +echo "Using SCA installed at $TUSCANY_SCACPP" + +if [ x$TUSCANY_SDOCPP = x ]; then +echo "TUSCANY_SDOCPP not set" +exit; +fi +echo "Using SDO installed at $TUSCANY_SDOCPP" + +if [ x$AXIS2C_HOME = x ]; then +echo "AXIS2C_HOME not set" +exit; +fi +echo "Using Axis2C installed at $AXIS2C_HOME" + +export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH + +./ws.service.interop.client + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj new file mode 100644 index 0000000000..2646bb025c --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.client/ws.service.interop.client.vcproj @@ -0,0 +1,139 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="ws.service.interop.client"
+ ProjectGUID="{136C4966-3073-4EB0-9259-BC5E3B987D19}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="$(AXIS2C_HOME)/include, $(TUSCANY_SDOCPP)/include, $(TUSCANY_SCACPP)/include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="axiom.lib axis2_parser.lib axis2_util.lib axis2_engine.lib tuscany_sdo.lib tuscany_sdo_axiom.lib tuscany_sca.lib"
+ OutputFile="$(OutDir)/ws.service.interop.client.exe"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="$(AXIS2C_HOME)/lib, $(TUSCANY_SDOCPP)/lib, $(TUSCANY_SCACPP)/lib"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/ws.service.interop.client.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="..\deploy.cmd"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="4"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/service.ws.binding.client.exe"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath=".\TestClient.cpp">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ <File
+ RelativePath=".\runclient.bat">
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln new file mode 100644 index 0000000000..b0bda8950b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop.sln @@ -0,0 +1,30 @@ +Microsoft Visual Studio Solution File, Format Version 8.00
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ws.service.interop", "ws.service.interop\ws.service.interop.vcproj", "{25B65303-B2E2-47AF-968C-89D9E58611F8}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ws.service.interop.client", "ws.service.interop.client\ws.service.interop.client.vcproj", "{136C4966-3073-4EB0-9259-BC5E3B987D19}"
+ ProjectSection(ProjectDependencies) = postProject
+ {25B65303-B2E2-47AF-968C-89D9E58611F8} = {25B65303-B2E2-47AF-968C-89D9E58611F8}
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfiguration) = preSolution
+ Debug = Debug
+ Release = Release
+ EndGlobalSection
+ GlobalSection(ProjectConfiguration) = postSolution
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Debug.ActiveCfg = Debug|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Debug.Build.0 = Debug|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Release.ActiveCfg = Release|Win32
+ {25B65303-B2E2-47AF-968C-89D9E58611F8}.Release.Build.0 = Release|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Debug.ActiveCfg = Debug|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Debug.Build.0 = Debug|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Release.ActiveCfg = Release|Win32
+ {136C4966-3073-4EB0-9259-BC5E3B987D19}.Release.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ EndGlobalSection
+ GlobalSection(ExtensibilityAddIns) = postSolution
+ EndGlobalSection
+EndGlobal
diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am new file mode 100644 index 0000000000..d8a82e241a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Makefile.am @@ -0,0 +1,53 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +deploydir=$(prefix)/test/ws.service.interop/deploy +compositedir=$(deploydir)/packages/ws.service.interop +prgbindir=$(deploydir)/bin + +BUILT_SOURCES = TestImpl_TestService_Proxy.cpp \ +TestImpl_TestService_Wrapper.cpp + +noinst_HEADERS = *.h + +${BUILT_SOURCES}: ws.service.interop.composite + java -jar $(TUSCANY_SCACPP)/bin/scagen.jar -dir . -output . -verbose + +prgbin_SCRIPTS = runwsserver.sh + +composite_LTLIBRARIES = libws_service_interop.la +composite_DATA = ws.service.interop.composite *.componentType +EXTRA_DIST = ws.service.interop.composite *.componentType runwsserver.sh + +libws_service_interop_la_SOURCES = \ +TestImpl.cpp \ +TestImpl_TestService_Proxy.cpp \ +TestImpl_TestService_Wrapper.cpp + +libws_service_interop_la_LIBADD = \ +-L${TUSCANY_SCACPP}/lib \ + -ltuscany_sca \ +-L${TUSCANY_SCACPP}/extensions/cpp/lib \ + -ltuscany_sca_cpp \ +-L${TUSCANY_SDOCPP}/lib \ + -ltuscany_sdo + +INCLUDES = \ +-I$(TUSCANY_SCACPP)/extensions/cpp/include \ +-I$(TUSCANY_SCACPP)/include \ +-I${TUSCANY_SDOCPP}/include + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h new file mode 100644 index 0000000000..59f55984e7 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/Test.h @@ -0,0 +1,82 @@ +/* ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef TEST_H +#define TEST_H + +#include <commonj/sdo/SDO.h> +#include <stdio.h> +#include <string> +using std::string; + +class Test +{ +public: + virtual DataObjectPtr interop01(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop02(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop03(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop04(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop05(DataObjectPtr arg1) = 0; + virtual string interop06(string arg1) = 0; + virtual DataObjectPtr interop07(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop08(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop09(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop10(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop11(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop12(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop13(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop14(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop15(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop16(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop17(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop18(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop19(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop20(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop21(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop22(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop23(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop24(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop25(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop26(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop27(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop28(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop29(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop30(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop31(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop32(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop33(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop34(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop35(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop36(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop37(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop38(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop39(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop40(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop41(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop42(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop43(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop44(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop45(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop46(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop47(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop48(DataObjectPtr arg1) = 0; + //virtual DataObjectPtr interop49(DataObjectPtr arg1) = 0; + virtual DataObjectPtr interop50(DataObjectPtr arg1) = 0; +}; + +#endif + + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType new file mode 100644 index 0000000000..d0cca1882d --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.componentType @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="ASCII"?> +<componentType xmlns="http://www.osoa.org/xmlns/sca/1.0"> + + <service name="TestService"> + <interface.cpp header="Test.h"/> + </service> + +</componentType> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp new file mode 100644 index 0000000000..c99667e362 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.cpp @@ -0,0 +1,509 @@ +/* ++----------------------------------------------------------------------+ +| (c) Copyright IBM Corporation 2005. | +| All Rights Reserved. | ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#include "TestImpl.h" + +#include <tuscany/sca/util/Utils.h> +#include <tuscany/sca/core/SCARuntime.h> +#include <tuscany/sca/model/Component.h> +#include <tuscany/sca/model/Composite.h> +using namespace tuscany::sca; +#include <commonj/sdo/SDO.h> +using namespace commonj::sdo; + +#include <stdio.h> + +#include <string> +using std::string; + +TestImpl::TestImpl() +{ +} + +TestImpl::~TestImpl() +{ +} + +bool TestImpl::compareWithFile(DataObjectPtr suppliedDO, string test) +{ + Composite* composite = SCARuntime::getInstance()->getCurrentComponent()->getComposite(); + string rootPath = composite->getRoot(); + string xmlFileName = rootPath+"/"+test+"-in.xml"; + + XMLHelperPtr helper = composite->getXMLHelper(); + XMLDocumentPtr expectedDoc = helper->loadFile(xmlFileName.c_str()); + DataObjectPtr expectedDO = expectedDoc->getRootDataObject(); + + printf( "Comparing supplied DataObject against expected DataObject\n"); + + string diff = ""; + bool result = Utils::compareDataObjects(suppliedDO, expectedDO, diff); + if(!result) + { + printf("Supplied DO differs from expected DO:\n%s\nSupplied DO:\n", diff.c_str() ); + Utils::printDO(suppliedDO); + printf("Expected DO:\n"); + Utils::printDO(expectedDO); + } + else + { + printf("DataObjects match!\n"); + } + + return result; +} + +DataObjectPtr TestImpl::interop01(DataObjectPtr arg1) +{ + printf("TestImpl::interop01 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop01")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop02(DataObjectPtr arg1) +{ + printf("TestImpl::interop02 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop02")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop03(DataObjectPtr arg1) +{ + printf("TestImpl::interop03 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop03")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop04(DataObjectPtr arg1) +{ + printf("TestImpl::interop04 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop04")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop05(DataObjectPtr arg1) +{ + printf("TestImpl::interop05 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop05")) + { + return arg1; + } + return NULL; +} +string TestImpl::interop06(string arg1) +{ + printf("TestImpl::interop06 %s\n", arg1.c_str()); + return arg1; +} +DataObjectPtr TestImpl::interop07(DataObjectPtr arg1) +{ + printf("TestImpl::interop07 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop07")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop08(DataObjectPtr arg1) +{ + printf("TestImpl::interop08 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop08")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop09(DataObjectPtr arg1) +{ + printf("TestImpl::interop09 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop09")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop10(DataObjectPtr arg1) +{ + printf("TestImpl::interop10 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop10")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop11(DataObjectPtr arg1) +{ + printf("TestImpl::interop11 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop11")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop12(DataObjectPtr arg1) +{ + printf("TestImpl::interop12 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop12")) + { + return arg1; + } + return NULL; +} +// DataObjectPtr TestImpl::interop13(DataObjectPtr arg1) +// { +// printf("TestImpl::interop13 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +DataObjectPtr TestImpl::interop14(DataObjectPtr arg1) +{ + printf("TestImpl::interop14 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop14")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop15(DataObjectPtr arg1) +{ + printf("TestImpl::interop15 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop15")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop16(DataObjectPtr arg1) +{ + printf("TestImpl::interop16 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop16")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop17(DataObjectPtr arg1) +{ + printf("TestImpl::interop17 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop17")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop18(DataObjectPtr arg1) +{ + printf("TestImpl::interop18 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop18")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop19(DataObjectPtr arg1) +{ + printf("TestImpl::interop19 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop19")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop20(DataObjectPtr arg1) +{ + printf("TestImpl::interop20 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop20")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop21(DataObjectPtr arg1) +{ + printf("TestImpl::interop21 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop21")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop22(DataObjectPtr arg1) +{ + printf("TestImpl::interop22 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop22")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop23(DataObjectPtr arg1) +{ + printf("TestImpl::interop23 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop23")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop24(DataObjectPtr arg1) +{ + printf("TestImpl::interop24 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop24")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop25(DataObjectPtr arg1) +{ + printf("TestImpl::interop25 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop25")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop26(DataObjectPtr arg1) +{ + printf("TestImpl::interop26 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop26")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop27(DataObjectPtr arg1) +{ + printf("TestImpl::interop27 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop27")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop28(DataObjectPtr arg1) +{ + printf("TestImpl::interop28 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop28")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop29(DataObjectPtr arg1) +{ + printf("TestImpl::interop29 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop29")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop30(DataObjectPtr arg1) +{ + printf("TestImpl::interop30 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop30")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop31(DataObjectPtr arg1) +{ + printf("TestImpl::interop31 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop31")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop32(DataObjectPtr arg1) +{ + printf("TestImpl::interop32 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop32")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop33(DataObjectPtr arg1) +{ + printf("TestImpl::interop33 %s\n", arg1->getType().getURI()); + bool result = compareWithFile(arg1, "interop33"); + if(result) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop34(DataObjectPtr arg1) +{ + printf("TestImpl::interop34 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop34")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop35(DataObjectPtr arg1) +{ + printf("TestImpl::interop35 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop35")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop36(DataObjectPtr arg1) +{ + printf("TestImpl::interop36 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop36")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop37(DataObjectPtr arg1) +{ + printf("TestImpl::interop37 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop37")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop38(DataObjectPtr arg1) +{ + printf("TestImpl::interop38 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop38")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop39(DataObjectPtr arg1) +{ + printf("TestImpl::interop39 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop39")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop40(DataObjectPtr arg1) +{ + printf("TestImpl::interop40 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop40")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop41(DataObjectPtr arg1) +{ + printf("TestImpl::interop41 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop41")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop42(DataObjectPtr arg1) +{ + printf("TestImpl::interop42 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop42")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop43(DataObjectPtr arg1) +{ + printf("TestImpl::interop43 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop43")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop44(DataObjectPtr arg1) +{ + printf("TestImpl::interop44 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop44")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop45(DataObjectPtr arg1) +{ + printf("TestImpl::interop45 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop45")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop46(DataObjectPtr arg1) +{ + printf("TestImpl::interop46 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop46")) + { + return arg1; + } + return NULL; +} +DataObjectPtr TestImpl::interop47(DataObjectPtr arg1) +{ + printf("TestImpl::interop47 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop47")) + { + return arg1; + } + return NULL; +} +// DataObjectPtr TestImpl::interop48(DataObjectPtr arg1) +// { +// printf("TestImpl::interop48 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +// DataObjectPtr TestImpl::interop49(DataObjectPtr arg1) +// { +// printf("TestImpl::interop49 %s\n", arg1->getType().getURI()); +// Utils::printDO(arg1); +// return arg1; +// } +DataObjectPtr TestImpl::interop50(DataObjectPtr arg1) +{ + printf("TestImpl::interop50 %s\n", arg1->getType().getURI()); + if(compareWithFile(arg1, "interop50")) + { + return arg1; + } + return NULL; +} diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h new file mode 100644 index 0000000000..2f4f57e475 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/TestImpl.h @@ -0,0 +1,84 @@ +/* ++----------------------------------------------------------------------+ +| | +| 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. | ++----------------------------------------------------------------------+ +*/ + +#ifndef TESTIMPL_H +#define TESTIMPL_H + +#include "Test.h" + +class TestImpl : public Test +{ +public: + TestImpl(); + virtual ~TestImpl(); + + // Test interface + virtual DataObjectPtr interop01(DataObjectPtr arg1); + virtual DataObjectPtr interop02(DataObjectPtr arg1); + virtual DataObjectPtr interop03(DataObjectPtr arg1); + virtual DataObjectPtr interop04(DataObjectPtr arg1); + virtual DataObjectPtr interop05(DataObjectPtr arg1); + virtual string interop06(string arg1); + virtual DataObjectPtr interop07(DataObjectPtr arg1); + virtual DataObjectPtr interop08(DataObjectPtr arg1); + virtual DataObjectPtr interop09(DataObjectPtr arg1); + virtual DataObjectPtr interop10(DataObjectPtr arg1); + virtual DataObjectPtr interop11(DataObjectPtr arg1); + virtual DataObjectPtr interop12(DataObjectPtr arg1); + //virtual DataObjectPtr interop13(DataObjectPtr arg1); + virtual DataObjectPtr interop14(DataObjectPtr arg1); + virtual DataObjectPtr interop15(DataObjectPtr arg1); + virtual DataObjectPtr interop16(DataObjectPtr arg1); + virtual DataObjectPtr interop17(DataObjectPtr arg1); + virtual DataObjectPtr interop18(DataObjectPtr arg1); + virtual DataObjectPtr interop19(DataObjectPtr arg1); + virtual DataObjectPtr interop20(DataObjectPtr arg1); + virtual DataObjectPtr interop21(DataObjectPtr arg1); + virtual DataObjectPtr interop22(DataObjectPtr arg1); + virtual DataObjectPtr interop23(DataObjectPtr arg1); + virtual DataObjectPtr interop24(DataObjectPtr arg1); + virtual DataObjectPtr interop25(DataObjectPtr arg1); + virtual DataObjectPtr interop26(DataObjectPtr arg1); + virtual DataObjectPtr interop27(DataObjectPtr arg1); + virtual DataObjectPtr interop28(DataObjectPtr arg1); + virtual DataObjectPtr interop29(DataObjectPtr arg1); + virtual DataObjectPtr interop30(DataObjectPtr arg1); + virtual DataObjectPtr interop31(DataObjectPtr arg1); + virtual DataObjectPtr interop32(DataObjectPtr arg1); + virtual DataObjectPtr interop33(DataObjectPtr arg1); + virtual DataObjectPtr interop34(DataObjectPtr arg1); + virtual DataObjectPtr interop35(DataObjectPtr arg1); + virtual DataObjectPtr interop36(DataObjectPtr arg1); + virtual DataObjectPtr interop37(DataObjectPtr arg1); + virtual DataObjectPtr interop38(DataObjectPtr arg1); + virtual DataObjectPtr interop39(DataObjectPtr arg1); + virtual DataObjectPtr interop40(DataObjectPtr arg1); + virtual DataObjectPtr interop41(DataObjectPtr arg1); + virtual DataObjectPtr interop42(DataObjectPtr arg1); + virtual DataObjectPtr interop43(DataObjectPtr arg1); + virtual DataObjectPtr interop44(DataObjectPtr arg1); + virtual DataObjectPtr interop45(DataObjectPtr arg1); + virtual DataObjectPtr interop46(DataObjectPtr arg1); + virtual DataObjectPtr interop47(DataObjectPtr arg1); + //virtual DataObjectPtr interop48(DataObjectPtr arg1); + //virtual DataObjectPtr interop49(DataObjectPtr arg1); + virtual DataObjectPtr interop50(DataObjectPtr arg1); +private: + virtual bool compareWithFile(DataObjectPtr arg1, string test); +}; + +#endif + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat new file mode 100644 index 0000000000..804688fc56 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.bat @@ -0,0 +1,49 @@ +@echo off + +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. + +setlocal + +if "%TUSCANY_SCACPP%" == "" ( +echo "TUSCANY_SCACPP not set" +goto end +) +echo using SCA installed at %TUSCANY_SCACPP% + +if "%TUSCANY_SDOCPP%" == "" ( +echo "TUSCANY_SDOCPP not set" +goto end +) +echo using SDO installed at %TUSCANY_SDOCPP% + +if "%AXIS2C_HOME%" == "" ( +echo "AXIS2C_HOME not set" +goto end +) +echo using Axis2C installed at %AXIS2C_HOME% + +set TUSCANY_SCACPP_SYSTEM_ROOT=%~d0%~p0\..\ +set TUSCANY_SCACPP_DEFAULT_COMPONENT=ws.service.interop.solution.component + +set PATH=%TUSCANY_SCACPP%\bin;%TUSCANY_SCACPP%\extensions\cpp\bin;%TUSCANY_SDOCPP%\bin;%AXIS2C_HOME%\lib;%PATH% + +cd %AXIS2C_HOME%\bin +.\axis2_http_server.exe + +:end +endlocal diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh new file mode 100755 index 0000000000..ec0a75188b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/runwsserver.sh @@ -0,0 +1,49 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + +APFULLDIR=`pwd` + +if [ x$TUSCANY_SCACPP = x ]; then +echo "TUSCANY_SCACPP not set" +exit; +fi +echo "Using SCA installed at $TUSCANY_SCACPP" + +if [ x$TUSCANY_SDOCPP = x ]; then +echo "TUSCANY_SDOCPP not set" +exit; +fi +echo "Using SDO installed at $TUSCANY_SDOCPP" + +if [ x$AXIS2C_HOME = x ]; then +echo "AXIS2C_HOME not set" +exit; +fi +echo "Using Axis2C installed at $AXIS2C_HOME" + +TEST_SYSTEM=$APFULLDIR/../ + +export LD_LIBRARY_PATH=$TUSCANY_SCACPP/lib:$TUSCANY_SCACPP/extensions/cpp/lib:$TUSCANY_SDOCPP/lib:$AXIS2C_HOME/lib:$LD_LIBRARY_PATH + +export TUSCANY_SCACPP_SYSTEM_ROOT=$TEST_SYSTEM +export TUSCANY_SCACPP_DEFAULT_COMPONENT=ws.service.interop.solution.component + +cd $AXIS2C_HOME/bin +./axis2_http_server diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite new file mode 100644 index 0000000000..997aebfdc0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.composite @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + name="ws.service.interop"> + + <!-- Expose as a web service --> + <service name="ws.service"> + <interface.wsdl interface="http://www.apache.org/tuscany/interop#wsdl.interface(interop)"/> + <binding.ws/> + <reference>ws.service.interop.component/TestService</reference> + </service> + + + <component name="ws.service.interop.component"> + <implementation.cpp library="ws_service_interop" header="TestImpl.h"/> + </component> +</composite> diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite new file mode 100644 index 0000000000..4a47d431a8 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.solution.composite @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. + --> + +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + name="ws.service.interop.solution"> + + + <component name="ws.service.interop.solution.component"> + <implementation.composite name="ws.service.interop" /> + </component> + +</composite> + diff --git a/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj new file mode 100644 index 0000000000..57749e2b40 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/ws.service.interop/ws.service.interop.vcproj @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="ws.service.interop"
+ ProjectGUID="{25B65303-B2E2-47AF-968C-89D9E58611F8}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="$(TUSCANY_SCACPP)/include,$(TUSCANY_SCACPP)/extensions/cpp/include,$(TUSCANY_SDOCPP)/include,$(AXIS2C_HOME)/include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="tuscany_sca.lib tuscany_sdo.lib tuscany_sca_cpp.lib axiom.lib tuscany_sdo_axiom.lib axis2_util.lib"
+ OutputFile="$(OutDir)/ws_service_interop.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="$(TUSCANY_SCACPP)/lib,$(TUSCANY_SCACPP)/extensions/cpp/lib,$(TUSCANY_SDOCPP)/lib,$(AXIS2C_HOME)/lib"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/service.ws.binding.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"
+ CommandLine="$(TUSCANY_SCACPP)/bin/scagen.bat -dir . -output . -verbose"
+ ExcludedFromBuild="FALSE"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="4"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/service.ws.binding.exe"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath=".\TestImpl.cpp">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Proxy.cpp">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Wrapper.cpp">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ <File
+ RelativePath=".\Test.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Proxy.h">
+ </File>
+ <File
+ RelativePath=".\TestImpl_TestService_Wrapper.h">
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ <File
+ RelativePath=".\runwsserver.bat">
+ </File>
+ <File
+ RelativePath=".\runwsserver.sh">
+ </File>
+ <File
+ RelativePath=".\TestImpl.componentType">
+ </File>
+ <File
+ RelativePath=".\ws.service.interop.composite">
+ </File>
+ <File
+ RelativePath=".\ws.service.interop.solution.composite">
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
|