Professional Documents
Culture Documents
Vo Thanh Hung
Chapter 2
Web Services The concept of
Web service
Web Services
Languages
Mobile Application Development (Formats)
Implement
Example - REST
Exercise
Vo Thanh Hung
Faculty of Computer Science and Engineering
Ho Chi Minh University of Technology, VNU-HCM
2.1
Web Services
Overview
Vo Thanh Hung
The concept of
2 Web Services Languages (Formats) Web service
Web Services
Languages
(Formats)
3 Implement Implement
Example - REST
Exercise
4 Example - REST
5 Exercise
2.2
Web Services
What is?
Vo Thanh Hung
The concept of
Web service
"a software system designed to support interoperable Web Services
Languages
machine-to-machine interaction over a network" (W3C. (Formats)
2004-02-11) Implement
Example - REST
Exercise
2.3
Web Services
What is?
Vo Thanh Hung
The concept of
• port 80 or 443 Web service
Web Services
Languages
(Formats)
Implement
Example - REST
Exercise
2.4
Web Services
What is?
Vo Thanh Hung
The concept of
• port 80 or 443 Web service
Web Services
Languages
Implement
Example - REST
Exercise
2.4
Web Services
What is?
Vo Thanh Hung
The concept of
• port 80 or 443 Web service
Web Services
Languages
Implement
Example - REST
2.4
Web Services
Advantages of WS
Vo Thanh Hung
Web Services
Languages
(Formats)
Implement
Example - REST
Exercise
2.5
Web Services
Advantages of WS
Vo Thanh Hung
Web Services
Languages
• consumability, which is the ability to (Formats)
Implement
understand what the server is Example - REST
communicating Exercise
2.5
Web Services
WS Languages
Vo Thanh Hung
The concept of
Web service
• XML Web Services
Languages
(Formats)
Implement
Example - REST
-> human-readable text documents Exercise
2.6
Web Services
WS Languages
Vo Thanh Hung
The concept of
Web service
• XML Web Services
Languages
(Formats)
• JSON Implement
Example - REST
-> human-readable text documents Exercise
2.6
Web Services
WS Languages
Vo Thanh Hung
Example - REST
Exercise
2.7
Web Services
WS Languages
Vo Thanh Hung
Example - REST
• Base64 Exercise
2.7
Web Services
How to implement?
Vo Thanh Hung
The concept of
Web service
Exercise
Web Services
Languages
How to implement? What language can be (Formats)
Implement
used? ... Example - REST
Exercise
2.8
Web Services
Principles of REST
Vo Thanh Hung
The concept of
Web service
Web Services
Languages
(Formats)
Implement
Example - REST
Exercise
(Source: https://spring.io/understanding/REST)
2.9
Web Services
Principles of REST
Vo Thanh Hung
The concept of
Web service
Web Services
Languages
(Formats)
Implement
Example - REST
Exercise
(Source: https://spring.io/understanding/REST)
2.9
Web Services
Principles of REST
Vo Thanh Hung
Web Services
Languages
(Formats)
Implement
Example - REST
Exercise
(Source: https://spring.io/understanding/REST)
2.9
Web Services
Principles of REST
Vo Thanh Hung
Web Services
• Messages use HTTP methods explicitly Languages
(Formats)
Example - REST
DELETE). Exercise
(Source: https://spring.io/understanding/REST)
2.9
Web Services
Principles of REST
Vo Thanh Hung
Web Services
• Messages use HTTP methods explicitly Languages
(Formats)
Example - REST
DELETE). Exercise
The concept of
Web service
Web Services
https://spring.io/guides/gs/rest-service/ Languages
(Formats)
Implement
Example - REST
Exercise
2.10