OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [sca-assembly] NEW ISSUE: Use of java.lang.StringBuffer in test 8002



Logged as: http://www.osoa.org/jira/browse/ASSEMBLY-198

Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com



From: Jim Marino <jim.marino@gmail.com>
To: OASIS Assembly <sca-assembly@lists.oasis-open.org>
Date: 11/01/2010 18:16
Subject: [sca-assembly] NEW ISSUE: Use of java.lang.StringBuffer in test 8002





TARGET: SCA Assembly Conformance Tests

DESCRIPTION:


Service4.wsdl contains a complex type, stringBuffer that requires mapping to java.lang.StringBuffer in the Java interface Service4 (as an operation parameter) in composite TEST_ASM_8002. There is no default mapping in JAXB from an XSD type to StringBuffer

SVN Version: 426

PROPOSAL:


The purpose of this test is to check for the enforcement of pass-by-value semantics. There are several ways other to achieve this:

1. Using interoperable types that can be mapped from an XSD type to a Java type such as an array of strings or a list. This will, however, require a mapping technology such as JAXB

2. Restructure the test to verify pass-by-value semantics using collocated components with remotable interfaces. In this scenario, for the Java tests, a test component will be exposed as a web service endpoint and wired to a component offering remotable interface using interface.java. The parameter type used to check for pass-by-value semantics can be any Java object type, such as an Array or List. For other languages, a similar language-specific interface mechanism can be used.
 







Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]