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: 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.
  


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