![Page 1: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/1.jpg)
Unraveling the Web Services
An Introduc7on to SOAP, WSDL and UDDI
Sri Harsha Bolise?
![Page 2: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/2.jpg)
Overview
• Web Services
• SOAP
• WSDL
• UDDI
![Page 3: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/3.jpg)
Introduc7on
• All business units, organiza7ons have their own
approach to store and exchange data.
• Interoperability between them is a problem!
• Web services are developed to simplify this
process by defining a standardized mechanism
for exchanging data.
![Page 4: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/4.jpg)
Web Services
• Web services are soJware components which
communicate using web technologies like HTTP.
• Web services framework is divided into three
areas – communica7on protocol (SOAP), Service
Descriptor (WSDL) and service discovery (UDDI)
![Page 5: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/5.jpg)
SOAP
• Simple Object Access Protocol
• Its an XML based protocol for exchanging data
over HTTP.
• SOAP provides a way to communicate
between applica7ons regardless of their
plaSorm or programming language.
![Page 6: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/6.jpg)
Elements of SOAP
• Envelope – specifies that XML document is a SOAP
message
• Header – contains applica7on specific informa7on
about SOAP message.
• Body – includes the message payload
• Fault – carries informa7on about a client or server
error.
![Page 7: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/7.jpg)
Example for SOAP
![Page 8: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/8.jpg)
WSDL
• Web Services Descrip7on Language.
• Its an XML – based format for describing web
services.
• Clients wishing to access a web service can just read
and interpret its WSDL file to learn about the
loca7on of the service and its available opera7ons.
![Page 9: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/9.jpg)
WSDL Document Structure
• Message – describes names and format of the message supported by the
service.
• Types – defines the data types used by the service for sending messages
between client and server.
• Port Type – defines a web service, the opera7ons that can be performed
and the messages that are involved.
• Binding – A protocol and data format specifica7on for a par7cular port
type
![Page 10: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/10.jpg)
WSDL Example
![Page 11: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/11.jpg)
UDDI
• Universal Descr ip7on Discovery and
Integra7on.
• UDDI is a directory for storing informa7on
about web services.
• UDDI describes services using WSDL and
communicates via SOAP messaging.
![Page 12: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/12.jpg)
![Page 13: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/13.jpg)
Advantages of Web Services
• Applica7on and data Integra7on.
• Versa7lity.
• Code re-‐use.
• Communica7on Protocol’s reliability.
• Cost Savings.
![Page 14: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/14.jpg)
Conclusion
• Web services provides a systema7c and extensible
framework for applica7on interac7ons.
• Web services have evolved as a prac7cal, cost-‐effec7ve
solu7on for uni7ng informa7on distributed between
cri7cal applica7ons over opera7ng systems, plaSorms
and language barriers that were previously impassable
![Page 15: Unraveling*the*Web*Services**tozsu/courses/CS755/F13/... · 2015. 1. 1. · Unraveling*the*Web*Services** * An*Introduc7on*to*SOAP,*WSDL*and*UDDI* Sri*Harsha Bolise *](https://reader033.vdocuments.site/reader033/viewer/2022052019/6032f50dda7f7a4e896b5ecf/html5/thumbnails/15.jpg)