1

2Service Component Architecture Client 3and Implementation Model for C Test 4Cases Version 1.1

5Committee Draft 02

614 October 2010

7Specification URIs: 8This Version: 9 http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases-cd02.html 10 http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases-cd02.doc http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases-cd02.pdf (Authoritative) 11Previous Version: 12 http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases-cd01.html 13 http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases-cd01.doc http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases-cd01.pdf (Authoritative) 14Latest Version: 15 http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases.html 16 http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases.doc http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases.pdf (Authoritative) 17Technical Committee: 18 OASIS Service Component Architecture / C and C++ (SCA-C-C++) TC 19Chair: 20 Bryan Aupperle, IBM 21Editors: 22 Bryan Aupperle, IBM 23 David Haney 24 Pete Robbins, IBM 25Related work: 26 The Test Suite artifacts relating to this document can be found here: 27  http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-testcases-cd02.zip 28 This document is related to: 29  SCA Client and Implementation Model for C Specification Version 1.1 30Declared XML Namespaces: 31 http://docs.oasis-open.org/ns/opencsa/scatests/200903 32 http://docs.oasis-open.org/ns/opencsa/scatests/2009032 33 http://test.sca.oasisopen.org/

1sca-ccni-1.1-testcases-cd02 14 October 2010 2Copyright © OASIS® 2010. All Rights Reserved. Page 1 of 85 34Abstract: 35 This document defines the TestCases for the SCA C Client and Implementation Model 36 specification. 37 38 The Test Cases represent a series of tests that an SCA implementation must pass in order to 39 claim conformance to the requirements of the SCA C Client and Implementation Model 40 specification. 41Status: 42 This document was last revised or approved by the Service Component Architecture / C and C++ 43 TC on the above date. The level of approval is also listed above. Check the “Latest Version” or 44 “Latest Approved Version” location noted above for possible later revisions of this document. 45 Technical Committee members should send comments on this specification to the Technical 46 Committee’s email list. Others should send comments to the Technical Committee by using the 47 “Send A Comment” button on the Technical Committee’s web page at http://www.oasis- 48 open.org/committees/sca-c-cpp/. 49 For information on whether any patents have been disclosed that may be essential to 50 implementing this specification, and any offers of patent licensing terms, please refer to the 51 Intellectual Property Rights section of the Technical Committee web page (http://www.oasis- 52 open.org/committees/sca-c-cpp/ipr.php). 53 The non-normative errata page for this specification is located at http://www.oasis- 54 open.org/committees/sca-c-cpp/.

4sca-ccni-1.1-testcases-cd02 14 October 2010 5Copyright © OASIS® 2010. All Rights Reserved. Page 2 of 85 55Notices

56Copyright © OASIS® 2010. All Rights Reserved. 57All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual 58Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website. 59This document and translations of it may be copied and furnished to others, and derivative works that 60comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, 61and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice 62and this section are included on all such copies and derivative works. However, this document itself may 63not be modified in any way, including by removing the copyright notice or references to OASIS, except as 64needed for the purpose of developing any document or deliverable produced by an OASIS Technical 65Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must 66be followed) or as required to translate it into languages other than English. 67The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors 68or assigns. 69This document and the information contained herein is provided on an "AS IS" basis and OASIS 70DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY 71WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY 72OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A 73PARTICULAR PURPOSE. 74OASIS requests that any OASIS Party or any other party that believes it has patent claims that would 75necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, 76to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to 77such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that 78produced this specification. 79OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of 80any patent claims that would necessarily be infringed by implementations of this specification by a patent 81holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR 82Mode of the OASIS Technical Committee that produced this specification. OASIS may include such 83claims on its website, but disclaims any obligation to do so. 84OASIS takes no position regarding the validity or scope of any intellectual property or other rights that 85might be claimed to pertain to the implementation or use of the technology described in this document or 86the extent to which any license under such rights might or might not be available; neither does it represent 87that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to 88rights in any document or deliverable produced by an OASIS Technical Committee can be found on the 89OASIS website. Copies of claims of rights made available for publication and any assurances of licenses 90to be made available, or the result of an attempt made to obtain a general license or permission for the 91use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS 92Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any 93information or list of intellectual property rights will at any time be complete, or that any claims in such list 94are, in fact, Essential Claims. 95The name "OASIS" is a trademark of OASIS, the owner and developer of this specification, and should be 96used only to refer to the organization and its official outputs. OASIS welcomes reference to, and 97implementation and use of, specifications, while reserving the right to enforce its marks against 98misleading uses. Please see http://www.oasis-open.org/who/trademark.php for above guidance. 99

7sca-ccni-1.1-testcases-cd02 14 October 2010 8Copyright © OASIS® 2010. All Rights Reserved. Page 3 of 85 100Table of Contents

1011 Introduction...... 5 102 1.1 Namespaces...... 5 103 1.1.1 SCA Artifact Namespaces...... 5 104 1.1.2 WSDL Namespace...... 5 105 1.2 Terminology...... 5 106 1.3 Normative References...... 5 107 1.4 Non-Normative References...... 5 1082 Test Cases for Base Functionality...... 6 109 2.1 Section 2...... 6 110 2.2 Section 4...... 10 111 2.3 Section 6...... 11 112 2.4 Section 7...... 16 113 2.5 Section 8...... 17 114 2.6 Section 9...... 18 115 2.7 Section 10...... 24 116 2.8 Appendix F...... 27 1173 Test Cases for Program-Based Component Implementation Support...... 31 118 3.1 Section 2...... 31 119 3.2 Section 6...... 32 120 3.3 Section 8...... 35 121 3.4 Section 9...... 35 1224 Test Cases for Proxy Function Support...... 39 123 4.1 Section 3...... 39 1245 Test Cases for Annotation Support...... 42 125 5.1 Appendix A...... 42 126 5.2 Appendix B...... 47 127 5.3 Appendix C...... 48 128 5.4 Appendix F...... 53 129 5.5 Assembly...... 53 1306 Test Cases for Annotations and Program-Based Component Implementation Support...... 55 131 6.1 Appendix A...... 55 1327 Test Cases for WSDL Extension Support...... 57 133 7.1 Appendix D...... 57 1348 Cross Mapping of Test Assertions to Test Cases...... 64 1359 Catalog of Test Artifacts...... 70 136 9.1 C Interfaces...... 70 137 9.2 C Implementations...... 73 13810 Conformance...... 81 139A. Acknowledgements...... 82 140B. Revision History...... 83 141 142

10sca-ccni-1.1-testcases-cd02 14 October 2010 11Copyright © OASIS® 2010. All Rights Reserved. Page 4 of 85 143A Introduction 144This document defines the Test Cases for the SCA Client and Implementation Model for C specification 145[SCA-C]. 146The tests described in this document are related to the Test Assertions described in SCA Client and 147Implementation Model for C Test Assertions [SCA-C-TA]. 148The test cases are structured in the same manner as the testcases for the SCA Assembly specification as 149described in the SCA Assembly testcases document [SCA-TC].

150A.1 Namespaces 151The SCA C test case suite makes use of a set of XML namespaces.

152A.1.1 SCA Artifact Namespaces 153These apply to artifacts such as Composites 154http://docs.oasis-open.org/ns/opencsa/scatests/200903 155http://docs.oasis-open.org/ns/opencsa/scatests/2009032

156A.1.2 WSDL Namespace 157http://test.sca.oasisopen.org/

158A.2 Terminology 159The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD 160NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described 161in [RFC2119].

162A.3 Normative References 163 [RFC2119] S. Bradner, Key words for use in RFCs to Indicate Requirement Levels, 164 http://www.ietf.org/rfc/rfc2119.txt, IETF RFC 2119, March 1997. 165 [SCA-C] OASIS Committee Draft 06, Service Component Architecture Client and 166 Implementation Model for C Specification Version 1.1, October 2010. 167 http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-spec-cd06.pdf 168 [SCA-C-TA] OASIS Committee Draft 02, Service Component Architecture Client and 169 Implementation Model for C Test Assertions Version 1.1, October 2010. 170 http://docs.oasis-open.org/opencsa/sca-c-cpp/sca-ccni-1.1-test-assertions- 171 cd02.pdf 172 [SCA-ASM-TA] OASIS Committee Draft 03, Test Assertions for the SCA Assembly Model 173 Version 1.1 Specification, August 2010. http://docs.oasis-open.org/opencsa/sca- 174 assembly/sca-assembly-1.1-test-assertions-cd03.pdf

175A.4 Non-Normative References 176 [SCA-TC] OASIS Committee Draft 03, Testcases for the SCA Assembly Specification 177 Version 1.1, June 2010. http://docs.oasis-open.org/sca-assembly/sca-assembly- 178 1.1-testcases-cd02.pdfhttp://docs.oasis-open.org/opencsa/sca-assembly/sca- 179 assembly-1.1-testcases-cd02.pdf 180

13sca-ccni-1.1-testcases-cd02 14 October 2010 14Copyright © OASIS® 2010. All Rights Reserved. Page 5 of 85 181B Test Cases for Base Functionality

182B.1 Section 2

Test Case ID C_2001_TestCase Test Assertion C-TA-2001 Description Tests that all functions of a service interface of a component are implemented by the component implementation. Artifacts C_2001_TestCase.java Test_C_2001.composite TestInvocation.h C_0002_Client.c C_0002_Client.componentType Service1Superset.h Service1SupersetImpl2.c Service1SupersetImpl2.componentType Expected output Negative test: “exception”

Expected output Positive test: “C_2003 request service1 operation1 invoked service2 operation 1 invoked aservice2 operation 1 invoked a”

183 Test Case ID C_2004_TestCase Test Assertion C-TA-2003 Description Tests that lifecycle functions have no parameters and a void return type. Artifacts C_2004_TestCase.java Test_C_2004.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl14.c Service1Impl14.componentType Expected output Negative test: “exception”

184 Test Case ID C_2005_TestCase 16sca-ccni-1.1-testcases-cd02 14 October 2010 17Copyright © OASIS® 2010. All Rights Reserved. Page 6 of 85 Test Assertion C-TA-2007 Description Tests that functions excluded from a service interface cannot be invoked. Artifacts C_2005_TestCase.java Test_C_2005.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service11.h Service1Impl15.c Service1Impl15.componentType Service11Impl.c Service11Impl.componentType Expected output Positive test: “C_2005 request Test service got an error during execution: Incorrect parameter value”

185 Test Case ID C_2006_TestCase Test Assertion C-TA-2008 Description Tests that functions excluded from a callback interface cannot be invoked. Artifacts C_2006_TestCase.java Test_C_2006.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Callback12Impl.c Service1Callback12Impl.componentType Service12.h Service12Impl.c Service12Impl.componentType Expected output Positive test: “C_2006 request service1 operation1 invoked Test service got an error during execution: Incorrect parameter value”

186 Test Case ID C_2007_TestCase Test Assertion C-TA-2011

19sca-ccni-1.1-testcases-cd02 14 October 2010 20Copyright © OASIS® 2010. All Rights Reserved. Page 7 of 85 Description Tests that each function explicitly identified in a c interface is uniquely named. Artifacts C_2007_TestCase.java Test_C_2007.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service11.h Service1Impl15.c Service1Impl15.componentType Service11Impl.c Service11Impl.componentType Expected output Negative test: “exception”

187 Test Case ID C_2008_TestCase Test Assertion C-TA-2012 Description Tests that each function explicitly identified in a c callback interface is uniquely named. Artifacts C_2008_TestCase.java Test_C_2008.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Callback12Impl.c Service1Callback12Impl.componentType Service12.h Service12.Callbackh Service12Impl.c Service12Impl.componentType Expected output Negative test: “exception”

