|
I don't see why the scenario you describe as a problem for complex-type extension is a shortcoming of WXS. This is just polymorphism, as used throughout OO systems. It's important to be aware of the pitfalls (even that seems too strong a word), but this seems to be a feature of WXS, not a bug or limitation.
From your <signature>, I can guess that we see this differently, especially the OO aspect! But note that this WXS feature is used to good effect in many Web-service implementations, enabling (in a struggling, poorly-understood form, I'll admit) polymorphism over the SOAP wire. Also consider binding technology such as JAXB, which maps extension to extension -- and polymorphism to polymorphism.
|