Web Services Distributed Management: Management Using Web Services
Web services
-
Upload
yesith-valencia -
Category
Education
-
view
266 -
download
0
Transcript of Web services
![Page 1: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/1.jpg)
Web ServicesYesith Valencia, MSc.
![Page 2: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/2.jpg)
Web Services. Yesith Valencia, MSc. 2
Definición Es una tecnología que utiliza un conjunto de protocolos y
estándares que sirven para intercambiar datos entre aplicaciones.
![Page 3: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/3.jpg)
Web Services. Yesith Valencia, MSc. 3
Un Web Service con un cliente
![Page 4: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/4.jpg)
Web Services. Yesith Valencia, MSc. 4
![Page 5: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/5.jpg)
Web Services. Yesith Valencia, MSc. 5
Características Infraestructura abierta Transparencia entre lenguajes de programación Diseño modular
![Page 6: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/6.jpg)
Web Services. Yesith Valencia, MSc. 6
Web Serivices como front-end
![Page 7: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/7.jpg)
Web Services. Yesith Valencia, MSc. 7
WS accesado desde internet
![Page 8: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/8.jpg)
Web Services. Yesith Valencia, MSc. 8
WS permite una capa entre:
![Page 9: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/9.jpg)
Web Services. Yesith Valencia, MSc. 9
Algunos Protocolos usados XML protocol XKMS SAML XML Dsig XML Enc XSD
P3P WSFL Jabber ebXML
![Page 10: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/10.jpg)
Web Services. Yesith Valencia, MSc. 10
Peer WS model
![Page 11: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/11.jpg)
Web Services. Yesith Valencia, MSc. 11
Pionero
![Page 12: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/12.jpg)
Web Services. Yesith Valencia, MSc. 12
Ejercicio en clase Buscar un Web Service
Seleccionar cinco (5) productos que se ofrezcan Buscar dichos productos en las páginas oficiales Comparar el precio de dichos productos y las condiciones en general
(Garantía, fecha de entrega, accesorios, formas de pago, etc.)
Proponer un Web Service que no exista o no sea tan popular y que se pueda mejorar o implementar como idea de negocio o proyecto de grado
![Page 13: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/13.jpg)
Web Services. Yesith Valencia, MSc. 13
El hola mundo del Web Service (SOAP) UDDI: Universal Description, Discovery and Integration.
(Repositorio de WS) ahí se publican WSDL: “Interfaz” del WS, Métodos, retorno y parámetros, y la
dirección real .php: Realiza la operación
![Page 14: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/14.jpg)
Fase I: Configurar el servidorEste corresponde al computador donde se van a publicar los servicios que luego el cliente va a consumir
![Page 15: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/15.jpg)
Web Services. Yesith Valencia, MSc. 15
Paso 1: Activar librería Activar la librería php_soap.dll ubicado en php.ini (Quitar ;)
Reiniciar todos los servicios
![Page 16: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/16.jpg)
Web Services. Yesith Valencia, MSc. 16
Paso 1: Activar librería Verificamos en php.info
![Page 17: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/17.jpg)
Web Services. Yesith Valencia, MSc. 17
Paso 2: Crear los siguientes archivos
![Page 18: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/18.jpg)
Web Services. Yesith Valencia, MSc. 18
Paso 2.1: Carpeta classes logic.class.php:
![Page 19: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/19.jpg)
Web Services. Yesith Valencia, MSc. 19
Paso 2.2: Archivo index.php (Opcional)
![Page 20: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/20.jpg)
Web Services. Yesith Valencia, MSc. 20
Paso 2.3: Carpeta lib Se encuentra en el DropBox:
![Page 21: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/21.jpg)
Web Services. Yesith Valencia, MSc. 21
Paso 2.4: Archivo server.php
![Page 22: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/22.jpg)
Web Services. Yesith Valencia, MSc. 22
Paso 2.5: Archivo wsdl.php
![Page 23: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/23.jpg)
Fase II: Configurar el clienteEste corresponde al cliente que va a consumir el WS
![Page 24: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/24.jpg)
Web Services. Yesith Valencia, MSc. 24
Index.php
![Page 25: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/25.jpg)
Web Services. Yesith Valencia, MSc. 25
Index.php
![Page 26: Web services](https://reader035.fdocuments.in/reader035/viewer/2022070515/587975601a28ab37368b729b/html5/thumbnails/26.jpg)
Web Services. Yesith Valencia, MSc. 26
http://localhost/ws/client/