188 Test Case ID C_2009_TestCase Test Assertion C-TA-2017 Description Tests that each function explicitly identified in a c implementation is uniquely named. Artifacts C_2009_TestCase.java

22sca-ccni-1.1-testcases-cd02 14 October 2010 23Copyright © OASIS® 2010. All Rights Reserved. Page 8 of 85 Test_C_2009.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl15.c Service1Impl15.componentType Expected output Negative test: “exception”

189 Test Case ID C_2012_TestCase Test Assertion C-TA-2019 Description Tests that where one component is a client of a service provided by a second component, both with C implementations and which both run in the same address space, but the service implementation methods are not marked "allows pass by reference" that invocations of the service use "pass by value" semantics. Artifacts C_2012_TestCase.java Test_C_2012.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service4.h Service1Impl7.c Service1Impl7.componentType Service4Impl.c Service4Impl.componentType Expected output Positive test: “C_2012 request service1 operation1 invoked service2 operation1 invoked request+1”

190 Test Case ID C_2013_TestCase Test Assertion C-TA-2019 Description Tests that where one component is a client of a service provided by a second component, both with C implementations and which both run in the same address space, with the service implementation methods are marked "allows pass by reference" but the client implementation is not marked "allows pass by reference" that invocations of the service use "pass by value" semantics. Artifacts C_2013_TestCase.java Test_C_2013.composite

25sca-ccni-1.1-testcases-cd02 14 October 2010 26Copyright © OASIS® 2010. All Rights Reserved. Page 9 of 85 TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service4.h Service1Impl7.c Service1Impl7.componentType Service4Impl.c Service4Impl.componentType Expected output Positive test: “C_2013 request service1 operation1 invoked service2 operation1 invoked request+1”

191 Test Case ID C_2014_TestCase Test Assertion C-TA-2006 Description Tests that a runtime does no synchronization of component invocations. Artifacts C_2014_TestCase.java Test_C_2014.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl56.c Service1Impl56.componentType Service1Impl57.c Service1Impl57.componentType Expected output Positive test: “C_2014 request service1 operation1 invoked service2 operation1 invoked b”

192B.2 Section 4

Test Case ID C_4001_TestCase Test Assertion C-TA-4001 Description Tests that the OneWay MEP is not rejected. Artifacts C_4001_TestCase.java Test_C_4001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType

28sca-ccni-1.1-testcases-cd02 14 October 2010 29Copyright © OASIS® 2010. All Rights Reserved. Page 10 of 85 Service1.h Service24OW.h Service24OW.wsdl Service1Impl29OW.c Service1Impl29OW.componentType Service24Impl.c Service24ImplOW.componentType Expected output Positive test: “C_4001 request service1 operation1 invoked service2 operation1 invoked”

193B.3 Section 6

Test Case ID C_6001_TestCase Test Assertion N/A – API Testing Description Tests that property values can be retrieved as integral types. Artifacts C_6001_TestCase.java Test_C_6001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl18.c Service1Impl18.componentType Expected output Positive test: “C_6001 request service1 operation1 invoked 1 22 333 4444 1A2B3C4D”

194 Test Case ID C_6002_TestCase Test Assertion N/A – API Testing Description Tests that property values can be retrieved as boolean and floating-point types. Artifacts C_6002_TestCase.java Test_C_6002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl19.c Service1Impl19.componentType Expected output Positive test:

31sca-ccni-1.1-testcases-cd02 14 October 2010 32Copyright © OASIS® 2010. All Rights Reserved. Page 11 of 85 “C_6002 request service1 operation1 invoked True 1.2 33.44”

195 Test Case ID C_6003_TestCase Test Assertion N/A – API Testing Description Tests that property values can be retrieved as character types. Artifacts C_6003_TestCase.java Test_C_6003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl20.c Service1Impl20.componentType Expected output Positive test: “C_6003 request service1 operation1 invoked WideS C W abcde ABCDE”

196 Test Case ID C_6004_TestCase Test Assertion N/A – API Testing Description Tests that property values can be retrieved as struct types. Artifacts C_6004_TestCase.java Test_C_6004.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl21.c Service1Impl21.componentType Expected output Positive test: “C_6004 request service1 operation1 invoked complex1 complex2”

197 Test Case ID C_6005_TestCase Test Assertion N/A – API Testing Description Tests that truncated response data is detected and retrievable via SCAGetReplyMessage. Artifacts C_6005_TestCase.java Test_C_6005.composite

34sca-ccni-1.1-testcases-cd02 14 October 2010 35Copyright © OASIS® 2010. All Rights Reserved. Page 12 of 85 TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl22.c Service1Impl22.componentType Expected output Positive test: “C_6005 request service1 operation1 invoked operation1 invoked”

198 Test Case ID C_6006_TestCase Test Assertion N/A – API Testing Description Tests that a component can access its own services using SCASelf. Artifacts C_6006_TestCase.java Test_C_6006.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service16.h Service1_16Impl.c Service1_16Impl.componentType Expected output Positive test: “C_6006 request service1 operation1 invoked operation2 invoked”

199 Test Case ID C_6007_TestCase Test Assertion N/A – API Testing Description Tests that fault information is retrievable via SCAGetFaultMessage. Artifacts C_6007_TestCase.java Test_C_6007.composite TestInvocation.h C_0004_Client.c C_0004_Client.componentType Service17.h Service17Impl.c Service17Impl.componentType Expected output Positive test: “exception”

37sca-ccni-1.1-testcases-cd02 14 October 2010 38Copyright © OASIS® 2010. All Rights Reserved. Page 13 of 85 200 Test Case ID C_6008_TestCase Test Assertion N/A – API Testing Description Tests that multi-valued property values can be retrieved. Artifacts C_6008_TestCase.java Test_C_6008.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl32.c Service1Impl32.componentType Expected output Positive test: “C_6008 request service1 operation1 invoked 111 222”

201 Test Case ID C_6015_TestCase Test Assertion N/A – API Testing Description Tests that all instances of a multiplicity 1..n reference are called. Artifacts C_6015_TestCase.java Test_C_6015.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl.c Service1Impl.componentType Service1Impl3.c Service1Impl3.componentType Expected output Positive test: “C_6015 request service1 operation1 invoked service2 operation1 invoked service2 operation1 invoked service4 operation1 invoked”

202 Test Case ID C_6016_TestCase Test Assertion N/A – API Testing Description Tests that SCAInvokeAsync can be used with an interface marked requires="asyncInvocation". Artifacts C_6016_TestCase.java

40sca-ccni-1.1-testcases-cd02 14 October 2010 41Copyright © OASIS® 2010. All Rights Reserved. Page 14 of 85 Test_C_6016.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service46.h Service1Impl53.c Service1Impl53.componentType Service46Impl.c Service46Impl.componentType Expected output Positive test: “C_6016 request service1 operation1 invoked operation2 invoked”

203 Test Case ID C_6017_TestCase Test Assertion N/A – API Testing Description Tests that SCAInvokePoll can be used with an interface marked requires="asyncInvocation". Artifacts C_6017_TestCase.java Test_C_6017.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service46.h Service1Impl54.c Service1Impl54.componentType Service46Impl.c Service46Impl.componentType Expected output Positive test: “C_6017 request service1 operation1 invoked operation2 invoked”

204 Test Case ID C_6018_TestCase Test Assertion N/A – API Testing Description Tests that SCAInvokePoll can be canceled with SCACancelAsync. Artifacts C_6018_TestCase.java Test_C_6018.composite TestInvocation.h C_0001_Client.c

43sca-ccni-1.1-testcases-cd02 14 October 2010 44Copyright © OASIS® 2010. All Rights Reserved. Page 15 of 85 C_0001_Client.componentType Service1.h Service46.h Service1Impl55.c Service1Impl55.componentType Service46Impl.c Service46Impl.componentType Expected output Positive test: “C_6018 request service1 operation1 invoked”

205 Test Case ID C_6020_TestCase Test Assertion N/A – API Testing Description Tests that functions excluded from a callback interface cannot be invoked. Artifacts C_6020_TestCase.java Test_C_6020.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Callback47Impl.c Service1Callback47Impl.componentType Service47.h Service47Callback.h Service47Impl.c Service47Impl.componentType Expected output Positive test: “C_6020 request service1 operation1 invoked service2 operation1 invoked service1 callback1 invoked”

206B.4 Section 7

Test Case ID C_7001_TestCase Test Assertion C-TA-7001 Description Tests elements have unique names within a domain. Artifacts C_7001_TestCase.java Test_C_7001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType

46sca-ccni-1.1-testcases-cd02 14 October 2010 47Copyright © OASIS® 2010. All Rights Reserved. Page 16 of 85 Service1.h Service4.h Service1Impl7.c Service1Impl7.componentType Service4Impl.c Service4Impl.componentType Expected output Negative test: “exception”

207 Test Case ID C_7002_TestCase Test Assertion C-TA-7002 Description Tests elements have unique names within a contribution. Artifacts C_7002_TestCase.java Test_C_7002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service4.h Service1Impl7.c Service1Impl7.componentType Service4Impl.c Service4Impl.componentType Expected output Negative test: “exception”

208B.5 Section 8

Test Case ID C_8001_TestCase Test Assertion C-TA-8001 Description Tests that macros and typedefs are processed when testing interface compatibility. Artifacts C_8001_TestCase.java Test_C_8001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service15.h Service15Exp.h

49sca-ccni-1.1-testcases-cd02 14 October 2010 50Copyright © OASIS® 2010. All Rights Reserved. Page 17 of 85 Service1Impl16.c Service1Impl16.componentType Service15Impl.c Service15Impl.componentType Expected output Positive test: “C_8001 request service1 operation1 invoked service1 operation 1”

209 Test Case ID C_8002_TestCase Test Assertion C-TA-8002 Description Tests that unions are not allowed in remotable interfaces. Artifacts C_8002_TestCase.java Test_C_8002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl17.c Service1Impl17.componentType Service16Impl.c Service16Impl.componentType Expected output Negative test: “exception”

210 Test Case ID C_8003_TestCase Test Assertion C-TA-8003 Description Tests that a header file used to define a service interface contains function declarations. Artifacts C_8003_TestCase.java Test_C_8003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl15.c Service1Impl15.componentType Service13Impl.c Service13Impl.componentType Expected output Negative test:

52sca-ccni-1.1-testcases-cd02 14 October 2010 53Copyright © OASIS® 2010. All Rights Reserved. Page 18 of 85 “exception”

211B.6 Section 9

Test Case ID C_10001_TestCase Test Assertion C-TA-10012, C-TA-10013, C-TA-10015, C-TA-10017, C-TA-10018, C-TA-10023, C- TA-F022, C-TA-F030, C-TA-F031, C-TA-F032 Description Tests that the core default mapping of C to WSDL is correct. Artifacts C_10001_TestCase.java Test_C_10001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.wsdl Service1.h Service1Impl.c Service1Impl.componentType Expected output Positive test: “C_10001 request service1 operation1 invoked”

212 Test Case ID C_10003_TestCase Test Assertion C-TA-10016 Description Tests the mapping of C unnamed parameters to WSDL. Artifacts C_10003_TestCase.java Test_C_10003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service18.h Service18.wsdl Service1Impl23.c Service1Impl23.componentType Service18Impl.c Service18Impl.componentType Expected output Positive test: “C_10003 request service1 operation1 invoked service2 operation1 invoked”

213 Test Case ID C_10004_TestCase 55sca-ccni-1.1-testcases-cd02 14 October 2010 56Copyright © OASIS® 2010. All Rights Reserved. Page 19 of 85 Test Assertion C-TA-10018 Description Tests the mapping of C parameter passing styles to WSDL. Artifacts C_10004_TestCase.java Test_C_10004.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service19.h Service19.wsdl Service1Impl24.c Service1Impl24.componentType Service19Impl.c Service19Impl.componentType Expected output Positive test: “C_10004 request service1 operation1 invoked service2 operation1 invoked”

