|
I appreciate your thoughtful comments, and that you are clearly taking the details of UML modeling seriously. I've considered each of your points, and offer responses below:
1. Right you are. I can only plead temporary insanity on this -- they are all backwards! Worse, this makes them inconsistent with my previous article on UML for WXS. On this one and your second point, I may see about updating the article diagrams, since the error is significant and alters meaning.
2. You make an excellent point. The <<portType>> and <<port>> stereotypes I'm suggesting describe more than one artifact each: both WSDL and native-language productions are likely, and there will be various relationships between the portType-produced and port-produced entities. As such, specialization seemed a broader and more natural statement about the relationship. However, your comment reminds me that the notation should most naturally fit the abstract model of the Web service in question, and not be dragged around too much by the likely shape of the implementation. Whatever <<portType>> and <<port>> are, they are clearly not the same sort of bird, and so true specialization is off the mark, as you suggest, and realization is a more accurate choice.
3. I'm not sure what exactly you're looking for here, but generally speaking I think not much of use can be said about the dependency from the port to the domain class, beyond its existence. That is, at this level of design, and mixing WSDL, WXS and native-language concepts so tersely, I mean only to indicate that WalkIn will have to make use of Member, somehow, to do its job. It is a general tenet of UML practice that partial specification is always acceptable, as it supports an iterative process, and at this point in the hypothetical design process I feel that stating the dependency is all that's appropriate. A later pass might flesh out this dependency with additional facts, and even break it out into its own diagram with additional -- perhaps generated -- types, associations, names, etc.
Thanks for calling these out.
|