SlideShare a Scribd company logo
WEBSERVICES BASIC
OVERVIEW
Web Services
• A Web service is a method of communication
between two electronic devices over
the World Wide Web
• In other words, a web service helps to convert
your application into a web-based application.
Why web services?
• Your application can publish its function or
message to the rest of the world.
Department of Information Science Engg
WEB
Services
REST Services SOAP and WSDL
REST Services
• Relying on URIs and HTTP verbs
• Usage of 5 big HTTP verbs
POST, HEAD, GET, PUT, DELETE
Nothing more than CRUD concept of the Web
• Ex: Delicious APIs
Delicious is a leading social bookmarking service
Visit: http://www.peej.co.uk/articles/restfully-delicious.html
• Data exchange format
XML, JASON or both
SOAP based services
• Simple Object Access Protocol
• Exclusively use XML as the data format to exchange info
over HTTP.
• A service that needs to be used by another service needs
to specify its usage through a “Service Description”.
• In this case, we use WSDL – Web Services Description
Language
• Ex: Apache Axis, Apache CXF
• SOAP has nothing to do with SOA – Service Oriented
Architecture
.
• A service is hosted on a “Discovery Service” in the internet.
• A client which wants to use this service will have to “discover”
this service (similar to RMI) using the ‘Discovery Service’.
• Once the service is “discovered”, the client asks the service
how it should be invoked. The service replies in WSDL format.
• The service is now invoked using SOAP. The client issues a
‘SOAP Request’.
• The service responds with a ‘SOAP Response’, which includes
the result.
A SOAP message is an ordinary XML document
containing the following elements:
• Envelope - identifies the XML document as a SOAP message
o Header - contains information about the request.
o Body
 Message data - contains request and response information
itself.
 Fault (optional) - containing errors and status information.
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-
envelope"
soap:encodingStyle="http://www.w3.org/2001/12/
soap-encoding">
<soap:Body
xmlns:m="http://www.example.org/stock">
<m:GetStockPrice>
<m:StockName>IBM</m:StockName>
</m:GetStockPrice>
</soap:Body>
</soap:Envelope>
A SOAP request:
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/
soap-envelope"
soap:encodingStyle="http://www.w3.org/
2001/12/soap-encoding">
<soap:Body
xmlns:m="http://www.example.org/stock"
>
<m:GetStockPriceResponse>
<m:Price>34.5</m:Price>
</m:GetStockPriceResponse>
</soap:Body>
</soap:Envelope>
The SOAP response:
WebServices Basic Overview
WSDL
• WSDL stands for Web Services Description Language
• It is an XML-based language that is used for
describing the functionality offered by a Web service.
• WSDL file contains info about
o How the service can be called
o What parameter it expects
o What data structure it returns
o Which port the application uses
o Which protocol the web service uses (like https)
Need for stubs (similar to RMI)
What are stubs?
• A stub is a small program routine that substitutes for
a longer program, possibly to be loaded later or that
is located remotely.
• The stub accepts the request and then forwards it
(through another program) to the remote procedure.
• When that procedure has completed its service, it
returns the results or other status to the stub which
passes it back to the program that made the request.
WebServices Basic Overview
Comparision
REST services
• Architectural style
• Simply calls services via URL
path
• Lightweight – not a lot of
extra xml markup
• Easy to build – no toolkits
required
SOAP services
• XML-based protocol
• Invokes services by calling
RPC method
• Rigid – type checking,
adheres to a contract
• Development tools – WSDL
Soap analyser tool, oXygen
XML
WebServices Basic Overview

More Related Content

What's hot (20)

PPTX
Web services soap and rest by mandakini for TechGig
Mandakini Kumari
 
PPTX
Web Services - A brief overview
Raveendra Bhat
 
PDF
Web Services
Katrien Verbert
 
PPTX
Rest presentation
srividhyau
 
PPTX
Webservice Testing
Rachana Khedekar
 
PDF
Restful Web Services
Angelin R
 
PDF
HTML5 - An introduction
Eleonora Ciceri
 
PDF
AJAX - An introduction
Eleonora Ciceri
 
PPT
Web of Science: REST or SOAP?
Duncan Hull
 
PDF
React with WordPress : Headless CMS
Imran Sayed
 
PDF
Web Services Tutorial
Lorna Mitchell
 
PPTX
SOAP vs REST
Nadia Boumaza
 
PPTX
Web services101
chaos41
 
PPTX
Soap web service
NITT, KAMK
 
PDF
Web architecture - overview of techniques.
Ruslan Shevchenko
 
