Introduction To Web Services

21
Presents Introduction To Web Services 4 Circles LLC Copyright

description

What are web services? What kinds of web services are there? What is WSDL, UDDI, SOAP, REST in enterprise architecture and information technology?

Transcript of Introduction To Web Services

Page 1: Introduction To Web Services

4 Circles LLC Copyright

Presents

Introduction To

Web Services

Page 2: Introduction To Web Services

4 Circles LLC Copyright

Overview

As an example we consider Ashram Hotels, a five star hotel.

Ashram Hotels has been in hospitality business for more than 20 years and has acquired many

different application systems which work on different operating systems.

Their goal is to facilitate data transfer between these systems and make data access seamless

Page 3: Introduction To Web Services

4 Circles LLC Copyright

Data

• Data exists in text files, excel sheets, databases and other propretiary formats. These need to be transferred between one system to another say Housekeeping and Reservation systems.

• Data access to the user should be seamless – that they need not log on to different systems to access information.

Page 4: Introduction To Web Services

4 Circles LLC Copyright

Ashram Hotels Technology -Systems

VOIP e-Fax

SERVICES

• Property Management System (PMS) will be off the shelf which is customizable.• Customer Relationship Management (CRM) will be compatible with PMS, Reservation System and other systems.

Wireless Delivery.com G-Maps

SYSTEMS

CRMReservation System

PMS

e-Mail Server

Services consists of:• VOIP, e-Fax services for business/personal communication. •Wireless services for all wireless clients internal and external.•Delivery.com is a service where guests can order from nearby restaurants, laundry etc.

Page 5: Introduction To Web Services

4 Circles LLC Copyright

Access

• To access the various systems in previous slide employee and also guests (for some of the systems) need an interface (client interface). These can be a web page, an application, mobile device etc.

• The card key system also needs to de-activate when the guest checks out which is another client interface.

Page 6: Introduction To Web Services

4 Circles LLC Copyright

Ashram Hotels Technology - Clients

Online Res.

Room Key/Check In

MS Surface

CLIENTS

TV Res.

iPhone

Wireless Devices eFax

Kiosks

• SmartKey is a check in, frequent guest card and room key. • Kiosks are available for check-In and other guest services. •Microsoft Surface (MS Surface) available for guests in the lobby . •Online Reservations, Wireless Communications and E-fax are other technical features available for guests. •Legacy methods of reservations and check-in and out will also be options for guests – like reception desk, TV and even Fax.

Page 7: Introduction To Web Services

4 Circles LLC Copyright

Issues

• There are different clients and systems which may not be compatible with some of the clients.

• With self-reservation on the rise Ashram hotels is behind the competition.

• Employees and guests need to refer to say Google Maps for directions rather than that being integrated.

• Reports to directors and executives takes many weeks to prepare.

Page 8: Introduction To Web Services

4 Circles LLC Copyright

Solution

• Integrating these various systems to the clients is the solution.

• The best solution is to utilize what systems in place and integrate them with the clients and between themselves.

• The method of integration is called middleware services and sometimes loosely called web services- as most of the data is transferred over the web via HTTP protocol.

Page 9: Introduction To Web Services

4 Circles LLC Copyright

Ashram Hotels – Integration Platform

Page 10: Introduction To Web Services

4 Circles LLC Copyright

Middleware Services

Middleware Services can be loosely defined as services which bring about communication between heterogeneous application systems. E.g. J2EE app with .NET app or any other proprietary applications. The middleware connects users /systems with other systems.

1. Each system has different protocols to communicate with their middle-ware.

2. Some use XML (a customized HTML) - a stream or a file is passed. Documents can also be passed between systems

3. MS technology ‘s SOAP has recently gained a lot of popularity with Web Services .

4. Web Services is the global method which includes receiving messages from all kinds of clients i.e. wireless devices and traditional systems.

Page 11: Introduction To Web Services

4 Circles LLC Copyright

Between Systems

• Middleware Systems exist internally between say two or more systems which may have to be written.

• These integration APIs (Application Programming Interface) can be bought or written.

• WARNING: Sometimes an API is not available between systems.

Page 12: Introduction To Web Services

4 Circles LLC Copyright

Web Services

• When two systems cannot be integrated or an external client wants to get access one of the system say Expedia would like to access available rooms; then we define a middleware service for users/systems to access data on Ashram application system.

• To implement the middleware we use web services which use open protocol over HTML.

• As the data is request/response and is transmitted over the web these services are called web services. Amazon and Google provide web services for external users/vendors.

Page 13: Introduction To Web Services

4 Circles LLC Copyright

Web Services 2

What are Web Services?• Web services are application components• Web services communicate using open protocols• Web services are self-contained and self-describing• Web services can be discovered using UDDI• Web services can be used by other applications• XML is the basis for Web services

Reference: http://www.w3schools.com/webservices/ws_intro.asp

Page 14: Introduction To Web Services

4 Circles LLC Copyright

What is SOAP?SOAP is an XML-based protocol to let applications exchange information

over HTTP.• Or more simple: SOAP is a protocol for accessing a Web Service.• SOAP stands for Simple Object Access Protocol• SOAP is a communication protocol• SOAP is a format for sending messages• SOAP is designed to communicate via Internet • SOAP is platform independent• SOAP is language independent• SOAP is based on XML• SOAP is simple and extensible• SOAP allows you to get around firewalls• SOAP is a W3C standard

Page 15: Introduction To Web Services

4 Circles LLC Copyright

What is WSDL

WSDL is an XML-based language for locating and describing Web services.

• WSDL stands for Web Services Description Language• WSDL is based on XML• WSDL is used to describe Web services• WSDL is used to locate Web services• WSDL is a W3C standard

Page 16: Introduction To Web Services

4 Circles LLC Copyright

What is UDDI?

UDDI is a directory service where companies can register and search for Web services.

• UDDI stands for Universal Description, Discovery and Integration

• UDDI is a directory for storing information about web services

• UDDI is a directory of web service interfaces described by WSDL

• UDDI communicates via SOAP• UDDI is built into the Microsoft .NET platform

Page 17: Introduction To Web Services

4 Circles LLC Copyright

What is REST web service?A REpresentational State Transfer (REST) web service (also

called a RESTful web service) is a web service implemented using HTTP and the principles of REST. It is a collection of resources, below defined aspects:

1. the base URI for the web service, is http://example.com/resources/

2. the Internet media type of the data supported by the web service is often JSON, XML or YAML but can be any other valid Internet media type.

3. the set of operations supported by the web service using HTTP methods (e.g., POST, GET, PUT or DELETE).

4. The API must be hypertext driven.

Page 18: Introduction To Web Services

4 Circles LLC Copyright

Web Services Summary

• Web services elements are SOAP, WSDL and UDDI which communicate between applications over HTML protocol using XML based requests and responses.

• REST is also a different kind of web services which uses as end-points a URL. The best example of REST service is the web.

Page 19: Introduction To Web Services

4 Circles LLC Copyright

City Stay Hotels – Integration Platform

Page 20: Introduction To Web Services

4 Circles LLC Copyright

A Use Case

Guest Requests

Tickets

System creates request Sends to middleware

TicketMaster

External Vendors

Page 21: Introduction To Web Services

4 Circles LLC Copyright

Web Services• Over twelve years of experince in various industries

implementing integration of different systems and applications using web services, middleware programs.

• Trained technical and non-technical personnel on web services, middleware technologies etc.

• Some clients who have benefitted : • ResortQuest • Comcast, WildBlue, CenturyLink• HP, Motorola, Nextel.

• For more information contact 4 Circles via email [email protected]