[KULRICE-5188] Need to remove ImmutableListAdapter and ImmutableCollectionAdapter from our service definitions and come up with a better solution because it is producing undesirable XML Created: 06/Jun/11 Updated: 23/Feb/12 Resolved: 13/Jun/11
|Project:||Kuali Rice Development|
|Component/s:||Development, Version Compatibility|
|Fix Version/s:||2.0.0-m5, 2.0|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Eric Westfall||Assignee:||Jason Whaley (Inactive)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
Currently, the ImmutableListAdapter is producing XML schema like the following (this example is from the GroupService):
In this case, anyTypeArray comes from the http://jaxb.dev.java.net/array schema and does not properly use the schema types from the elements of the "array". This is because this adapater is currently declared as follows:
This use of Object triggers the issue. Unfortunately, because of the nature of type erasure and the way that the JAXB adapter system works, there is no way to create a single, general-purpose adapter that targets the appropriate parameterized list type.
Possible options here include:
Either way, the current usage of ImmutableListAdapter and ImmutableCollectionAdapter needs to be removed.
|Comment by Jason Whaley (Inactive) [ 07/Jun/11 ]|
Polled the cxf-user mailing list for feedback on how best to handle this.
|Comment by Jason Whaley (Inactive) [ 13/Jun/11 ]|
Marking resolved as of r20889 in trunk.
|Comment by Rice-CI User (Inactive) [ 14/Jun/11 ]|
Integrated in rice-trunk-nightly #86 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/86/)
|Comment by Jessica Coltrin (Inactive) [ 23/Feb/12 ]|
Closing since these items are now in the release notes.