PPTX
Introducing asp
aspnet123
 
PPTX
ASP.NET WEB API
Thang Chung
 
PPTX
WebServices
Sunil Komarapu
 
PPTX
Implementation advantages of rest
Balamurugan Easwaran
 
PDF
SOAP vs REST
Mário Almeida
 
Web services soap and rest by mandakini for TechGig
Mandakini Kumari
 
Web Services - A brief overview
Raveendra Bhat
 
Web Services
Katrien Verbert
 
Rest presentation
srividhyau
 
Webservice Testing
Rachana Khedekar
 
Restful Web Services
Angelin R
 
HTML5 - An introduction
Eleonora Ciceri
 
AJAX - An introduction
Eleonora Ciceri
 
Web of Science: REST or SOAP?
Duncan Hull
 
React with WordPress : Headless CMS
Imran Sayed
 
Web Services Tutorial
Lorna Mitchell
 
SOAP vs REST
Nadia Boumaza
 
Web services101
chaos41
 
Soap web service
NITT, KAMK
 
Web architecture - overview of techniques.
Ruslan Shevchenko
 
Introducing asp
aspnet123
 
ASP.NET WEB API
Thang Chung
 
WebServices
Sunil Komarapu
 
Implementation advantages of rest
Balamurugan Easwaran
 
SOAP vs REST
Mário Almeida
 

Viewers also liked (18)

PPTX
corporate social networks
Svetlana Beregulina
 
DOC
News SA 24 2016
Roberta Culiersi
 
PPSX
Presentación asamblea Associaciò de veïns i veïnes de Natzaret 2015
hunben
 
PDF
Checkliste für Geschäftsführer
Filipe Felix
 
PDF
Technical presentation
TakumiSugiyama
 
PPTX
Trainee all murilo oki
Leandro Menna
 
PPT
‫Cloud technology نسخة
English TVTC
 
PDF
Gute Gründe warum Sie mit dem IT-Systemhaus coretress GmbH arbeiten sollten
Filipe Felix
 
DOC
Урок 53 української мови у 2 класі "Добирання заголовків"
Viktoria Oliynuk
 
PDF
K kolyva-and-eileen-sills 1221
3GDR
 
PPT
Friction in orthodontics /certified fixed orthodontic courses by Indian den...
Indian dental academy
 
PPT
Dentofacial perspective / cosmetic dentistry course
Indian dental academy
 
PPT
Презентація до уроку української мови в 2кл. "Добирання заголовків"
Viktoria Oliynuk
 
PPT
Muscles of mastication / dental implant courses by Indian dental academy 
Indian dental academy
 
PPT
Что строить первым делом: казармы или ферму?
Sergei Prokofiev
 
PPT
Diaporama description physique
lebaobabbleu
 
PPTX
Beginner Guide to Impression Trays in Dentistry
Iraqi Dental Academy
 
PDF
Lawyer in Vietnam Oliver Massmann Capital Markets and Privatization THE BREAK...
Dr. Oliver Massmann
 
corporate social networks
Svetlana Beregulina
 
News SA 24 2016
Roberta Culiersi
 
Presentación asamblea Associaciò de veïns i veïnes de Natzaret 2015
hunben
 
Checkliste für Geschäftsführer
Filipe Felix
 
Technical presentation
TakumiSugiyama
 
Trainee all murilo oki
Leandro Menna
 
‫Cloud technology نسخة
English TVTC
 
Gute Gründe warum Sie mit dem IT-Systemhaus coretress GmbH arbeiten sollten
Filipe Felix
 
Урок 53 української мови у 2 класі "Добирання заголовків"
Viktoria Oliynuk
 
K kolyva-and-eileen-sills 1221
3GDR
 
Friction in orthodontics /certified fixed orthodontic courses by Indian den...
Indian dental academy
 
Dentofacial perspective / cosmetic dentistry course
Indian dental academy
 
Презентація до уроку української мови в 2кл. "Добирання заголовків"
Viktoria Oliynuk
 
Muscles of mastication / dental implant courses by Indian dental academy 
Indian dental academy
 
Что строить первым делом: казармы или ферму?
Sergei Prokofiev
 
Diaporama description physique
lebaobabbleu
 
Beginner Guide to Impression Trays in Dentistry
Iraqi Dental Academy
 
Lawyer in Vietnam Oliver Massmann Capital Markets and Privatization THE BREAK...
Dr. Oliver Massmann
 
Ad

Similar to WebServices Basic Overview (20)

PPTX
WebServices introduction
princeirfancivil
 
