How to draw a web service using UML [closed]

2019-05-06 15:33发布

问题:

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