![Page 1: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/1.jpg)
Caso Estudio: Modelado de Web Services con UML
• Web Services: – Exponen funcionalidad de aplicaciones
ocultando la complejidad interna – Se basan en estándares de la industria
(SOAP, XML) – Se puede implementar mediante diversos
protocolos de comunicación (JMS, HTTP, RMI, etc.)
– Es la técnica más utilizada para implementar SOA
![Page 2: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/2.jpg)
Arquitectura en pila de Web Services
![Page 3: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/3.jpg)
Funcionamiento de Web Services
![Page 4: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/4.jpg)
Modelo casos de Uso de WS
![Page 5: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/5.jpg)
Implementación de Casos de Uso
![Page 6: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/6.jpg)
Modelo de Paquetes para WS
![Page 7: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/7.jpg)
Estructura de WSDL
![Page 8: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/8.jpg)
Modelo estructura WSDL
![Page 9: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/9.jpg)
UML a WSDL
![Page 10: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/10.jpg)
Servicios como componentes UML
![Page 11: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/11.jpg)
Interfaces de Servicios
![Page 12: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/12.jpg)
Modelo Lógico del Servicio
![Page 13: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/13.jpg)
Todo junto: Componentes, clases e interfaces
![Page 14: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/14.jpg)
Diseño orientado a Servicio
![Page 15: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/15.jpg)
Modelo de implementación
![Page 16: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/16.jpg)
Resumen de UML a WS
• Transformaciones: – Las operaciones de Web Services (WSDL)
son operaciones UML – Los grupos de estructuras de web services
son interfaces o clases UML – Las estructuras de datos de los Web Services
como diagramas de clases UML – El flujo de los Web Services usando
diagramas de actividad
![Page 17: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/17.jpg)
Extendiendo el UML a SOA
• Service Oriented Architecture (SOA) es un paradigma para organizar y utilizar de forma distribuida las capacidades que pueden estar bajo dominios diferentes.
• Algunas elementos de SOA requieren más que transformaciones utilizar perfiles UML
![Page 18: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/18.jpg)
Perfil UML para SOA
![Page 19: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/19.jpg)
Representación de los elementos de la arquitectura
![Page 20: Web Services - DECC | PUJC – Departamento de ...cic.puj.edu.co/wiki/lib/exe/fetch.php?media=materias:parteuml-ws.pdf · Extendiendo el UML a SOA • Service Oriented Architecture](https://reader030.vdocuments.pub/reader030/viewer/2022040314/5e14f36dd0a5af093f587ad6/html5/thumbnails/20.jpg)
Ejemplo: Diagrama de Componentes