214 Test Case ID C_10006_TestCase Test Assertion C-TA-10023 Description Tests the mapping of C types to WSDL. Artifacts C_10006_TestCase.java Test_C_10006.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service21.h Service21.wsdl Service1Impl26.c Service1Impl26.componentType Service21Impl.c Service21Impl.componentType Expected output Positive test: “C_10006 request service1 operation1 invoked service2 operation1 invoked”

215 Test Case ID C_10007_TestCase Test Assertion C-TA-10025 58sca-ccni-1.1-testcases-cd02 14 October 2010 59Copyright © OASIS® 2010. All Rights Reserved. Page 20 of 85 Description Tests the mapping of C structs to WSDL. Artifacts C_10007_TestCase.java Test_C_10007.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service22.h Service22.wsdl Service1Impl27.c Service1Impl27.componentType Service22Impl.c Service22Impl.componentType Expected output Positive test: “C_10007 request service1 operation1 invoked service2 operation1 invoked”

216 Test Case ID C_10009_TestCase Test Assertion C-TA-10030 Description Tests the core default mapping of an unannotated header to WSDL is correct. Artifacts C_10009_TestCase.java Test_C_10009.composite TestInvocation.h C_0001_ClientNA.c C_0001_ClientNA.componentType Service1.wsdl Service1NA.h Service1Impl.c Service1ImplNA.componentType Expected output Positive test: “C_10009 request service1 operation1 invoked”

217 Test Case ID C_10010_TestCase Test Assertion C-TA-10002, C-TA-10006, C-TA-10029, C-TA-F001, C-TA-F002, C-TA-F005, C-TA- F006, C-TA-F007, C-TA-F010, C-TA-F011, C-TA-F018 Description Tests that the core default mapping of WSDL to C is correct. Artifacts C_10010_TestCase.java

61sca-ccni-1.1-testcases-cd02 14 October 2010 62Copyright © OASIS® 2010. All Rights Reserved. Page 21 of 85 Test_C_10010.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.wsdl Service1.h (system under test generated) Service1Impl.c Service1Impl.componentType Expected output Positive test: “C_10010 request service1 operation1 invoked”

218 Test Case ID C_10011_TestCase Test Assertion C-TA-10004, C-TA-F012 Description Tests that the mapping of WSDL unwrapped parameters to C is correct. Artifacts C_10011_TestCase.java Test_C_10011.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1U.wsdl Service1U.h (system under test generated) Service1ImplU.c Service1ImplU.componentType Expected output Positive test: “C_10011 request service1 operation1 invoked”

219 Test Case ID C_10012_TestCase Test Assertion C-TA-10010, C-TA-F015 Description Tests the mapping of WSDL faults to C. Artifacts C_10012_TestCase.java Test_C_10012.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h (previously system under test generated) Service1.wsdl Service31.h (system under test generated) Service31.wsdl

64sca-ccni-1.1-testcases-cd02 14 October 2010 65Copyright © OASIS® 2010. All Rights Reserved. Page 22 of 85 Service1Impl39.c Service1Impl39.componentType Service31Impl.c Service31Impl.componentType Expected output Positive test: “C_10012 request service1 operation1 invoked service2 operation1 invoked”

220 Test Case ID C_10013_TestCase Test Assertion C-TA-10008 Description Tests the default mapping of WSDL operation parameters to C parameter styles. Artifacts C_10013_TestCase.java Test_C_10013.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h (previously system under test generated) Service1.wsdl Service19.h (system under test generated) Service19.wsdl Service1Impl24.c Service1Impl24.componentType Service19Impl.c Service19Impl.componentType Expected output Positive test: “C_10013 request service1 operation1 invoked service2 operation1 invoked”

221 Test Case ID C_10014_TestCase Test Assertion C-TA-10022, C-TA-10024 Description Tests the default mapping of WSDL types to C. Artifacts C_10014_TestCase.java Test_C_10014.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h (previously system under test generated) Service1.wsdl Service32.h (system under test generated) Service32.wsdl

67sca-ccni-1.1-testcases-cd02 14 October 2010 68Copyright © OASIS® 2010. All Rights Reserved. Page 23 of 85 Service1Impl40.c Service1Impl40.componentType Service32Impl.c Service32Impl.componentType Expected output Positive test: “C_10014 request service1 operation1 invoked service2 operation1 invoked”

222 Test Case ID C_10015_TestCase Test Assertion C-TA-10027 Description Tests the default mapping of WSDL complex types to C. Artifacts C_10015_TestCase.java Test_C_10015.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h (previously system under test generated) Service1.wsdl Service33.h (system under test generated) Service33.wsdl Service1Impl41.c Service1Impl41.componentType Service33Impl.c Service33Impl.componentType Expected output Positive test: “C_10015 request service1 operation1 invoked service2 operation1 invoked”

223 Test Case ID C_10020_TestCase Test Assertion C-TA-10001, C-TA-10029 Description Tests the mapping of multiple portTypes in a WSDL definition. Artifacts C_10020_TestCase.java Test_C_10020.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h (previously system under test generated) Service1.wsdl Service34.h (system under test generated) Service35.h (system under test generated)

70sca-ccni-1.1-testcases-cd02 14 October 2010 71Copyright © OASIS® 2010. All Rights Reserved. Page 24 of 85 Service34_35.wsdl Service1Impl42.c Service1Impl42.componentType Service3435Impl.c Service3435Impl.componentType (system under test generated) Expected output Positive test: “C_10020 request service1 operation1 invoked service2 operation1 invoked”

224B.7 Section 10

Test Case ID C_11001_TestCase Test Assertion C-TA-11001 Description Tests that a composite containing incorrect interface.c elements is rejected. Artifacts C_11001_TestCase.java Test_C_11001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service11.h Service1Impl15.c Service1Impl15.componentType Service11Impl.c Service11Impl.componentType Expected output Negative test: “exception”

225 Test Case ID C_11002_TestCase Test Assertion C-TA-11002 Description Tests that a componentType containing incorrect interface.c elements is rejected. Artifacts C_11002_TestCase.java Test_C_11002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service11.h Service1Impl15.c Service1Impl15.componentType

73sca-ccni-1.1-testcases-cd02 14 October 2010 74Copyright © OASIS® 2010. All Rights Reserved. Page 25 of 85 Service11Impl.c Service11Impl.componentType Expected output Negative test: “exception”

226 Test Case ID C_11003_TestCase Test Assertion C-TA-11001 Description Tests that a composite containing incorrect implementation.c attributes is rejected. Artifacts C_11003_TestCase.java Test_C_11003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl11.c Service1Impl11.componentType Service1Impl12.c Service1Impl12.componentType Expected output Negative test: “exception”

227 Test Case ID C_11004_TestCase Test Assertion C-TA-11001 Description Tests that a composite containing incorrect implementation.c attribute values is rejected. Artifacts C_11004_TestCase.java Test_C_11004.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl11.c Service1Impl11.componentType Service1Impl12.c Service1Impl12.componentType Expected output Negative test: “exception”

228 76sca-ccni-1.1-testcases-cd02 14 October 2010 77Copyright © OASIS® 2010. All Rights Reserved. Page 26 of 85 Test Case ID C_11005_TestCase Test Assertion C-TA-11004 Description Tests that a contribution containing incorrect import.c attributes is rejected. Artifacts C_11005_TestCase.java Expected output Negative test: “exception”

229 Test Case ID C_11006_TestCase Test Assertion C-TA-11005 Description Tests that a WSDL containing incorrect wsdl extension elements is rejected. Artifacts C_11006_TestCase.java Test_C_11006.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service18.h Service18.wsdl Service1Impl23.c Service1Impl23.componentType Service18Impl.c Service18Impl.componentType Expected output Negative test: “exception”

230B.8 Appendix F

Test Case ID C_F001_TestCase Test Assertion C-TA-F023 Description Tests the WSDL mapping of C names containing "_x" and starting with "xml". Artifacts C_F001_TestCase.java Test_C_F001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service23.h Service23.wsdl

79sca-ccni-1.1-testcases-cd02 14 October 2010 80Copyright © OASIS® 2010. All Rights Reserved. Page 27 of 85 Service1Impl28.c Service1Impl28.componentType Service23Impl.c Service23Impl.componentType Expected output Positive test: “C_F001 request service1 operation1 invoked service2 operation1 invoked”

231 Test Case ID C_F002_TestCase Test Assertion C-TA-F025 Description Tests the WSDL mapping of C functions with only in parameters and a void return type. Artifacts C_F002_TestCase.java Test_C_F002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service24.h Service24.wsdl Service1Impl29.c Service1Impl29.componentType Service24Impl.c Service24Impl.componentType Expected output Positive test: “C_F002 request service1 operation1 invoked service2 operation1 invoked”

232 Test Case ID C_F003_TestCase Test Assertion C-TA-F026 Description Tests that oneWay functions with a non-void return type are detected. Artifacts C_F003_TestCase.java Test_C_F003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service23.h Service23.wsdl Service1Impl28.c

82sca-ccni-1.1-testcases-cd02 14 October 2010 83Copyright © OASIS® 2010. All Rights Reserved. Page 28 of 85 Service1Impl28.componentType Service23Impl.c Service23ImplOW.componentType Expected output Negative test: “exception”

233 Test Case ID C_F005_TestCase Test Assertion C-TA-F008 Description Tests the mapping or OneWay WSDL operations to C. Artifacts C_F005_TestCase.java Test_C_F005.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h (previously system under test generated) Service24OW.h (system under test generated) Service24OW.wsdl Service1Impl29OW.c Service1Impl29OW.componentType Service24Impl.c Service24Impl.componentType Expected output Positive test: “C_F005 request service1 operation1 invoked service2 operation1 invoked”

234 Test Case ID C_F006_TestCase Test Assertion C-TA-F014 Description Tests that parameter name clashes are detected. Artifacts C_F006_TestCase.java Test_C_F006.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service20.h (system under test generated – should fail) Service20.wsdl Service1Impl25.c Service1Impl25.componentType Service20Impl.c

85sca-ccni-1.1-testcases-cd02 14 October 2010 86Copyright © OASIS® 2010. All Rights Reserved. Page 29 of 85 Service20Impl.componentType Expected output Negative test: “exception”

235 Test Case ID C_F007_TestCase Test Assertion C-TA-F016 Description Tests the mapping of equivalent WSDL faults to C. Artifacts C_F007_TestCase.java Test_C_F007.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h (previously system under test generated) Service1.wsdl Service32F.h (system under test generated) Service32F.wsdl Service1Impl40.c Service1Impl40F.componentType Service32Impl.c Service32ImplF.componentType Expected output Positive test: “C_F007 request service1 operation1 invoked service2 operation1 invoked”

236 Test Case ID C_F008_TestCase Test Assertion C-TA-F009, C-TA-F019 Description Tests the mapping of a SOAP binding to C. Artifacts C_F008_TestCase.java Test_C_F008.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h (previously system under test generated) Service1.wsdl Service36.h (system under test generated) Service36.wsdl Service1Impl43.c Service1Impl43.componentType Service36Impl.c

88sca-ccni-1.1-testcases-cd02 14 October 2010 89Copyright © OASIS® 2010. All Rights Reserved. Page 30 of 85 Service36Impl.componentType Expected output Positive test: “C_F008 request service1 operation1 invoked service2 operation1 invoked”

91sca-ccni-1.1-testcases-cd02 14 October 2010 92Copyright © OASIS® 2010. All Rights Reserved. Page 31 of 85 237C Test Cases for Program-Based Component 238 Implementation Support 239The test cases in this section apply to the optional program-based component implementation support 240and are only required if an implementation supports program-based component implementations.

