Web Services Copyright @ Beta Soft Systems
Web Services <ul><li>HTTP </li></ul><ul><li>XML </li></ul><ul><li>SOAP </li></ul><ul><li>Web services </li></ul>
Web Services <ul><li>HTTP The client makes a TCP-IP connection to the host using the domain name or IP number , and the po...
Web Services <ul><li>XML  </li></ul><ul><li>http://www.w3schools.com/xml/default.asp </li></ul>
Web Services <ul><li>soap  </li></ul><ul><li>http://www.w3schools.com/soap/default.asp </li></ul>
Web Services <ul><li>web services : XML web services are the program components that allow you to build scalable, loosely ...
Web Services <ul><li>XML web services directories: These provide a central place to store published information about the ...
Web Services <ul><li>The soap protocol consists of four parts. </li></ul><ul><li>The first part is mandatory and defines t...
Web Services <ul><li>How the client can locate the web service  </li></ul><ul><li>1. The client tries to find an xml web s...
Upcoming SlideShare
Loading in …5
×

Web services

634 views

Published on

  • Be the first to comment

  • Be the first to like this

Web services

  1. 1. Web Services Copyright @ Beta Soft Systems
  2. 2. Web Services <ul><li>HTTP </li></ul><ul><li>XML </li></ul><ul><li>SOAP </li></ul><ul><li>Web services </li></ul>
  3. 3. Web Services <ul><li>HTTP The client makes a TCP-IP connection to the host using the domain name or IP number , and the port number given in the address. </li></ul><ul><li>If the port number is not specified, 80 is always assumed for HTTP. The server accepts the connection. The client sends a document request consisting of a line of ASCII characters terminated by a CR LF (carriage return, line feed) pair. A well-behaved server will not require the carriage return character. </li></ul>
  4. 4. Web Services <ul><li>XML </li></ul><ul><li>http://www.w3schools.com/xml/default.asp </li></ul>
  5. 5. Web Services <ul><li>soap </li></ul><ul><li>http://www.w3schools.com/soap/default.asp </li></ul>
  6. 6. Web Services <ul><li>web services : XML web services are the program components that allow you to build scalable, loosely coupled, platform independent applications. </li></ul><ul><li>XML web services enable disparate applications to exchange messages using protocols like HTTP, XML, XSD, SOAP, WSDL. Web service is a business logic implementation. The client need to know the location of web service and which methods to call. </li></ul><ul><li>eg: stock exchange </li></ul>
  7. 7. Web Services <ul><li>XML web services directories: These provide a central place to store published information about the web service. UDDI mention the information that can be published for a web service. </li></ul><ul><li>Discovery: Using this process, client can locate the document that describes the xml web service. This document is WSDL written. </li></ul><ul><li>Xml web services description: The XML web service description is XML document that specifies the format of message that an xml web service understands. </li></ul><ul><li>eg: it has soap messages that are used when methods on web services are called. </li></ul><ul><li>Wire formats: uses open wire formats. Open wire formats are the rules understood by all systems which support HTTP, soap. Http-get and Http-post are the regular web protocols used for sending request. soap protocol allows to exchange structured and typed information between applications on the internet. </li></ul>
  8. 8. Web Services <ul><li>The soap protocol consists of four parts. </li></ul><ul><li>The first part is mandatory and defines the envelope that contains the message. </li></ul><ul><li>The soap envelope is the basic unit of exchange between the processors of soap messages. </li></ul><ul><li>The second part defines the optional data encoding rules that are used to encode application specific data types. </li></ul><ul><li>The third type defines the request/response pattern of message exchanges between xml web services </li></ul><ul><li>The fourth part which is optional, the binding between soap and http protocols. </li></ul>
  9. 9. Web Services <ul><li>How the client can locate the web service </li></ul><ul><li>1. The client tries to find an xml web service (request to UDDI and other directory service) </li></ul><ul><li>2. A url to discovery document is linked (.disco file) </li></ul><ul><li>3. The discovery document is requested by the client </li></ul><ul><li>4. The web server returns the discovery document </li></ul><ul><li>5. The discovery document contain description of the web service, which is then requested by the client. </li></ul><ul><li>6. The service description is returned The client requests the xml web service The service response is returned </li></ul>

×