Web Service


Published on

Gives basic idea about Web Services

Published in: Education, Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Web Service

  1. 1. Web Service a brief introduction
  2. 2. Definition <ul><li>W3C: A web service is &quot;a software system designed to support interoperable machine-to-machine interaction over a network. </li></ul>Internet Web service WSDL Interface SOAP Service Provider Service Requester XML / HTTP Web services use XML to code and to decode data, and SOAP to transport it Service Requester
  3. 3. How it works <ul><li>Can be accessed over a network and executed on a remote system hosting the requested services. </li></ul><ul><li>using HTTP with an XML serialization </li></ul>
  4. 4. Impact <ul><li>Converts your application into a Web-application, which can publish its function or message to the rest of the world </li></ul><ul><li>Can be used for SOA </li></ul><ul><li>Make the applications inter-operable </li></ul>
  5. 5. Styles of Use <ul><li>RPC - implemented by mapping services directly to language-specific functions or method calls </li></ul><ul><li>SOA - where the basic unit of communication is a message, rather than an operation. </li></ul><ul><li>REST - the focus is on interacting with stateful resources, rather than messages or operations. </li></ul>
  6. 6. Design methodologies <ul><li>Simpler approach using the &quot;bottom up method&quot; first writes the implementing class in a programming language, and then uses a WSDL generating tool to expose its methods as a web service. </li></ul><ul><li>A developer using the &quot;top down method&quot; first writes the WSDL document and then uses a code generating tool to produce the class skeleton, which she later completes. This way is more difficult but produces cleaner designs </li></ul>
  7. 7. What you should know? <ul><li>HTML </li></ul><ul><li>XML </li></ul><ul><li>Server side programming/scripting </li></ul>
  8. 8. What is SOAP? <ul><li>stands for S imple O bject A ccess P rotocol </li></ul><ul><li>A protocol for accessing a Web Service </li></ul><ul><li>a format for sending messages </li></ul><ul><li>designed to communicate via Internet </li></ul><ul><li>platform independent </li></ul><ul><li>language independent </li></ul><ul><li>based on XML </li></ul><ul><li>simple and extensible </li></ul><ul><li>allows you to get around firewalls </li></ul><ul><li>a W3C standard </li></ul>
  9. 9. What is WSDL? <ul><li>an XML-based language for locating and describing Web services. </li></ul><ul><li>stands for Web Services Description Language </li></ul><ul><li>based on XML </li></ul><ul><li>used to describe Web services </li></ul><ul><li>used to locate Web services </li></ul><ul><li>a W3C standard </li></ul>
  10. 10. What is UDDI? <ul><li>stands for Universal Description, Discovery and Integration </li></ul><ul><li>a directory service where companies can register and search for Web services. </li></ul><ul><li>directory for storing information about web services </li></ul><ul><li>a directory of web service interfaces described by WSDL </li></ul><ul><li>communicates via SOAP </li></ul><ul><li>built into the Microsoft .NET platform </li></ul>
  11. 11. Examples <ul><li>Currency conversion </li></ul><ul><li>Weather Reports </li></ul><ul><li>Translation services </li></ul>