241C.1 Section 2

Test Case ID C_2010_TestCase Test Assertion C-TA-2009 Description Tests that operations excluded from a service interface defined by message formats cannot be invoked. Artifacts C_2010_TestCase.java Test_C_2010.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1ImplP.c Service1ImplP.componentType Expected output Positive test: “C_2009 request Test service got an error during execution: Incorrect parameter value”

242 Test Case ID C_2011_TestCase Test Assertion C-TA-2010 Description Tests that operations excluded from a callback interface defined by message formats cannot be invoked. Artifacts C_2011_TestCase.java Test_C_2011.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1Callback5ImplP.c Service1Callback5ImplP.componentType Service5P.h Service5CallbackP.h Service5ImplP.c

94sca-ccni-1.1-testcases-cd02 14 October 2010 95Copyright © OASIS® 2010. All Rights Reserved. Page 32 of 85 Service5ImplP.componentType Expected output Positive test: “C_2006 request service1 operation1 invoked Test service got an error during execution: Incorrect parameter value”

243C.2 Section 6

Test Case ID C_6009_TestCase Test Assertion C-TA-6003, C-TA-10019 Description Tests that operations in a service interface defined by message formats can be invoked. Artifacts C_6009_TestCase.java Test_C_6009.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1ImplP.c Service1ImplP.componentType Expected output Positive test: “C_6009 request service1 operation1 invoked”

244 Test Case ID C_6010_TestCase Test Assertion C-TA-6003 Description Tests that operations in a callback interface defined by message formats can be invoked. Artifacts C_6010_TestCase.java Test_C_6010.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1Callback5ImplP.c Service1Callback5ImplP.componentType Service5P.h Service5CallbackP.h Service5ImplP.c Service5ImplP.componentType Expected output Positive test:

97sca-ccni-1.1-testcases-cd02 14 October 2010 98Copyright © OASIS® 2010. All Rights Reserved. Page 33 of 85 “C_6010 request service1 operation1 invoked service2 operation1 invoked service1 callback1 invoked”

245 Test Case ID C_6011_TestCase Test Assertion C-TA-6003 Description Tests that specified input message formats are part of the service interface. Artifacts C_6011_TestCase.java Test_C_6011.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1Impl15P.c Service1Impl15P.componentType Expected output Positive test: “C_6011 request Test service got an error during execution: Other runtime detected error”

246 Test Case ID C_6012_TestCase Test Assertion C-TA-6003 Description Tests that specified input message formats are part of the callback interface. Artifacts C_6012_TestCase.java Test_C_6012.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1Callback12ImplP.c Service1Callback12ImplP.componentType Service12P.h Service12CallbackP.h Service12ImplP.c Service12ImplP.componentType Expected output Positive test: “C_6012 request service1 operation1 invoked Test service got an error during execution: Other runtime detected error”

247 Test Case ID C_6013_TestCase

100sca-ccni-1.1-testcases-cd02 14 October 2010 101Copyright © OASIS® 2010. All Rights Reserved. Page 34 of 85 Test Assertion C-TA-6003 Description Tests that specified output message formats are part of the service interface. Artifacts C_6013_TestCase.java Test_C_6013.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1ImplP15.c Service1ImplP15.componentType Expected output Positive test: “C_6013 request Test service got an error during execution: Other runtime detected error”

248 Test Case ID C_6014_TestCase Test Assertion C-TA-6003 Description Tests that specified output message formats are part of the callback interface. Artifacts C_6014_TestCase.java Test_C_6014.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1Callback12ImplP.c Service1Callback12ImplP.componentType Service12P.h Service12CallbackP.h Service12ImplP.c Service12ImplP.componentType Expected output Positive test: “C_6014 request service1 operation1 invoked Test service got an error during execution: Other runtime detected error”

249 Test Case ID C_6019_TestCase Test Assertion N/A – API Testing Description Tests that SCAInvokeAsync can be used with an program-based interface marked requires="asyncInvocation". Artifacts C_6019_TestCase.java

103sca-ccni-1.1-testcases-cd02 14 October 2010 104Copyright © OASIS® 2010. All Rights Reserved. Page 35 of 85 Test_C_6019.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service46P.h Service1Impl53P.c Service1Impl53P.componentType Service46ImplP.c Service46ImplP.componentType Expected output Positive test: “C_6019 request service1 operation1 invoked service2 operation1 invoked”

250C.3 Section 8

Test Case ID C_8004_TestCase Test Assertion C-TA-8003 Description Tests that a header file used to define a service interface contains message format struct declarations. Artifacts C_8003_TestCase.java Test_C_8003.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1Impl15P.c Service1Impl15P.componentType Service13P.c Service13P.componentType Expected output Negavive test: “exception”

251C.4 Section 9

Test Case ID C_10002_TestCase Test Assertion C-TA-10014, C-TA-10020 Description Tests the core default mapping of C to WSDL is correct for program component implementations. Artifacts C_10002_TestCase.java Test_C_10002.composite

106sca-ccni-1.1-testcases-cd02 14 October 2010 107Copyright © OASIS® 2010. All Rights Reserved. Page 36 of 85 TestInvocation.h C_0003_Client.c C_0003_Client.componentType Service1.wsdl Service1P.h Service1ImplP.c Service1ImplP.componentType Expected output Positive test: “C_10002 request service1 operation1 invoked”

252 Test Case ID C_10005_TestCase Test Assertion C-TA-10021 Description Tests that parameters appearing in both a request and response message have the same type. Artifacts C_10005_TestCase.java Test_C_10005.composite TestInvocation.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service20P.h Service1Impl25P.c Service1Impl25P.componentType Service20P.c Service20P.componentType Expected output Negative test: “exception”

253 Test Case ID C_10008_TestCase Test Assertion C-TA-10026 Description Tests the mapping of C structs to WSDL. Artifacts C_10008_TestCase.java Test_C_10008.composite TestInvocation.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service1.wsdl

109sca-ccni-1.1-testcases-cd02 14 October 2010 110Copyright © OASIS® 2010. All Rights Reserved. Page 37 of 85 Service22P.h Service22.wsdl Service1Impl27P.c Service1Impl27P.componentType Service22ImplP.c Service22ImpPl.componentType Expected output Positive test: “C_10008 request service1 operation1 invoked service2 operation1 invoked”

254 Test Case ID C_10016_TestCase Test Assertion C-TA-10003, C-TA-10007 Description Tests that the core default mapping of WSDL to C is correct. Artifacts C_10016_TestCase.java Test_C_10016.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.wsdl Service1P.h (system under test generated) Service1ImplP.c Service1ImplP.componentType Expected output Positive test: “C_10016 request service1 operation1 invoked”

255 Test Case ID C_10017_TestCase Test Assertion C-TA-10004, C-TA-F012 Description Tests that the mapping of WSDL unwrapped parameters to C for program implementations. Artifacts C_10017_TestCase.java Test_C_10017.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1UP.wsdl Service1UP.h (system under test generated) Service1ImplUP.c Service1ImplUP.componentType Expected output Positive test:

112sca-ccni-1.1-testcases-cd02 14 October 2010 113Copyright © OASIS® 2010. All Rights Reserved. Page 38 of 85 “C_10011 request service1 operation1 invoked”

256 Test Case ID C_10018_TestCase Test Assertion C-TA-10009 Description Tests the default mapping of WSDL operation parameters to C struct members. Artifacts C_10018_TestCase.java Test_C_10018.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h (previously system under test generated) Service1P.wsdl Service19Ph (system under test generated) Service19Pwsdl Service1Impl24Pc Service1Impl24PcomponentType Service19ImplP.c Service19ImplP.componentType Expected output Positive test: “C_10018 request service1 operation1 invoked service2 operation1 invoked”

257 Test Case ID C_10019_TestCase Test Assertion C-TA-10028 Description Tests the default mapping of WSDL complex types to C message structs. Artifacts C_10019_TestCase.java Test_C_10019.composite TestInvocation.h C_0003_Client.c C_0003_Client.componentType Service1P.h (previously system under test generated) Service1P.wsdl Service33P.h (system under test generated) Service33P.wsdl Service1Impl41P.c Service1Impl41P.componentType Service33ImplP.c Service33ImplP.componentType Expected output Positive test:

115sca-ccni-1.1-testcases-cd02 14 October 2010 116Copyright © OASIS® 2010. All Rights Reserved. Page 39 of 85 “C_10019 request service1 operation1 invoked service2 operation1 invoked”

118sca-ccni-1.1-testcases-cd02 14 October 2010 119Copyright © OASIS® 2010. All Rights Reserved. Page 40 of 85 258D Test Cases for Proxy Function Support 259The test cases in this section apply to the optional proxy function support and are only required if an 260implementation supports proxy functions.

261D.1 Section 3

Test Case ID C_3001_TestCase Test Assertion C-TA-3001 Description Tests that operations in a service interface can be invoked by proxy functions. Artifacts C_3001_TestCase.java Test_C_3001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl.c Service1Impl.componentType Service1Impl2X.c Service1Impl2X.componentType Expected output Positive test: “C_3001 request service1 operation1 invoked service2 operation1 invoked”

262 Test Case ID C_3002_TestCase Test Assertion C-TA-3002 Description Tests that operations in a callback interface can be invoked by proxy functions. Artifacts C_3002_TestCase.java Test_C_3002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Callback5ImplX.c Service1Callback5ImplX.componentType Service5.h Service5Callback.h Service5ImplX.c Service5ImplX.componentType

121sca-ccni-1.1-testcases-cd02 14 October 2010 122Copyright © OASIS® 2010. All Rights Reserved. Page 41 of 85 Expected output Positive test: “C_3002 request service1 operation1 invoked service2 operation1 invoked service1 callback1 invoked”

263 Test Case ID C_3003_TestCase Test Assertion N/A – API Testing Description Tests that SCA_Async can be used with an interface marked requires="asyncInvocation". Artifacts C_3003_TestCase.java Test_C_3003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service46.h Service1Impl53X.c Service1Impl53X.componentType Service46Impl.c Service46Impl.componentType Expected output Positive test: “C_3003 request service1 operation1 invoked operation2 invoked”

264 Test Case ID C_3004_TestCase Test Assertion N/A – API Testing Description Tests that SCA_Poll can be used with an interface marked requires="asyncInvocation". Artifacts C_3004_TestCase.java Test_C_3004.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service46.h Service1Impl54X.c Service1Impl54X.componentType Service46Impl.c Service46Impl.componentType Expected output Positive test:

124sca-ccni-1.1-testcases-cd02 14 October 2010 125Copyright © OASIS® 2010. All Rights Reserved. Page 42 of 85 “C_3004 request service1 operation1 invoked operation2 invoked”

265 Test Case ID C_3005_TestCase Test Assertion N/A – API Testing Description Tests that operations in a callback interface can be asynchronously invoked by proxy functions. Artifacts C_3005_TestCase.java Test_C_3005.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Callback47Impl.c Service1Callback47Impl.componentType Service47.h Service47Callback.h Service47ImplX.c Service47ImplX.componentType Expected output Positive test: “C_3005 request service1 operation1 invoked service2 operation1 invoked service1 callback1 invoked”

127sca-ccni-1.1-testcases-cd02 14 October 2010 128Copyright © OASIS® 2010. All Rights Reserved. Page 43 of 85 266E Test Cases for Annotation Support 267The test cases in this section apply to the optional C++ SCA annotation support and are only required if 268an implementation supports these annotations.

269E.1 Appendix A

Test Case ID C_A001_TestCase Test Assertion C-TA-A001 Description Tests that @Interface, @Service and @Property generate correct SCDL. Artifacts C_A001_TestCase.java Test_C_A001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service15Exp.h Service15A.h Service1Impl16.c Service1Impl16.componentType Service15ImplA.c Service15ImplA.componentType (system under test generated) Expected output Positive test: “C_A001 request service1 operation1 invoked service1 operation 1 invoked”

