thoughts - Does top-down web service approach mar OO concepts of polymorphism and inheritance
posted 5 years ago
For my new project we are using top-down approach to web service development and as we go about creating xml schemas and wsdl operations increasingly I feel OO concepts of polymorphism and inheritance will not fit in naturally. This is related to the inputs to wsdl operations. All inputs now don't extend any domain class. I am not sure there is a way to do it nor is that my question.
So as I go about creating/customizing the java code produced by the wsdl2java converter I see it difficult to fit the OO concepts and relying more on compose-always design paradigm.
Is this fine and good sign and also is it a generally preferred behavior with top-down implementation.