SlideShare a Scribd company logo
1 of 18
Introduction to
Web Services
Presented by Royal
 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.
 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
 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
 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.
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:
 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)
 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.
REST SERVICES SOAP SERVICES
 Architectural style
 Simply calls services via
URL path
 Lightweight – not a lot
of extra xml markup
 Easy to build – no
toolkits required
 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 introduction

More Related Content

Viewers also liked

Ventajas del telefono galaxy
Ventajas del telefono galaxyVentajas del telefono galaxy
Ventajas del telefono galaxyROCHASA3
 
Me01 guã­a de actividad 1 semana 2
Me01 guã­a de actividad 1 semana 2Me01 guã­a de actividad 1 semana 2
Me01 guã­a de actividad 1 semana 2Sabino Recalde
 
Operation Splash
Operation SplashOperation Splash
Operation Splashrotaryve
 
41屆畢業生尋根之旅成果資料
41屆畢業生尋根之旅成果資料41屆畢業生尋根之旅成果資料
41屆畢業生尋根之旅成果資料ShaoPei Chang
 
04成果報告相片
04成果報告相片04成果報告相片
04成果報告相片ShaoPei Chang
 
Our Road Traveled
Our Road TraveledOur Road Traveled
Our Road TraveledHolly Plank
 
99年度花蓮縣原住民教師族語研習
99年度花蓮縣原住民教師族語研習99年度花蓮縣原住民教師族語研習
99年度花蓮縣原住民教師族語研習ShaoPei Chang
 
Rangkaian evaluasi secara kimia terhadap kain tekstil
Rangkaian evaluasi secara kimia terhadap kain tekstilRangkaian evaluasi secara kimia terhadap kain tekstil
Rangkaian evaluasi secara kimia terhadap kain tekstilToko Jaket Bola
 
Clase rrpp usmp sesión i
Clase rrpp usmp sesión iClase rrpp usmp sesión i
Clase rrpp usmp sesión imagiancarlo
 

Viewers also liked (18)

Peer review
Peer reviewPeer review
Peer review
 
Ventajas del telefono galaxy
Ventajas del telefono galaxyVentajas del telefono galaxy
Ventajas del telefono galaxy
 
布農族語教學
布農族語教學布農族語教學
布農族語教學
 
Me01 guã­a de actividad 1 semana 2
Me01 guã­a de actividad 1 semana 2Me01 guã­a de actividad 1 semana 2
Me01 guã­a de actividad 1 semana 2
 
Operation Splash
Operation SplashOperation Splash
Operation Splash
 
Question 3
Question 3Question 3
Question 3
 
41屆畢業生尋根之旅成果資料
41屆畢業生尋根之旅成果資料41屆畢業生尋根之旅成果資料
41屆畢業生尋根之旅成果資料
 
Producto 15
Producto 15Producto 15
Producto 15
 
04成果報告相片
04成果報告相片04成果報告相片
04成果報告相片
 
Our Road Traveled
Our Road TraveledOur Road Traveled
Our Road Traveled
 
99年度花蓮縣原住民教師族語研習
99年度花蓮縣原住民教師族語研習99年度花蓮縣原住民教師族語研習
99年度花蓮縣原住民教師族語研習
 
Rangkaian evaluasi secara kimia terhadap kain tekstil
Rangkaian evaluasi secara kimia terhadap kain tekstilRangkaian evaluasi secara kimia terhadap kain tekstil
Rangkaian evaluasi secara kimia terhadap kain tekstil
 
№72,кстово
№72,кстово№72,кстово
№72,кстово
 
Cómo montar tu empresa
Cómo montar tu empresaCómo montar tu empresa
Cómo montar tu empresa
 
Celula
CelulaCelula
Celula
 
Hardware
HardwareHardware
Hardware
 
Clase rrpp usmp sesión i
Clase rrpp usmp sesión iClase rrpp usmp sesión i
Clase rrpp usmp sesión i
 
Acoso Escolar
Acoso EscolarAcoso Escolar
Acoso Escolar
 

Similar to WebServices introduction

WebServices Basic Overview
WebServices Basic OverviewWebServices Basic Overview
WebServices Basic OverviewRajkattamuri
 
Exchange of data over internet using web service(e.g., soap and rest) in SAS ...
Exchange of data over internet using web service(e.g., soap and rest) in SAS ...Exchange of data over internet using web service(e.g., soap and rest) in SAS ...
Exchange of data over internet using web service(e.g., soap and rest) in SAS ...Kevin Lee
 