270 Test Case ID C_A002_TestCase Test Assertion C-TA-A001 Description Tests that @Remotable generates correct SCDL. Artifacts C_A002_TestCase.java Test_C_A002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl2.c Service1Impl2.componentType Service1Impl.c Service1Impl.componentType (system under test generated)

130sca-ccni-1.1-testcases-cd02 14 October 2010 131Copyright © OASIS® 2010. All Rights Reserved. Page 44 of 85 Expected output Positive test: “C_A002 request service1 operation1 invoked service2 operation 1 invoked”

271 Test Case ID C_A003_TestCase Test Assertion C-TA-A001 Description Tests that @Callback generates correct SCDL. Artifacts C_A003_TestCase.java Test_C_A003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Callback5Impl.c Service1Callback5Impl.componentType Service5.h Service5Callback.h Service5Impl.c Service5Impl.componentType (system under test generated) Expected output Positive test: “C_A003 request service1 operation1 invoked service2 operation1 invoked service1 callback1 invoked”

272 Test Case ID C_A004_TestCase Test Assertion C-TA-A001 Description Tests that @OneWay generates correct SCDL. Artifacts C_A004_TestCase.java Test_C_A004.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service24OW.h Service24OW.wsdl Service1Impl29OW.c Service1Impl29OW.componentType Service24Impl.c Service24ImplOW.componentType (system under test generated) Expected output Positive test:

133sca-ccni-1.1-testcases-cd02 14 October 2010 134Copyright © OASIS® 2010. All Rights Reserved. Page 45 of 85 “C_A004 request service1 operation1 invoked service2 operation1 invoked”

273 Test Case ID C_A005_TestCase Test Assertion C-TA-A001 Description Tests that @Reference generates correct SCDL. Artifacts C_A005_TestCase.java Test_C_A005.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl30.c Service1Impl30.componentType (system under test generated) Service1Impl.c Service1Impl.componentType (system under test generated) Expected output Positive test: “C_A005 request service1 operation1 invoked service2 operation 1 invoked”

274 Test Case ID C_A007_TestCase Test Assertion C-TA-A001 Description Tests that lifecycle annotations generate correct SCDL. Artifacts C_A007_TestCase.java Test_C_A007.composite TestCompositeC2.composite (system under test generated)  Contains 1 component implemented by Service1Impl31  Provides 1 service (Service1) which promotes the Service1 of the component  Has one property (ServiceName, type string) that sets ServiceName of the component TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl2.c Service1Impl2.componentType Service1Impl31.c Service1Impl31.componentType Expected output Positive test: “C_A007 request service1 operation1 invoked service2 operation 1 invoked a”

136sca-ccni-1.1-testcases-cd02 14 October 2010 137Copyright © OASIS® 2010. All Rights Reserved. Page 46 of 85 275 Test Case ID C_A008_TestCase Test Assertion C-TA-A002 Description Tests that annotations are ignored at runtime. Artifacts C_A008_TestCase.java Test_C_A008.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Impl2.c Service1Impl2.componentType Service5.h Service1Impl.c Service5ImplA.componentType Expected output Positive test: “C_A008 request service1 operation1 invoked service2 operation1 invoked”

276 Test Case ID C_A009_TestCase Test Assertion C-TA-A003 Description Tests that annotations in multiple comment blocks are processed correctly. Artifacts C_A009_TestCase.java Test_C_A009.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1Callback5Impl.c Service1Callback5Impl.componentType Service5.h Service5AS.h Service5Callback.h Service5ImplAS.c Service5ImplAS.componentType (system under test generated) Expected output Positive test: “C_A009 request service1 operation1 invoked service2 operation1 invoked service1 callback1 invoked”

277

139sca-ccni-1.1-testcases-cd02 14 October 2010 140Copyright © OASIS® 2010. All Rights Reserved. Page 47 of 85 Test Case ID C_A010_TestCase Test Assertion C-TA-A001, C-TA-C002 Description Tests that @Function generates correct SCDL. Artifacts C_ A010_TestCase.java Test_C_ A010.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service11A.h Service11W.wsdl Service1Impl15A.c Service1Impl15A.componentType (system under test generated) Service11ImplA.c Service11ImplA.componentType (system under test generated) Expected output Positive test: “C_ A010 request Test service got an error during execution: Incorrect parameter value”

278 Test Case ID C_A011_TestCase Test Assertion C-TA-A005, C-TA-C005 Description Tests that @WebFunction generates same SCDL as equivalent, but missing @Function. Artifacts C_ A011_TestCase.java Test_C_ A011.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service11W.h Service11W.wsdl Service1Impl15W.c Service1Impl15W.componentType (system under test generated) Service11ImplW.c Service11ImplW.componentType (system under test generated) Expected output Positive test: “C_ A011 request Test service got an error during execution: Incorrect parameter value”

279

142sca-ccni-1.1-testcases-cd02 14 October 2010 143Copyright © OASIS® 2010. All Rights Reserved. Page 48 of 85 Test Case ID C_A014_TestCase Test Assertion C-TA-A008 Description Tests that all properties with a given name in an implementation have the same type. Artifacts C_A014_TestCase.java Test_C_A014.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service44.h Service1Impl51.c Service1Impl51.componentType Service44Impl.c Service44Impl.componentType(system under test generated) Expected output Negative test: “exception”

280 Test Case ID C_A015_TestCase Test Assertion C-TA-A004 Description Tests that @WebService generates same SCDL as equivalent, but missing @Remotable. Artifacts C_A015_TestCase.java Test_C_A015.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service45.h Service1Impl52.c Service1Impl52.componentType Service45Impl.c Service45Impl.componentType (system under test generated) Expected output Positive test: “C_A015 request service1 operation1 invoked service2 operation 1 invoked”

281E.2 Appendix B

Test Case ID C_B001_TestCase

145sca-ccni-1.1-testcases-cd02 14 October 2010 146Copyright © OASIS® 2010. All Rights Reserved. Page 49 of 85 Test Assertion C-TA-A001 Description Tests that @Requires generates correct SCDL. Artifacts C_B001_TestCase.java Test_C_B001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1_Requires.h Service1Impl2.c Service1Impl2.componentType Service1Impl.c Service1Impl_requires.componentType (system under test generated) Expected output Positive test: “C_B001 request service1 operation1 invoked service2 operation 1”

282 Test Case ID C_B002_TestCase Test Assertion C-TA-A001 Description Tests that @ generates correct SCDL. Artifacts C_B002_TestCase.java Test_C_B002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1_Intent.h Service1Impl2.c Service1Impl2.componentType Service1Impl.c Service1Impl_Intent.componentType (system under test generated) Expected output Positive test: “C_B002 request service1 operation1 invoked service2 operation 1”

283E.3 Appendix C

Test Case ID C_C001_TestCase Test Assertion C-TA-C005, C-TA-F033 Description Tests that @WebService generates the correct WSDL.

148sca-ccni-1.1-testcases-cd02 14 October 2010 149Copyright © OASIS® 2010. All Rights Reserved. Page 50 of 85 Artifacts C_C001_TestCase.java Test_C_C001.composite TestInterface.h TestInvocation.wsdl C_0005_Client.c C_0005_Client.componentType Service1.h Service1Impl.c Service1Impl.componentType Expected output Positive test: “C_C001 request service1 operation1 invoked”

284 Test Case ID C_C002_TestCase Test Assertion C-TA-C005 Description Tests that @WebParam generates the correct WSDL. Artifacts C_C002_TestCase.java Test_C_C002.composite TestInterface.h TestInvocation.wsdl C_0005_Client.c C_0005_Client.componentType Service1.h Service25.h Service25.wsdl Service1Impl33.c Service1Impl33.componentType Service25Impl.c Service25Impl.componentType Expected output Positive test: “C_C002 request service1 operation1 invoked service2 operation1 invoked”

285 Test Case ID C_C003_TestCase Test Assertion C-TA-C005 Description Tests that @WebResult generates the correct WSDL. Artifacts C_C003_TestCase.java Test_C_C003.composite TestInterface.h TestInvocation.wsdl

151sca-ccni-1.1-testcases-cd02 14 October 2010 152Copyright © OASIS® 2010. All Rights Reserved. Page 51 of 85 C_0005_Client.c C_0005_Client.componentType Service1.h Service26.h Service26.wsdl Service1Impl34.c Service1Impl34.componentType Service26Impl.c Service26Impl.componentType Expected output Positive test: “C_C003 request service1 operation1 invoked service2 operation1 invoked”

286 Test Case ID C_C004_TestCase Test Assertion C-TA-C001 Description Tests that @WebService results in a remotable SCDL interface definition. Artifacts C_C004_TestCase.java Test_C_C004.composite TestInterface.h TestInvocation.wsdl C_0006_Client.c C_0006_Client.componentType (system under test generated) Service1.h Service1Impl.c Service1Impl.componentType Expected output Positive test: “C_C004 request service1 operation1 invoked”

287 Test Case ID C_C005_TestCase Test Assertion C-TA-C004 Description Tests that a struct that is listed in a @WebThrows annotation has a @WebFault annotation. Artifacts C_C005_TestCase.java Test_C_C005.composite TestInterface1.h TestInvocation.wsdl C_0007_Client.c C_0007_Client.componentType Service1.h

154sca-ccni-1.1-testcases-cd02 14 October 2010 155Copyright © OASIS® 2010. All Rights Reserved. Page 52 of 85 Service1Impl.c Service1Impl.componentType Expected output Negative test: “exception”

288 Test Case ID C_C006_TestCase Test Assertion C-TA-C006 Description Tests that @WebParam simple type errors are detected. Artifacts C_C006_TestCase.java Test_C_C006.composite TestInterface1.h C_0001_Client.c C_0001_Client.componentType Service1.h Service27.h Service1Impl35.c Service1Impl35.componentType Service27Impl.c Service27Impl.componentType Expected output Negative test: “exception”

289 Test Case ID C_C007_TestCase Test Assertion C-TA-C010 Description Tests that @WebParam complex type errors are detected. Artifacts C_C007_TestCase.java Test_C_C007.composite TestInterface1.h C_0001_Client.c C_0001_Client.componentType Service1.h Service28.h Service1Impl36.c Service1Impl36.componentType Service28Impl.c Service28Impl.componentType Expected output Negative test:

157sca-ccni-1.1-testcases-cd02 14 October 2010 158Copyright © OASIS® 2010. All Rights Reserved. Page 53 of 85 “exception”

290 Test Case ID C_C008_TestCase Test Assertion C-TA-C007 Description Tests that @WebResult simple type errors are detected. Artifacts C_C008_TestCase.java Test_C_C008.composite TestInterface1.h C_0001_Client.c C_0001_Client.componentType Service1.h Service29.h Service1Impl37.c Service1Impl37.componentType Service29Impl.c Service29Impl.componentType Expected output Negative test: “exception”

291 Test Case ID C_C009_TestCase Test Assertion C-TA-C009 Description Tests that @WebParam matches a named parameter. Artifacts C_C009_TestCase.java Test_C_C009.composite TestInterface1.h C_0001_Client.c C_0001_Client.componentType Service1.h Service30.h Service1Impl38.c Service1Impl38.componentType Service30Impl.c Service30Impl.componentType Expected output Negative test: “exception”

292 Test Case ID C_C010_TestCase

