How to draw a web service using UML

25,174

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.

Share:
25,174
Rafael Borja
Author by

Rafael Borja

Java Developer SCWCD SCJP

Updated on March 27, 2020

Comments

  • Rafael Borja
    Rafael Borja about 4 years

    What's the best and most elegant way to represent a web service interface using a UML class diagram?

  • Tersosauros
    Tersosauros about 8 years
    This article also uses a class diagram, as well as a " solution outline ". A Sequence Diagram is not for showing structure. These approaches are all based around the very old WSDL/SOAP WS models. Modern RESTful WS APIs just use documentation to communicate the service's structure and responses.