Aula - 06 - Web Services
Aula - 06 - Web Services
Sistemas de Informação
Web Services
1 Objectivos
1
09/04/2021
2
09/04/2021
5 Definitions
Web Services
´ Software systems designed to support interoperable
machine-to-machine interaction over a network.(W3C)
´ Messages in-between are XML-based
3
09/04/2021
6 Definitions
UDDI
´ Universal Description, Discovery and Integration
´ A platform-independent XML-based registry for businesses
worldwide to list themselves on the Internet.
SOAP
´ Simply Object Access Protocol
´ A protocol for exchanging XML-based messages over
computer networks by HTTP/HTTPS.
7 Web Services
4
09/04/2021
Service requestor
´ Consumes the web services
Service registry
´ Logically centralized registry provides a central place where
allows developers to publishnew services or search (or
discover)existing ones
5
09/04/2021
10
10
11
11
6
09/04/2021
12 Web services
Service offered trough a website
12
13
7
09/04/2021
14
15 Components
´ Software components are reusable.
15
8
09/04/2021
16 Web Services
´ Web services are reusable too.
´ To be used a service must:
´ be published on the Web (once)
´ advertise its description and location to potential clients across
the Web so that they can access it using standard protocols.
´ Web Services can be sold too: service providers can charge on a
per-call basis.
´ Like components, web services can be reused, composed into
larger systems and (of course) they can be found on the Web.
´ Unlike components, Web services do not have to be downloaded
and deployed in order to be used by clients.
´ Instead, a client may discover and access their functionality by
using standard protocols (SOAP, HTTP)
16
17 Component Interoperability
´ Due to lack of interoperability, it is not always possible to build
a distributed system using heterogeneous components.
17
9
09/04/2021
18
19 API
´ An application programming interface(API) is a set of
routines, protocols, and tools for building software and
applications
´ http://www.programmableweb.com/category/all/apis
19
10
09/04/2021
20 API Examples
´ Twitter (http://www.tweetbeam.com)
20
21
21
11
09/04/2021
22
23
12
09/04/2021
24
25
13
09/04/2021
26
27
´Dúvidas!!!
27
14