160sca-ccni-1.1-testcases-cd02 14 October 2010 161Copyright © OASIS® 2010. All Rights Reserved. Page 54 of 85 Test Assertion C-TA-C005 Description Tests that the OneWay MEP maps correctly to WSDL. Artifacts C_C010_TestCase.java Test_C_C010.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service24OW.h Service24OW.wsdl Service1Impl29OW.c Service1Impl29OW.componentType Service24Impl.c Service24ImplOW.componentType Expected output Positive test: “C_C010 request service1 operation1 invoked service2 operation1 invoked”

293E.4 Appendix F

Test Case ID C_F004_TestCase Test Assertion C-TA-F026 Description Tests that functions with a non-void return type but annotated OneWay are detected. Artifacts C_F003_TestCase.java Test_C_F003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service23.h Service23OW.h Service23.wsdl Service1Impl28.c Service1Impl28.componentType Service23Impl.c Service23ImplOW.componentType Expected output Negative test: “exception”

163sca-ccni-1.1-testcases-cd02 14 October 2010 164Copyright © OASIS® 2010. All Rights Reserved. Page 55 of 85 294E.5 Assembly

Test Case ID C_1001_TestCase Test Assertion ASM-TA-8005 Description Tests that the callback interface of a @Remotable interface is also @Remotable. Artifacts C_1001_TestCase.java Test_C_1001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service6.h Service6Callback.h Service1Callback6Impl.c Service1Callback6Impl.componentType (system under test generated) Service6Impl.c Service6Impl.componentType (system under test generated) Expected output Negative test: “exception”

295 Test Case ID C_1002_TestCase Test Assertion ASM-TA-8006 Description Tests that the callback interface of a local interface is not @Remotable. Artifacts C_1002_TestCase.java Test_C_1002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service7.h Service7Callback.h Service1Callback7Impl.c Service1Callback7Impl.componentType (system under test generated) Service7Impl.c Service7Impl.componentType (system under test generated) Expected output Negative test: “exception”

166sca-ccni-1.1-testcases-cd02 14 October 2010 167Copyright © OASIS® 2010. All Rights Reserved. Page 56 of 85 296F Test Cases for Annotations and Program-Based 297 Component Implementation Support 298The test cases in this section apply to the combination of optional program-based component 299implementation support and C++ SCA annotation support and are only required if an implementation 300supports both program-based component implementations and C++ SCA annotations.

301F.1 Appendix A

Test Case ID C_A012_TestCase Test Assertion C-TA-A001, C-TA-C003 Description Tests that @Operation generates correct SCDL. Artifacts C_ A012_TestCase.java Test_C_ A012.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service11AP.h Service11WP.wsdl Service1Impl15AP.c Service1Impl15AP.componentType (system under test generated) Service11ImplAP.c Service11ImplAP.componentType (system under test generated) Expected output Positive test: “C_ A012 request Test service got an error during execution: Incorrect parameter value”

302 Test Case ID C_A013_TestCase Test Assertion C-TA-A006, C-TA-C005 Description Tests that @WebOperation generates same SCDL as equivalent, but missing @Operation. Artifacts C_ A013_TestCase.java Test_C_ A013.composite TestInvocationP.h C_0003_Client.c C_0003_Client.componentType Service1P.h Service11WP.h

169sca-ccni-1.1-testcases-cd02 14 October 2010 170Copyright © OASIS® 2010. All Rights Reserved. Page 57 of 85 Service11WP.wsdl Service1Impl15WP.c Service1Impl15WP.componentType (system under test generated) Service11ImplWP.c Service11ImplWP.componentType (system under test generated) Expected output Positive test: “C_ A013 request Test service got an error during execution: Incorrect parameter value”

172sca-ccni-1.1-testcases-cd02 14 October 2010 173Copyright © OASIS® 2010. All Rights Reserved. Page 58 of 85 303G Test Cases for WSDL Extension Support 304The test cases in this section apply to the optional C++ WSDL annotation support and are only required if 305an implementation supports these annotations.

306G.1 Appendix D

Test Case ID C_D001_TestCase Test Assertion C-TA-D001, C-TA-F003 Description Tests the mapping of a function WSDL extension. Artifacts C_D001_TestCase.java Test_C_D001.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service37.h (system under test generated) Service37.wsdl Service1Impl44.c Service1Impl44.componentType Service37Impl.c Service37Impl.componentType Expected output Positive test: “C_D001 request service1 operation1 invoked service2 operation1 invoked”

307 Test Case ID C_D002_TestCase Test Assertion C-TA-D001, C-TA-F003 Description Tests the mapping of a parameter WSDL extension. Artifacts C_D002_TestCase.java Test_C_D002.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service38.h (system under test generated) Service38.wsdl

175sca-ccni-1.1-testcases-cd02 14 October 2010 176Copyright © OASIS® 2010. All Rights Reserved. Page 59 of 85 Service1Impl45.c Service1Impl45.componentType Service38Impl.c Service38Impl.componentType Expected output Positive test: “C_D002 request service1 operation1 invoked service2 operation1 invoked”

308 Test Case ID C_D003_TestCase Test Assertion C-TA-D001, C-TA-F003 Description Tests the mapping of a struct WSDL extension. Artifacts C_D003_TestCase.java Test_C_D003.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service39.h (system under test generated) Service39.wsdl Service1Impl46.c Service1Impl46.componentType Service39Impl.c Service39Impl.componentType Expected output Positive test: “C_D003 request service1 operation1 invoked service2 operation1 invoked”

309 Test Case ID C_D004_TestCase Test Assertion C-TA-D001, C-TA-F003, C-TA-F013 Description Tests the mapping of an enableWrapperStyle WSDL extension. Artifacts C_D004_TestCase.java Test_C_D004.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service40.h (system under test generated) Service40.wsdl

178sca-ccni-1.1-testcases-cd02 14 October 2010 179Copyright © OASIS® 2010. All Rights Reserved. Page 60 of 85 Service1Impl47.c Service1Impl47.componentType Service40Impl.c Service40Impl.componentType Expected output Positive test: “C_D004 request service1 operation1 invoked service2 operation1 invoked”

310 Test Case ID C_D005_TestCase Test Assertion C-TA-D001, C-TA-F003 Description Tests the mapping of a prefix WSDL extension. Artifacts C_D005_TestCase.java Test_C_D005.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service41.h (system under test generated) Service41.wsdl Service1Impl48.c Service1Impl48.componentType Service41Impl.c Service41Impl.componentType Expected output Positive test: “C_D005 request service1 operation1 invoked service2 operation1 invoked”

311 Test Case ID C_D006_TestCase Test Assertion C-TA-D005 Description Tests that a second function WSDL extension in one binding is detected. Artifacts C_D006_TestCase.java Test_C_D006.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service37.h (previously system under test generated) Service37Bad.wsdl

181sca-ccni-1.1-testcases-cd02 14 October 2010 182Copyright © OASIS® 2010. All Rights Reserved. Page 61 of 85 Service1Impl44.c Service1Impl44.componentType Service37Impl.c Service37mpl.componentType Expected output Negative test: “exception”

312 Test Case ID C_D007_TestCase Test Assertion C-TA-D002 Description Tests the mapping of a parameter WSDL extension with a simple type. Artifacts C_D007_TestCase.java Test_C_D007.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service42.h (system under test generated) Service42.wsdl Service1Impl49.c Service1Impl49.componentType Service42Impl.c Service42Impl.componentType Expected output Positive test: “C_D007 request service1 operation1 invoked service2 operation1 invoked”

313 Test Case ID C_D008_TestCase Test Assertion C-TA-D002 Description Tests the mapping of a parameter WSDL extension with a complex type. Artifacts C_D008_TestCase.java Test_C_D008.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service43.h (system under test generated) Service43.wsdl

184sca-ccni-1.1-testcases-cd02 14 October 2010 185Copyright © OASIS® 2010. All Rights Reserved. Page 62 of 85 Service1Impl50.c Service1Impl50.componentType Service43Impl.c Service43Impl.componentType Expected output Positive test: “C_D008 request service1 operation1 invoked service2 operation1 invoked”

314 Test Case ID C_D009_TestCase Test Assertion C-TA-D006 Description Tests that a second struct WSDL extension in one binding is detected. Artifacts C_D009_TestCase.java Test_C_D009.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service39.h (previously system under test generated) Service39Bad.wsdl Service1Impl46.c Service1Impl46.componentType Service39Impl.c Service39mpl.componentType Expected output Negative test: “exception”

315 Test Case ID C_D010_TestCase Test Assertion C-TA-D004 Description Tests that a second enableWrapperStyle WSDL extension in one binding is detected. Artifacts C_D010_TestCase.java Test_C_D010.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service40.h (previously system under test generated)

187sca-ccni-1.1-testcases-cd02 14 October 2010 188Copyright © OASIS® 2010. All Rights Reserved. Page 63 of 85 Service40Bad.wsdl Service1Impl47.c Service1Impl47.componentType Service40Impl.c Service40mpl.componentType Expected output Negative test: “exception”

316 Test Case ID C_D011_TestCase Test Assertion C-TA-D003 Description Tests that a second prefix WSDL extension in one binding is detected. Artifacts C_D011_TestCase.java Test_C_D011.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service41.h (previously system under test generated) Service41Bad.wsdl Service1Impl48.c Service1Impl48.componentType Service41Impl.c Service41mpl.componentType Expected output Negative test: “exception”

317 Test Case ID C_D012_TestCase Test Assertion C-TA-D007 Description Tests the mapping of a JAX-WS WSDL extension. Artifacts C_D012_TestCase.java Test_C_D0012.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service37.h (previously system under test generated)

190sca-ccni-1.1-testcases-cd02 14 October 2010 191Copyright © OASIS® 2010. All Rights Reserved. Page 64 of 85 Service37J.wsdl Service1Impl44.c Service1Impl44.componentType Service37Impl.c Service37Impl.componentType Expected output Positive test: “C_D012 request service1 operation1 invoked service2 operation1 invoked”

318 Test Case ID C_D013_TestCase Test Assertion C-TA-D008 Description Tests that a C WSDL extension overrides a JAX-WS WSDL extension. Artifacts C_D013_TestCase.java Test_C_D0013.composite TestInvocation.h C_0001_Client.c C_0001_Client.componentType Service1.h Service1.wsdl Service37.h (system under test generated) Service37JC.wsdl Service1Impl44.c Service1Impl44.componentType Service37Impl.c Service37Impl.componentType Expected output Positive test: “C_D013 request service1 operation1 invoked service2 operation1 invoked”

319

193sca-ccni-1.1-testcases-cd02 14 October 2010 194Copyright © OASIS® 2010. All Rights Reserved. Page 65 of 85 320H Cross Mapping of Test Assertions to Test Cases

Test Assertion Test Cases ASM-TA-8001 N/A for C ASM-TA-8005 C_1001_TestCase ASM-TA-8006 C_1002_TestCase

321 Test Assertion Test Cases C-TA-2001 C_2001_TestCase C-TA-2003 C_2004_TestCase C-TA-2006 C_2014_TestCase C-TA-2007 C_2005_TestCase C-TA-2008 C_2006_TestCase C-TA-2009 C_2010_TestCase C-TA-2010 C_2011_TestCase C-TA-2011 C_2007_TestCase C-TA-2012 C_2008_TestCase C-TA-2017 C_2009_TestCase C-TA-2018 Optional – Not Tested C-TA-2019 C_2012_TestCase C_2013_TestCase

322 Test Assertion Test Cases C-TA-3001 C_3001_TestCase C-TA-3002 C_3002_TestCase

323 Test Assertion Test Cases C-TA-4001 C_4001_TestCase

324 Test Assertion Test Cases C-TA-5001 Untestable

325 196sca-ccni-1.1-testcases-cd02 14 October 2010 197Copyright © OASIS® 2010. All Rights Reserved. Page 66 of 85 Test Assertion Test Cases C-TA-6002 Optional – Not tested Requires an SDO Implementation C-TA-6003 C_6009_TestCase C_6010_TestCase C_6011_TestCase C_6012_TestCase C_6013_TestCase C_6014_TestCase

