SlideShare a Scribd company logo
WEB SERVICES 
Workshop by: 
V.V.K.Ramalingeswarudu. 
Solutions Architect.
How does a Web service work? 
 The client sends the request. 
 Request encoded in XML Format. 
 Function(GET,POST..) in the File. 
 The Server decodes the file. 
 The Function is executed. 
 A new XML file is encoded and resend to the client.
Richardson Maturity Model
Level 0 
The starting point for the model is using HTTP as a transport system for remote 
interactions, but without using any of the mechanisms of the web. Essentially what 
you are doing here is using HTTP as a tunneling mechanism for your own remote 
interaction mechanism, usually based on Remote Procedure Invocation. 
It's simple as it's just slinging plain old XML (POX) back and forth. If you use 
SOAP or XML-RPC it's basically the same mechanism, the only difference is that 
you wrap the XML messages in some kind of envelope.
Level 1 
The first step towards the glory of Rest in the RMM is to introduce 
resources. So now rather than making all our requests to a singular service 
endpoint, we now start talking to individual resources.
Level 2 
At this level additionally HTTP verbs also used as closely as possible to how they are 
used in HTTP itself 
Generally speaking, this is the pattern use: 
HTTP GET - SELECT/Request 
HTTP PUT - UPDATE 
HTTP POST - INSERT/Create 
HTTP DELETE - DELETE
Level 3 
The final level introduces something that you often hear 
referred to under the acronym of HATEOAS (Hypertext As The 
Engine Of Application State). 
The benefit of this is it helps client developers explore the 
protocol. The links give client developers a hint as to what may be 
possible next. It doesn't give all the information: both the "latest" and 
"cancel" controls point to the same URI - they need to figure out that 
one is a GET and the other a DELETE. But at-least it gives them a 
starting point as to what to think about for more information and to 
look for a similar URI in the protocol documentation.
Demo Application 
Pre Requisites for participants: 
 Basic knowledge of web. 
 Basics of OOPS, HTML,XML.

More Related Content

What's hot

Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009
Cathie101
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
Rajan Pandey
 
Simple Object Access Protocol
Simple Object Access ProtocolSimple Object Access Protocol
Simple Object Access Protocol
Saatviga Sudhahar
 

What's hot (19)

Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
HTTP
HTTPHTTP
HTTP
 
Http
HttpHttp
Http
 
HTTP
HTTPHTTP
HTTP
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009
 
Firewall & Proxy Server
Firewall & Proxy ServerFirewall & Proxy Server
Firewall & Proxy Server
 
Http and its Applications
Http and its ApplicationsHttp and its Applications
Http and its Applications
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
HTTP request and response
HTTP request and responseHTTP request and response
HTTP request and response
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
HTTP & WWW
HTTP & WWWHTTP & WWW
HTTP & WWW
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1
 
HTTP fundamentals for developers
HTTP fundamentals for developersHTTP fundamentals for developers
HTTP fundamentals for developers
 
Simple Object Access Protocol
Simple Object Access ProtocolSimple Object Access Protocol
Simple Object Access Protocol
 
21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards
 
HTTPS
HTTPSHTTPS
HTTPS
 
The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
 
Proxy server
Proxy serverProxy server
Proxy server
 
What's up with HTTP?
What's up with HTTP?What's up with HTTP?
What's up with HTTP?
 

Viewers also liked

Foursquare. Prof. Mauricio Angulo
Foursquare. Prof. Mauricio AnguloFoursquare. Prof. Mauricio Angulo
Foursquare. Prof. Mauricio Angulo
Marquinho Vazquez
 
Tiffani flyer1 1
Tiffani flyer1 1Tiffani flyer1 1
Tiffani flyer1 1
traciepaige
 
