Web services
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Web services

  • 491 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
491
On Slideshare
491
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • Copyright @ beta soft systems

Transcript

  • 1. Web Services Copyright @ Beta Soft Systems
  • 2. Web Services
    • HTTP
    • XML
    • SOAP
    • Web services
  • 3. Web Services
    • 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.
    • 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.
  • 4. Web Services
    • XML
    • http://www.w3schools.com/xml/default.asp
  • 5. Web Services
    • soap
    • http://www.w3schools.com/soap/default.asp
  • 6. Web Services
    • web services : XML web services are the program components that allow you to build scalable, loosely coupled, platform independent applications.
    • 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.
    • eg: stock exchange
  • 7. Web Services
    • 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.
    • Discovery: Using this process, client can locate the document that describes the xml web service. This document is WSDL written.
    • Xml web services description: The XML web service description is XML document that specifies the format of message that an xml web service understands.
    • eg: it has soap messages that are used when methods on web services are called.
    • 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.
  • 8. Web Services
    • The soap protocol consists of four parts.
    • The first part is mandatory and defines the envelope that contains the message.
    • The soap envelope is the basic unit of exchange between the processors of soap messages.
    • The second part defines the optional data encoding rules that are used to encode application specific data types.
    • The third type defines the request/response pattern of message exchanges between xml web services
    • The fourth part which is optional, the binding between soap and http protocols.
  • 9. Web Services
    • How the client can locate the web service
    • 1. The client tries to find an xml web service (request to UDDI and other directory service)
    • 2. A url to discovery document is linked (.disco file)
    • 3. The discovery document is requested by the client
    • 4. The web server returns the discovery document
    • 5. The discovery document contain description of the web service, which is then requested by the client.
    • 6. The service description is returned The client requests the xml web service The service response is returned