326 Test Assertion Test Cases C-TA-7001 C_7001_TestCase C-TA-7002 C_7002_TestCase

327 Test Assertion Test Cases C-TA-8001 C_8001_TestCase C-TA-8002 C_8002_TestCase C-TA-8003 C_8003_TestCase C_8004_TestCase

328 Test Assertion Test Cases C-TA-10001 C_10020_TestCase C-TA-10002 C_10010_TestCase C-TA-10003 C_10016_TestCase C-TA-10004 C_10011_TestCase

C-TA-10005 C_10017_TestCase C-TA-10006 C_10010_TestCase C-TA-10007 C_10016_TestCase C-TA-10008 C_10013_TestCase C-TA-10009 C_10018_TestCase C-TA-10010 C_10012_TestCase C-TA-10011 Untestable – Not a runtime behavior C-TA-10012 C_10001_TestCase C-TA-10013 C_10001_TestCase

199sca-ccni-1.1-testcases-cd02 14 October 2010 200Copyright © OASIS® 2010. All Rights Reserved. Page 67 of 85 C-TA-10014 C_10002_TestCase C-TA-10015 C_10001_TestCase C-TA-10016 C_10003_TestCase C-TA-10017 C_10001_TestCase C-TA-10018 C_10004_TestCase C-TA-10019 C_6009_TestCase C-TA-10020 C_10002_TestCase C-TA-10021 C_10005_TestCase C-TA-10022 C_10014_TestCase C-TA-10023 C_10006_TestCase C-TA-10024 C_10014_TestCase C-TA-10025 C_10007_TestCase C-TA-10026 C_10008_TestCase C-TA-10027 C_10015_TestCase C-TA-10028 C_10019_TestCase C-TA-10029 C_10010_TestCase C-TA-10030 C_10009_TestCase

329 Test Assertion Test Cases C-TA-11001 C_11001_TestCase C_11003_TestCase C_11004_TestCase C-TA-11002 C_11002_TestCase C-TA-11004 C_11005_TestCase C-TA-11005 C_11006_TestCase

330 Test Assertion Test Cases C-TA-A001 C_A001_TestCase C_A002_TestCase C_A003_TestCase C_A004_TestCase C_A005_TestCase C_A007_TestCase C_A010_TestCase

202sca-ccni-1.1-testcases-cd02 14 October 2010 203Copyright © OASIS® 2010. All Rights Reserved. Page 68 of 85 C_A012_TestCase C_B001_TestCase C_B002_TestCase C-TA-A002 C_A008_TestCase C-TA-A003 C_A009_TestCase C-TA-A004 C_A015_TestCase C-TA-A005 C_A011_TestCase C-TA-A006 C_A013_TestCase C-TA-A007 Optional – Not tested C-TA-A008 C_A014_TestCase

331 Test Assertion Test Cases C-TA-C001 C_C004_TestCase C-TA-C002 C_A010_TestCase C-TA-C003 C_A012_TestCase C-TA-C004 C_C005_TestCase C-TA-C005 C_10001_TestCase C_A004_TestCase C_C001_TestCase C_C002_TestCase C_C003_TestCase C_C010_TestCase C_A011_TestCase C_A013_TestCase C-TA-C006 C_C006_TestCase C-TA-C007 C_C008_TestCase C-TA-C009 C_C009_TestCase C-TA-C010 C_C007_TestCase

332 Test Assertion Test Cases C-TA-D001 C_D001_TestCase C_D002_TestCase C_D003_TestCase C_D004_TestCase C_D005_TestCase

205sca-ccni-1.1-testcases-cd02 14 October 2010 206Copyright © OASIS® 2010. All Rights Reserved. Page 69 of 85 C-TA-D002 C_D007_TestCase C_D008_TestCase C-TA-D003 C_D011_TestCase C-TA-D004 C_D010_TestCase C-TA-D005 C_D006_TestCase C-TA-D006 C_D009_TestCase C-TA-D007 C_D012_TestCase C-TA-D008 C_D013_TestCase

333 Test Assertion Test Cases C-TA-F001 C_10010_TestCase C-TA-F002 C_10010_TestCase C-TA-F003 C_D001_TestCase C_D002_TestCase C_D003_TestCase C_D004_TestCase C_D005_TestCase C-TA-F004 Not tested – this is base WSDL handling, not SCA specific. C-TA-F005 C_10010_TestCase C-TA-F006 C_10010_TestCase C-TA-F007 C_10010_TestCase C-TA-F008 C_F005_TestCase C-TA-F009 C_F008_TestCase C-TA-F010 C_10010_TestCase

C-TA-F011 C_10010_TestCase C-TA-F012 C_10011_TestCase C-TA-F013 C_D004_TestCase C-TA-F014 C_F006_TestCase C-TA-F015 C_10012_TestCase C-TA-F016 C_F007_TestCase C-TA-F018 C_10010_TestCase C-TA-F019 C_F008_TestCase C-TA-F020 Not tested – This is an assertion about the web

208sca-ccni-1.1-testcases-cd02 14 October 2010 209Copyright © OASIS® 2010. All Rights Reserved. Page 70 of 85 services binding behavior C-TA-F021 Not tested – not all platforms allow application access to header content C-TA-F022 C_10001_TestCase C-TA-F023 C_F001_TestCase C-TA-F024 Not Tested C-TA-F025 C_F002_TestCase C-TA-F026 C_F003_TestCase C_F004_TestCase C-TA-F027 Not tested – not all platforms allow application access to header content C-TA-F028 Not tested – not all platforms allow application access to header content C-TA-F029 Not tested – This is an assertion about the web services binding behavior C-TA-F030 C_10001_TestCase C-TA-F031 C_10001_TestCase C-TA-F032 C_10001_TestCase C-TA-F033 C_C001_TestCase C-TA-F034 Not tested – This is an assertion about the web services binding behavior

211sca-ccni-1.1-testcases-cd02 14 October 2010 212Copyright © OASIS® 2010. All Rights Reserved. Page 71 of 85 334I Catalog of Test Artifacts

335I.1 C Interfaces

Name Description Service1.h Remotable service interface 1 operation with 1 input, 1 output parameter

Service1P.h Same for a program implementation Service1Superset.h Remotable service interface which is a superset of Service1 interface 2 operations with 1 input,1 output parameter Service4.h Remotable service interface 1 operation with 1 input, 1 output parameter - Input parameter is not const Service5.h Remotable service interface with a Callback interface (Service5Callback) 1 operation with 1 input, 1 output parameter

Service5P.h Same for a program implementation Service5Callback.h Remotable callback interface for Service5 1 operation with 1 input, 1 output parameter

Service5CallbackP.h Same for a program implementation Service6.h Remotable service interface with a local Callback interface (Service6Callback) 1 operation with 1 input, 1 output parameter Service6Callback.h local callback interface for Service6 1 operation with 1 input, 1 output parameter Service7.h Local service interface with a remotable Callback interface (Service7Callback) 1 operation with 1 input, 1 output parameter Service7Callback.h Remotable callback interface for 7 1 operation with 1 input, 1 output parameter Service11.h Remotable interface with a function in the file that is not part of the interface - it is also a superset of Service1

214sca-ccni-1.1-testcases-cd02 14 October 2010 215Copyright © OASIS® 2010. All Rights Reserved. Page 72 of 85 Service11P.h Same for a program implementation Service12.h Remotable service interface with a Callback interface (Service12Callback) 1 operation with 1 input, 1 output parameter

Service12P.h Same for a program implementation Service12Callback.h Remotable callback interface for Service12 with a function in the file that is not part of the callback interface, 1 operation with 1 input, 1 output parameter

Service12CallbackP.h Same for a program implementation Service13.h Remotable interface containing no function declarations

Service13P.h Remotable program implementation interface containing no struct declarations Service15.h Local service interface with a macro and a typedef used in the declaration. Service15Exp.h Same interface with macro and typedef expanded Service16.h Remotable service interface with a union parameter Service17.h Remotable service interface with a defined fault Service18.h Remotable service interface with an unnamed parameter Service19.h Remotable service interface with a function with multiple parameter passing styles Service20P.h Remotable service interface for program implementation with a function with request and response message structs having a member of the same name but different types Service21.h Remotable service interface with functions with multiple parameter and return types Service22.h Remotable service interface with a function with parameter that is a struct

Service22P.h Same for a program implementation (parameter is in the request message struct) Service23.h Remotable service interface with a function with parameters names a_x and xml Service23OW.h Remotable service interface with a function with on non-void return type that is annotated OneWay Service24.h Remotable service interface with a function with

217sca-ccni-1.1-testcases-cd02 14 October 2010 218Copyright © OASIS® 2010. All Rights Reserved. Page 73 of 85 only an in parameter and a void return type Service24OW.h Remotable service interface with a function with only an in parameter and a void return type designated oneWay Service25.h Remotable service interface with function annotated with @WebParam Service26.h Remotable service interface with function annotated with @WebResult Service27.h Remotable service interface with function annotated with @WebParam but incorrect simple type value Service28.h Remotable service interface with function annotated with @WebParam but incorrect complex type value Service29.h Remotable service interface with function annotated with @WebResult but incorrect simple type value Service30.h Remotable service interface with function annotated with @WebParam parameter is unnamed Service31.h (system under test generated from Remotable service interface with a function that can Service31.wsdl) throw a fault. Service32.h (system under test generated from Remotable service interface with functions with Service32.wsdl) multiple parameter and return types Service32.Fh (system under test generated from Same but two functions that throw a fault Service32F.wsdl) Service33.h (system under test generated from Remotable service interface with function with Service33.wsdl) parameter that is a struct Service34.h (system under test generated from Remotable service interface Service34_35.wsdl) Service34.h (system under test generated from Remotable service interface Service34_35.wsdl) Service36.h (system under test generated from Remotable service interface Service36.wsdl) Service37.h (system under test generated from Remotable service interface based on WSDL with a Service37.wsdl) function extension Service38.h (system under test generated from Remotable service interface based on WSDL with a Service38.wsdl) parameter extension Service39.h (system under test generated from Remotable service interface based on WSDL with a Service39.wsdl) struct extension Service40.h (system under test generated from Remotable service interface based on WSDL with Service40.wsdl) an enableWrapperStyle extension

220sca-ccni-1.1-testcases-cd02 14 October 2010 221Copyright © OASIS® 2010. All Rights Reserved. Page 74 of 85 Service41.h (system under test generated from Remotable service interface based on WSDL with a Service41.wsdl) prefix extension Service42.h (system under test generated from Remotable service interface based on WSDL with a Service42.wsdl) parameter extension with a simple type Service43.h (system under test generated from Remotable service interface based on WSDL with a Service43.wsdl) parameter extension with a complex type Service44.h Remotable service interface with multiple functions Service45.h Service interface annotated with @WebService Service46.h Remotable service with operation1 that sleeps before returning Service46P.h Same for a program implementation Service47.h Remotable service interface with a Callback interface (Service47Callback) Service47Callback.h Remotable callback interface for Service47 with callback1 that sleeps before returning

336

337I.2 C Implementations

Name Description Implementations xxxP.c are program-based and Services and References use interface Service1 use yyyP.h interfaces. Implementations zzzX.c unless described otherwise use proxy functions Service1Impl.c 1 service Service1Impl.componentType 0 references Service1ImplP.c Service1ImplP.componentType Service1Impl2X.c 1 service Service1Impl2X.componentType 1 reference Service1Impl3.c 1 service Service1Impl3.componentType 1 reference (1..n) Service1Impl7.c 1 service Service1Impl7.componentType 1 reference (1..1) with interface Service 4 Service1Impl14.c 1 service Service1Impl14.componentType 0 references Init function Service1Impl15.c 1 service Service1Impl15.componentType 1 reference (1..1) with interface Service11(P) Service1Impl15P.c Incorrect operation invoked Service1Impl15P.componentType

