UML class diagram web service

徘徊边缘 提交于 2019-12-05 18:58:16
VonC

You could also use WSDL (Web Services Description Language) UML profile with the appropriate WSDL stereotypes.

That would give for example:

--------------------
| <<wsdl:service>> |
--------------------
|   MyWebService   |
--------------------
|                  |
--------------------
|                  |
--------------------
{URI="/MyWebService"}

A full UML example involving many components of a web service would be:


(source: xml.com)

Sounds like a sequence diagram, with client and service instances, where the client makes the call to the service. If the request is synchronous, you'll see the return come back to the client; if not, there's no return.

I would have draw the web service as an interface.

I would put a boundary around the web service to indicate it's located outside my system boundary.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!