Наталія Нев`ядомська "Страхова компанія як канал продажів та індикатор якості...
Наталія Нев`ядомська "Страхова компанія як канал продажів та індикатор якості...Наталія Нев`ядомська "Страхова компанія як канал продажів та індикатор якості...
Наталія Нев`ядомська "Страхова компанія як канал продажів та індикатор якості...
Center for Health Care Studies
 
Is moderate-to-vigorous physical activity or steps per day more related to ad...
Is moderate-to-vigorous physical activity or steps per day more related to ad...Is moderate-to-vigorous physical activity or steps per day more related to ad...
Is moderate-to-vigorous physical activity or steps per day more related to ad...
Aleš Gába
 
Affordable care act and community health centeres
Affordable care act and community health centeresAffordable care act and community health centeres
Affordable care act and community health centeres
fjlanasa
 
Random 140203082640-phpapp01
 Random 140203082640-phpapp01 Random 140203082640-phpapp01
Random 140203082640-phpapp01
Sergey Mischenko
 

Viewers also liked (13)

Making IT Work for Your Business - 4 Key Concepts to Get the Most Out of Your...
Making IT Work for Your Business - 4 Key Concepts to Get the Most Out of Your...Making IT Work for Your Business - 4 Key Concepts to Get the Most Out of Your...
Making IT Work for Your Business - 4 Key Concepts to Get the Most Out of Your...
 
Foursquare. Prof. Mauricio Angulo
Foursquare. Prof. Mauricio AnguloFoursquare. Prof. Mauricio Angulo
Foursquare. Prof. Mauricio Angulo
 
Tiffani flyer1 1
Tiffani flyer1 1Tiffani flyer1 1
Tiffani flyer1 1
 
Наталія Нев`ядомська "Страхова компанія як канал продажів та індикатор якості...
Наталія Нев`ядомська "Страхова компанія як канал продажів та індикатор якості...Наталія Нев`ядомська "Страхова компанія як канал продажів та індикатор якості...
Наталія Нев`ядомська "Страхова компанія як канал продажів та індикатор якості...
 
Is moderate-to-vigorous physical activity or steps per day more related to ad...
Is moderate-to-vigorous physical activity or steps per day more related to ad...Is moderate-to-vigorous physical activity or steps per day more related to ad...
Is moderate-to-vigorous physical activity or steps per day more related to ad...
 
Collection Development
Collection DevelopmentCollection Development
Collection Development
 
Tutorial belajar photoshop cs3
Tutorial belajar photoshop cs3Tutorial belajar photoshop cs3
Tutorial belajar photoshop cs3
 
Ekiti ICT Journal
Ekiti ICT JournalEkiti ICT Journal
Ekiti ICT Journal
 
Affordable care act and community health centeres
Affordable care act and community health centeresAffordable care act and community health centeres
Affordable care act and community health centeres
 
Random 140203082640-phpapp01
 Random 140203082640-phpapp01 Random 140203082640-phpapp01
Random 140203082640-phpapp01
 
7.4.2buttinskis
7.4.2buttinskis7.4.2buttinskis
7.4.2buttinskis
 
Дударева. Электронный путеводитель
Дударева. Электронный путеводительДударева. Электронный путеводитель
Дударева. Электронный путеводитель
 
Comcast AnswerNow by InteliWISE oct 2010
Comcast AnswerNow by InteliWISE oct 2010Comcast AnswerNow by InteliWISE oct 2010
Comcast AnswerNow by InteliWISE oct 2010
 

Similar to Rest

internet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcainternet programming and java notes 5th sem mca
internet programming and java notes 5th sem mca
Renu Thakur
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
Neil Ghosh
 
Web Server Technologies I: HTTP
Web Server Technologies I: HTTP Web Server Technologies I: HTTP
Web Server Technologies I: HTTP
webhostingguy
 
Anintroductiontojavawebtechnology 090324184240-phpapp01
Anintroductiontojavawebtechnology 090324184240-phpapp01Anintroductiontojavawebtechnology 090324184240-phpapp01
Anintroductiontojavawebtechnology 090324184240-phpapp01
raviIITRoorkee
 

Similar to Rest (20)

Restful web services
Restful web servicesRestful web services
Restful web services
 
Web Service
Web ServiceWeb Service
Web Service
 
PHP
PHPPHP
PHP
 
internet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcainternet programming and java notes 5th sem mca
internet programming and java notes 5th sem mca
 
ASP.NET WEB API Training
ASP.NET WEB API TrainingASP.NET WEB API Training
ASP.NET WEB API Training
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
HTTPs Strict Transport Security
HTTPs    Strict Transport Security HTTPs    Strict Transport Security
HTTPs Strict Transport Security
 
Learn Advanced JAVA at ASIT
Learn Advanced JAVA at ASITLearn Advanced JAVA at ASIT
Learn Advanced JAVA at ASIT
 
Ftp servlet
Ftp servletFtp servlet
Ftp servlet
 
REST Servers in Delphi XE Using DataSnap
REST Servers in Delphi XE Using DataSnapREST Servers in Delphi XE Using DataSnap
REST Servers in Delphi XE Using DataSnap
 
Building systems with rest
Building systems with restBuilding systems with rest
Building systems with rest
 
Web Server Technologies I: HTTP
Web Server Technologies I: HTTP Web Server Technologies I: HTTP
Web Server Technologies I: HTTP
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting Started
 
Ajp notes-chapter-06
Ajp notes-chapter-06Ajp notes-chapter-06
Ajp notes-chapter-06
 
Abhishek srivastava ppt_web_tech
Abhishek srivastava ppt_web_techAbhishek srivastava ppt_web_tech
Abhishek srivastava ppt_web_tech
 
Mule ESB Interview or Certification questions
Mule ESB Interview or Certification questionsMule ESB Interview or Certification questions
Mule ESB Interview or Certification questions
 
Servlet & jsp
Servlet  &  jspServlet  &  jsp
Servlet & jsp
 
Anintroductiontojavawebtechnology 090324184240-phpapp01
Anintroductiontojavawebtechnology 090324184240-phpapp01Anintroductiontojavawebtechnology 090324184240-phpapp01
Anintroductiontojavawebtechnology 090324184240-phpapp01
 
53 hui homework2
53 hui homework253 hui homework2
53 hui homework2
 

Recently uploaded

Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 

Rest

  • 1. WEB SERVICES Workshop by: V.V.K.Ramalingeswarudu. Solutions Architect.
  • 2. How does a Web service work?  The client sends the request.  Request encoded in XML Format.  Function(GET,POST..) in the File.  The Server decodes the file.  The Function is executed.  A new XML file is encoded and resend to the client.
  • 3.
  • 5. Level 0 The starting point for the model is using HTTP as a transport system for remote interactions, but without using any of the mechanisms of the web. Essentially what you are doing here is using HTTP as a tunneling mechanism for your own remote interaction mechanism, usually based on Remote Procedure Invocation. It's simple as it's just slinging plain old XML (POX) back and forth. If you use SOAP or XML-RPC it's basically the same mechanism, the only difference is that you wrap the XML messages in some kind of envelope.
  • 6. Level 1 The first step towards the glory of Rest in the RMM is to introduce resources. So now rather than making all our requests to a singular service endpoint, we now start talking to individual resources.
  • 7. Level 2 At this level additionally HTTP verbs also used as closely as possible to how they are used in HTTP itself Generally speaking, this is the pattern use: HTTP GET - SELECT/Request HTTP PUT - UPDATE HTTP POST - INSERT/Create HTTP DELETE - DELETE
  • 8. Level 3 The final level introduces something that you often hear referred to under the acronym of HATEOAS (Hypertext As The Engine Of Application State). The benefit of this is it helps client developers explore the protocol. The links give client developers a hint as to what may be possible next. It doesn't give all the information: both the "latest" and "cancel" controls point to the same URI - they need to figure out that one is a GET and the other a DELETE. But at-least it gives them a starting point as to what to think about for more information and to look for a similar URI in the protocol documentation.
  • 9. Demo Application Pre Requisites for participants:  Basic knowledge of web.  Basics of OOPS, HTML,XML.