223sca-ccni-1.1-testcases-cd02 14 October 2010 224Copyright © OASIS® 2010. All Rights Reserved. Page 75 of 85 Service1Impl16.c 1 service Service1Impl16.componentType 1 reference (1..1) with interface Service15Exp Service1Impl17.c 1 service Service1Impl17.componentType 1 reference (1..1) with interface Service16 Service1Impl18.c 1 service Service1Impl18.componentType 0 references 5 integral properties Service1Impl19.c 1 service Service1Impl19.componentType 0 references 1 boolean and 2 floating-point properties Service1Impl20.c 1 service Service1Impl20.componentType 0 references 5 string/character properties Service1Impl21.c 1 service Service1Impl21.componentType 0 references 1 complex type property Service1Impl22.c 1 service Service1Impl22.componentType 1 reference Initial response buffer too small Service1Impl23.c 1 service Service1Impl23.componentType 1 reference (1..1) with interface Service18 Service1Impl24.c 1 service Service1Impl24.componentType 1 reference (1..1) with interface Service19(P) Service1Impl24P.c Service1Impl24P.componentType Service1Impl25P.c 1 service Service1Impl25P.componentType 1 reference (1..1) with interface Service20P Service1Impl26.c 1 service Service1Impl26.componentType 1 reference (1..1) with interface Service21 Service1Impl27.c 1 service Service1Impl27.componentType 1 reference (1..1) with interface Service22(P) Service1Impl27P.c Service1Impl27P.componentType Service1Impl28.c 1 service Service1Impl28.componentType 1 reference (1..1) with interface Service23(OW) Service1Impl28OW.c Service1Impl28OW.componentType Service1Impl29.c 1 service 226sca-ccni-1.1-testcases-cd02 14 October 2010 227Copyright © OASIS® 2010. All Rights Reserved. Page 76 of 85 Service1Impl29.componentType Service1Impl29OW.c 1 reference (1..1) with interface Service24(OW) Service1Impl29OW.componentType Service1Impl30.c 1 service 1 reference Service1Impl31.c 1 service Service1Impl31.componentType 0 references Composite scope with static variable and Init function Service1Impl32.c 1 service Service1Impl32.componentType 0 references 1 multi-valued integral property Service1Impl33.c 1 service Service1Impl33.componentType 1 reference (1..1) with interface Service25 Service1Impl34.c 1 service Service1Impl34.componentType 1 reference (1..1) with interface Service26 Service1Impl35.c 1 service Service1Impl35.componentType 1 reference (1..1) with interface Service27 Service1Impl36.c 1 service Service1Impl36.componentType 1 reference (1..1) with interface Service28 Service1Impl37.c 1 service Service1Impl37.componentType 1 reference (1..1) with interface Service29 Service1Impl38.c 1 service Service1Impl38.componentType 1 reference (1..1) with interface Service30 Service1Impl39.c 1 service Service1Impl39.componentType 1 reference (1..1) with interface Service31 Service1Impl40.c 1 service Service1Impl40.componentType 1 reference (1..1) with interface Service32 Service1Impl40F.componentType with interface Service32F Service1Impl41.c 1 service Service1Impl41.componentType 1 reference (1..1) with interface Service33(P) Service1Impl41P.c Service1Impl41P.componentType Service1Impl42.c 1 service Service1Impl42.componentType 1 reference (1..1) with interface Service34 Service1Impl43.c 1 service Service1Impl43.componentType 1 reference (1..1) with interface Service36

229sca-ccni-1.1-testcases-cd02 14 October 2010 230Copyright © OASIS® 2010. All Rights Reserved. Page 77 of 85 Service1Impl44.c 1 service Service1Impl44.componentType 1 reference (1..1) with interface Service37 Service1Impl45.c 1 service Service1Impl45.componentType 1 reference (1..1) with interface Service38 Service1Impl46.c 1 service Service1Impl46.componentType 1 reference (1..1) with interface Service39 Service1Impl47.c 1 service Service1Impl47.componentType 1 reference (1..1) with interface Service40 Service1Impl48.c 1 service Service1Impl48.componentType 1 reference (1..1) with interface Service41 Service1Impl49.c 1 service Service1Impl49.componentType 1 reference (1..1) with interface Service42 Service1Impl50.c 1 service Service1Impl50.componentType 1 reference (1..1) with interface Service43 Service1Impl51.c 1 service Service1Impl51.componentType 1 reference (1..1) with interface Service44 Service1Impl52.c 1 service Service1Impl52.componentType 1 reference (1..1) with interface Service45 Service1Impl53.c 1 service Service1Impl53.componentType 1 reference (1..1) with interface Service46(P) Service1Impl53P.c SCAInvokeAsync used Service1Impl53P.componentType Service1Impl53X.c Service1Impl53X.componentType Service1Impl54.c 1 service Service1Impl54.componentType 1 reference (1..1) with interface Service46 Service1Impl54X.c SCAInvokePoll used Service1Impl54X.componentType Service1Impl55.c 1 service Service1Impl55.componentType 1 reference (1..1) with interface Service46 SCAICancelAsync used Service1Impl56.c 1 service Service1Impl56.componentType 1 reference (1..1) Two threads created each invokes operation on reference Service1Impl57.c 1 service Service1Impl57.componentType 0 references Uses a global variable

232sca-ccni-1.1-testcases-cd02 14 October 2010 233Copyright © OASIS® 2010. All Rights Reserved. Page 78 of 85 Service1Callback5Impl.c 1 service Service1Callback5Impl.componentType 1 reference with Service5(P)/Service5Callback(P) Service1Callback5ImplP.c interfaces Service1Callback5ImplP.componentType Service1Callback5ImplX.c Service1Callback5ImplX.componentType Service1Callback6Impl.c 1 service Service1Callback6Impl.componentType 1 reference with Service6/Service6Callback interfaces Service1Callback7Impl.c 1 service Service1Callback7Impl.componentType 1 reference with Service7/Service7Callback interfaces Service1Callback12Impl.c 1 service Service1Callback12Impl.componentType 1 reference with Service12/Service12Callback Service1Callback12ImplP.c interfaces Service1Callback12ImplP.componentType Incorrect operation invoked Service1Callback47Impl.c 1 service Service1Callback47Impl.componentType 1 reference with Service47/Service47Callback Service1Callback47ImplX.c interfaces Service1Callback47ImplX.componentType Service1I_16mpl.c 2 services, one with interface Service1 and one Service1_16Impl.componentType with interface Service16 0 references - Operation of service1 invokes operation of service 16 Service1SupersetImpl2.c 1 service with interface Service1Superset Service1SupersetImpl2.componentType Service4Impl.c 1 service with interface Service4 Service4Impl.componentType

Service5ImplP.c 1 service with interface Service5P Service5ImplP.componentType Service5ImplX.c Service5ImplX.componentType Service6Impl.c 1 service with interface Service6 Service6Impl.componentType Service7Impl.c 1 service with interface Service6 Service7Impl.componentType Service11Impl.c 1 service with interface Service11 Service11Impl.componentType

235sca-ccni-1.1-testcases-cd02 14 October 2010 236Copyright © OASIS® 2010. All Rights Reserved. Page 79 of 85 Service11ImplP.c Service11ImplP.componentType Service12Impl.c 1 service with interface Service12(P) Service12Impl.componentType Service12ImplP.c Service12ImplP.componentType Service15Impl.c 1 service with interface Service15 Service15Impl.componentType Service16Impl.c 1 service with interface Service16 Service16Impl.componentType Service17Impl.c 1 service with interface Service17 Service17Impl.componentType Service18Impl.c 1 service with interface Service18 Service18Impl.componentType Service19Impl.c 1 service with interface Service19(P) Service19Impl.componentType Service19ImpPl.c Service19ImplP.componentType Service20ImplP.c 1 service with interface Service20P Service20ImplP.componentType Service21Impl.c 1 service with interface Service21 Service21Impl.componentType Service22Impl.c 1 service with interface Service22(P) Service22Impl.componentType Service22ImplP.c Service22ImplP.componentType Service23Impl.c 1 service with interface Service23 Service23Impl.componentType Service23ImplOW.componentType One function marked oneWay Service24Impl.c 1 service with interface Service24(P) Service24Impl.componentType Service24ImplP.c Service24ImplP.componentType Service24ImplOW.componentType One function marked oneWay Service25Impl.c 1 service with interface Service25 Service25Impl.componentType Service26Impl.c 1 service with interface Service26

238sca-ccni-1.1-testcases-cd02 14 October 2010 239Copyright © OASIS® 2010. All Rights Reserved. Page 80 of 85 Service26Impl.componentType Service27Impl.c 1 service with interface Service27 Service27Impl.componentType Service28Impl.c 1 service with interface Service28 Service28Impl.componentType Service29Impl.c 1 service with interface Service29 Service29Impl.componentType Service30Impl.c 1 service with interface Service30 Service30Impl.componentType Service31Impl.c 1 service with interface Service31 Service31Impl.componentType Service32Impl.c 1 service with interface Service32 Service32Impl.componentType Service32ImplF.componentType with interface Service32F Service33Impl.c 1 service with interface Service33(P) Service33Impl.componentType Service33ImplP.c Service33ImplP.componentType Service3435Impl.c 1 service with interface Service34 Service3435Impl.componentType 1 service with interface Service35 Service36Impl.c 1 service with interface Service36 Service36Impl.componentType Service37Impl.c 1 service with interface Service37 Service37Impl.componentType Service38Impl.c 1 service with interface Service38 Service38Impl.componentType Service39Impl.c 1 service with interface Service39 Service39Impl.componentType Service40Impl.c 1 service with interface Service40 Service40Impl.componentType Service41Impl.c 1 service with interface Service41 Service41Impl.componentType Service42Impl.c 1 service with interface Service42 Service42Impl.componentType Service43Impl.c 1 service with interface Service43 Service43Impl.componentType

241sca-ccni-1.1-testcases-cd02 14 October 2010 242Copyright © OASIS® 2010. All Rights Reserved. Page 81 of 85 Service44Impl.c 1 service with interface Service44 Service44Impl.componentType Service45Impl.c 1 service with interface Service45 Service45Impl.componentType Service46Impl.c 1 service with interface Service46(P) Service46Impl.componentType Service46ImplP.c Service46ImplP.componentType Service47Impl.c 1 service with interface Service47 Service47Impl.componentType Service47ImplX.c Service47ImplX.componentType

338

244sca-ccni-1.1-testcases-cd02 14 October 2010 245Copyright © OASIS® 2010. All Rights Reserved. Page 82 of 85 339J Conformance 340There are no conformance statements relating to the TestCases.

247sca-ccni-1.1-testcases-cd02 14 October 2010 248Copyright © OASIS® 2010. All Rights Reserved. Page 83 of 85 341A. Acknowledgements

342The following individuals have participated in the creation of this specification and are gratefully 343acknowledged: 344Participants: Participant Name Affiliation Bryan Aupperle IBM Andrew Borley IBM Jean-Sebastien Delfino IBM Mike Edwards IBM David Haney Individual Mark Little Red Hat Jeff Mischkinsky Oracle Corporation Peter Robbins IBM

250sca-ccni-1.1-testcases-cd02 14 October 2010 251Copyright © OASIS® 2010. All Rights Reserved. Page 84 of 85 345B. Revision History

346[optional; should not be included in OASIS Standards] 347 Revision Date Editor Changes Made

348

253sca-ccni-1.1-testcases-cd02 14 October 2010 254Copyright © OASIS® 2010. All Rights Reserved. Page 85 of 85