Booking A Trip - Using WWW/HTML
Booking A Trip - Using WWW/HTML
Julian Zappala
User with a Hotel Reservation
browser Website
communication:
HTTP over TCP/IP
Rental Car
Reservation
Website
Document
1 (usually HTML) 4
− A use of HTTP, XML and other standards from the web architecture as Invoke services
the building blocks
− A typical focus on enterprise wide and inter-enterprise operations Service Requestor
Desktop Travel
Tim Berners-Lee Reservation
Services
2002 Provider Rental Car
Reservation
3 System 6
After “Developing Java Web Services” Figure 2.1
1
Booking a Trip – Using Web
Core Web Service Standards
Services
Travel reservation services provider exposes Extensible Markup Language (XML)
travel services via a web service interfaces − How to encode arbitrary information in document
The services are registered with (described in) form
the travel services registry SOAP (formerly known as Simple Object Access Protocol)
A customer discovers the service(s) from the − How to express web service requests and
registry (or other search engine) responses in XML
They then directly request things (“services”, Web Services Definition Language (WSDL)
e.g. a reservation) from those web services − Defines the operations, data types and faults that
characterise a web service
7 10
2
A Technical View of Web Services Challenges for web services
Web Services communicate Distributed transactions
using
− How are success, failure and recovery coordinated?
are described
by Quality of Server (QoS)
is written XML is written
in in − How can we ensure reliability and dependability?
WSDL SOAP
− How can service-level agreements be enforced?
binds to
is discovered (is realised by)
Security
through
is accessed
− This is all happening over the internet…
using
− Publicly exposed core business services and
UDDI
operations!
13 16
15