What's the best and most elegant way to represent a web service interface using a UML class diagram?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Well it is just a diagram to help pass a point so whatever is clear. One option is to use stereotypes put "contract" on the interface and put "web service" on the class.
回答2:
I would use a Sequence Diagram not a Class Diagram.
Web Service with UML