PPT
Mule webservices in detail
Shahid Shaik
 
PPTX
Web services concepts, protocols and development
ishmecse13
 
PPTX
SOAP--Simple Object Access Protocol
Masud Rahman
 
PPTX
Web-Services!.pptx
ssuserae0316
 
PPTX
Web services
smitha273566
 
PPT
Web Services - Lectures and architecture.ppt
memonmukhtiar
 
ODP
Web service Introduction
Madhukar Kumar
 
PPTX
Web services
Mohit Bishnoi
 
PPTX
Web Programming
VijayapriyaP1
 
PPT
Best Web services tutorial | Websoles Strategic Digital Solutions
Shubham Kumar Singh
 
PPT
Detailed information on webservice by websoles
NAVEEN KUMAR SHARMA
 
PPT
Web services Tutorial /Websoles Strategic Digital Solutions
Ratnesh Pandey
 
PPTX
Web service- Guest Lecture at National Wokshop
Nishikant Taksande
 
PPT
Web service architecture
Muhammad Shahroz Anwar
 
PPT
webservicearchitecture-150614164814-lva1-app6892.ppt
Matrix823409
 
PDF
SOAP-based Web Services
Katrien Verbert
 
PDF
Web services and Applications in Web Technology.pdf
VinayVitekari
 
PPT
web services
javeed_mhd
 
WebServices introduction
princeirfancivil
 
Mule webservices in detail
Shahid Shaik
 
Web services concepts, protocols and development
ishmecse13
 
SOAP--Simple Object Access Protocol
Masud Rahman
 
Web-Services!.pptx
ssuserae0316
 
Web services
smitha273566
 
Web Services - Lectures and architecture.ppt
memonmukhtiar
 
Web service Introduction
Madhukar Kumar
 
Web services
Mohit Bishnoi
 
Web Programming
VijayapriyaP1
 
Best Web services tutorial | Websoles Strategic Digital Solutions
Shubham Kumar Singh
 
Detailed information on webservice by websoles
NAVEEN KUMAR SHARMA
 
Web services Tutorial /Websoles Strategic Digital Solutions
Ratnesh Pandey
 
Web service- Guest Lecture at National Wokshop
Nishikant Taksande
 
Web service architecture
Muhammad Shahroz Anwar
 
webservicearchitecture-150614164814-lva1-app6892.ppt
Matrix823409
 
SOAP-based Web Services
Katrien Verbert
 
Web services and Applications in Web Technology.pdf
VinayVitekari
 
web services
javeed_mhd
 
Ad

More from Khan625 (20)

PPTX
Mapping and listing in mule
Khan625
 
PPTX
Message properties component in Mule
Khan625
 
PPTX
Jenkins Build System
Khan625
 
PPTX
Building and Managing Projects with Maven
Khan625
 
PPTX
Web services soap
Khan625
 
PPTX
Web services wsdl
Khan625
 
PPTX
Web services uddi
Khan625
 
PPTX
Web services with soap
Khan625
 
PPTX
Maven
Khan625
 
PPTX
Java Basics
Khan625
 
PPTX
Mmc rest api user groups
Khan625
 
PPTX
Mapping and listing with mule
Khan625
 
PPTX
Message properties component in mule
Khan625
 
PPTX
Expression filter in Mule
Khan625
 
PPTX
Data weave
Khan625
 
PPT
Anypoint data gateway
Khan625
 
PPTX
Mule with drools
Khan625
 
PPTX
Mule esb
Khan625
 
PPTX
Idempotent filter with simple file
Khan625
 
PPTX
Mule with quartz
Khan625
 
Mapping and listing in mule
Khan625
 
Message properties component in Mule
Khan625
 
Jenkins Build System
Khan625
 
Building and Managing Projects with Maven
Khan625
 
Web services soap
Khan625
 
Web services wsdl
Khan625
 
Web services uddi
Khan625
 
Web services with soap
Khan625
 
Maven
Khan625
 
Java Basics
Khan625
 
Mmc rest api user groups
Khan625
 
Mapping and listing with mule
Khan625
 
Message properties component in mule
Khan625
 
Expression filter in Mule
Khan625
 
Data weave
Khan625
 
Anypoint data gateway
Khan625
 
Mule with drools
Khan625
 
Mule esb
Khan625
 
Idempotent filter with simple file
Khan625
 
Mule with quartz
Khan625
 

Recently uploaded (20)

PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
July Patch Tuesday
Ivanti
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
July Patch Tuesday
Ivanti
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 

WebServices Basic Overview