Tema 2. Entorno Macroambiental de Paises Clientes y Paises Proveedores
Metodología Web Services adoptada en el Portal ScienTI para conectar servicios de consulta y de...
-
Upload
dorotea-salvador -
Category
Documents
-
view
4 -
download
0
Transcript of Metodología Web Services adoptada en el Portal ScienTI para conectar servicios de consulta y de...
Metodología Web Services adoptada en el Portal ScienTI para conectar servicios de consulta y de indicadores en los paises.
Buenos Aires, Argentina
26 de agosto de 2004
• Trabajo en red
• Arquitectura de información del Portal ScienTI
NivelSoporte de Datos
NivelComponente
NivelUnidad deInformación
RDBMS BD-DocSAP otro
API BAPI
Filesystem
Archivo
Datos
Unidad deInformación
API API API
componente
f(datos)
f(componente)
SitiosAgrupaciones de URLs
http
NivelSitio Páginas
http http http
• Portal ScienTI sigue el modelo de la BVS
c
Red de fuentes de información
Red de índices
Red de interfaces
internet
Browser:- PC, PDA, Teléfono, ...
• Necesidades– Intercambio de información entre sistemas
distintos– Patrón– Portabilidad– Flexibilidad– Extensible– Independencia de plataforma tecnológica– A través de la Internet
ProtocoloProtocolopatrón de lapatrón de la
WebWeb
Web Web ServiceService
Una aplicación accesible a Una aplicación accesible a través de protocolos patrón través de protocolos patrón en la weben la web
UDDIUDDIUniversal Description, Universal Description,
Discovery, and IntegrationDiscovery, and Integration
UDDIUDDIUniversal Description, Universal Description,
Discovery, and IntegrationDiscovery, and Integration
Directorio de Web Services Directorio de Web Services en la Internet (o intranet)en la Internet (o intranet)
WSDLWSDLWeb ServicesWeb Services
Description LanguageDescription Language
WSDLWSDLWeb ServicesWeb Services
Description LanguageDescription Language Describe un Web ServiceDescribe un Web Service
SOAPSOAPSimple ObjectSimple Object
Access ProtocolAccess Protocol
SOAPSOAPSimple ObjectSimple Object
Access ProtocolAccess Protocol Llama un Web Service Llama un Web Service
XML, XSD & HTTPXML, XSD & HTTPXML, XSD & HTTPXML, XSD & HTTP Construido con patrones WebConstruido con patrones Web
• Un ejemplo práctico de Web Services
• Portal ScienTI y los Web Services
Fuente deInformación
Service1
Service2
Service3
ServiceX
Otra Fuente deInformación
ServiceW
ServiceM
ServiceP
ServiceZ
Fuente deInformación
ServiceY
ServiceA
ServiceB
ServiceC
ServiceX/Y
Red de interfacesRed de índicesRed de fuentes de información
Cualquier interface (XSL)Web Services (XML)Cualquier fuente de información
• XML + XSL = la rede de interfaces<?xml version = '1.0'?><ROWSET> <ROW num="1"> <EMPNO>7369</EMPNO> <ENAME>SMITH</ENAME> <JOB>CLERK</JOB> <MGR>7902</MGR> <HIREDATE>12/17/1980 0:0:0</HIREDATE> <SAL>800</SAL> <DEPTNO>20</DEPTNO> </ROW></ROWSET> XML
<?xml version="1.0"?><html xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0"> <head><title>Employees</title></head> <body> <h1>Employees</h1> <table border="1"> <tr> <th>Empno</th><th>Ename</th><th>Deptno</th> </tr> <tr> <td><xsl:value-of select="ROWSET/ROW/EMPNO"/></td> <td><xsl:value-of select="ROWSET/ROW/ENAME"/></td> <td><xsl:value-of select="ROWSET/ROW/DEPTNO"/></td> </tr> </table> </body></html> XSL
<html>h <head> <title>Employees</title> </head> <body> <h1>Employees</h1> <table border="1"> <tr> <th>Empno</th> <th>Ename</th> <th>Deptno</th> </tr> <tr> <td>7369</td> <td>SMITH</td> <td>20</td> </tr> </table> </body></html>
HTML
PDFRTFTXTXMLWMLetc
• Ventajas– Arquitectura de información basada en
servicios ofrecidos por las fuentes de información
– Documentación siempre al día (WSDL y UDDI)
– Fácil estadarización– Fácil integración– Las aplicaciones o soluciones inter-operan a
través de los web services– Inter-operabilidad
Portal ScienTI: ejemplo de búsquedas
• Lo que hay en las búsquedas
.
.