Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2-RC
-
Fix Version/s: None
-
Component/s: Aegis Module
-
Labels:None
-
Number of attachments :
Description
Using a class hierarchy such as:
abstract class Base{}
abstract class Class1 extends Base{}
generates a correct schema (WSDL) hierarchy. If Base (or Base & Class1) are interfaces, the polymorphic hierarchy is dropped. It looks like the xsi:complexContent element is only being added for superclasses. If you wish to expose all services over interfaces, then polymorphism is not possible.
I started looking into this, but I don't see how xml schema could support multiple inheritance (which is what interfaces require). We could switch to substitution groups, but I don't see that happening in the near future. I'm unscheduling this for 1.2 for now.