Web-Services!.pptx
Web-Services!.pptxWeb-Services!.pptx
Web-Services!.pptxssuserae0316
 
Web services101
Web services101Web services101
Web services101chaos41
 
Web Services - A brief overview
Web Services -  A brief overviewWeb Services -  A brief overview
Web Services - A brief overviewRaveendra Bhat
 
Web services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGigWeb services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGigMandakini Kumari
 
Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web ServicesAngelin R
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web servicesNeil Ghosh
 
web programming
web programmingweb programming
web programmingshreeuva
 
The Evolving Security Environment For Web Services
The Evolving Security Environment For Web ServicesThe Evolving Security Environment For Web Services
The Evolving Security Environment For Web ServicesQanita Ahmad
 
Web Services
Web ServicesWeb Services
Web ServicesF K
 
Esri Web Applications February11 2011
Esri Web Applications February11 2011Esri Web Applications February11 2011
Esri Web Applications February11 2011delmelle
 

Similar to WebServices introduction (20)

Mule Webservices
Mule WebservicesMule Webservices
Mule Webservices
 
WebServices Basic Overview
WebServices Basic OverviewWebServices Basic Overview
WebServices Basic Overview
 
Soap.doc
Soap.docSoap.doc
Soap.doc
 
Soap vs rest
Soap vs restSoap vs rest
Soap vs rest
 
Soap
SoapSoap
Soap
 
Exchange of data over internet using web service(e.g., soap and rest) in SAS ...
Exchange of data over internet using web service(e.g., soap and rest) in SAS ...Exchange of data over internet using web service(e.g., soap and rest) in SAS ...
Exchange of data over internet using web service(e.g., soap and rest) in SAS ...
 
Web-Services!.pptx
Web-Services!.pptxWeb-Services!.pptx
Web-Services!.pptx
 
Web services101
Web services101Web services101
Web services101
 
Web Services - A brief overview
Web Services -  A brief overviewWeb Services -  A brief overview
Web Services - A brief overview
 
Web services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGigWeb services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGig
 
Restful Web Services
Restful Web ServicesRestful Web Services
Restful Web Services
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
web programming
web programmingweb programming
web programming
 
The Evolving Security Environment For Web Services
The Evolving Security Environment For Web ServicesThe Evolving Security Environment For Web Services
The Evolving Security Environment For Web Services
 
SOAP by luv
SOAP by luvSOAP by luv
SOAP by luv
 
Web Services
Web ServicesWeb Services
Web Services
 
Web Programming
Web ProgrammingWeb Programming
Web Programming
 
Web services overview
Web services overviewWeb services overview
Web services overview
 
Esri Web Applications February11 2011
Esri Web Applications February11 2011Esri Web Applications February11 2011
Esri Web Applications February11 2011
 
SOAP Overview
SOAP OverviewSOAP Overview
SOAP Overview
 

More from princeirfancivil (20)

Web services uddi
Web services uddiWeb services uddi
Web services uddi
 
Web services wsdl
Web services wsdlWeb services wsdl
Web services wsdl
 
Web services SOAP
Web services SOAPWeb services SOAP
Web services SOAP
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Building and managing java projects with maven part-III
Building and managing java projects with maven part-IIIBuilding and managing java projects with maven part-III
Building and managing java projects with maven part-III
 
Maven II
Maven IIMaven II
Maven II
 
Maven part 1
Maven part 1Maven part 1
Maven part 1
 
Anypoint data gateway
Anypoint data gatewayAnypoint data gateway
Anypoint data gateway
 
Data weave
Data weave Data weave
Data weave
 
How to use expression filter
How to use expression filterHow to use expression filter
How to use expression filter
 
How to use message properties component
How to use message properties componentHow to use message properties component
How to use message properties component
 
Mapping and listing with mule
Mapping and listing with muleMapping and listing with mule
Mapping and listing with mule
 
Mmc rest api user groups
Mmc rest api user groupsMmc rest api user groups
Mmc rest api user groups
 
Mmc
MmcMmc
Mmc
 
Mmc
MmcMmc
Mmc
 
Mmc 2
Mmc 2Mmc 2
Mmc 2
 
Mule esb api layer
Mule esb api layerMule esb api layer
Mule esb api layer
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule for each scope headerc ollection
Mule for each scope headerc ollectionMule for each scope headerc ollection
Mule for each scope headerc ollection
 

Recently uploaded

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 

Recently uploaded (20)

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 

WebServices introduction