Program : B.Tech, CSE,VIII Semester, IV Year
CS-802 (B):Cloud Computing
Topic: Web services
Jan-June, 2023
Activity-I
Submitted to:- Submitted by:-
Asst. Prof. Roll no.:-
Department of CSE
Outlines
• Introduction
• Architecture
• Working
• Types
• Advantages
• Disadvantages
Web Services
• On the World Wide Web, a web service is a standardized
method for propagating messages between client and server
applications.
• A web service is a software module that is intended to carry out
a specific set of functions.
• The web service would be able to deliver functionality to the
client that invoked the web service.
• Web Services can convert your application into a Web-
application which can publish its function or message to the
rest of the world.
Architecture
• Service Provider - From an architectural perspective,
it is the platform that hosts the services.
• Service Requestor - Service requestor is the
application that is looking for and invoking or initiating
an interaction with a service. The browser plays the
requester role, driven by a consumer or a program
without a user interface.
• Service Registry - Service requestors find service and
obtain binding information for services during
development.
CS-802
Working
• Web-Service functions as a request-response pattern that
empowers communication among different applications.
• An element will request some support of its partner to be a
specific specialist service provider. Upon demand, the specialist
co-op will react with a reaction message. So, there are two
messages included one Request message (XML)and one
Response message (XML).
• An administration utilizes XML to label information, SOAP to
move a message lastly, WSDL to depict the accessibility of
administrations.
CS-802 7
Types
• SOAP:-
• SOAP stands for Simple Object Access Protocol.
• It is a XML-based protocol for accessing web services.
• It also defines the way of building web services.
• SOAP is platform independent and language independent.
• By using SOAP, you will be able to interact with other
programming language applications.
CS-802 8
• REST:-
• REST stands for REpresentational State Transfer.
• The main goal of RESTful web services is to make web
services more effective.
• RESTful web services define services using the different
concepts that are already present in HTTP.
• REST is an architectural approach, not a protocol.
CS-802 9
Advantages
• Business Functions can be exposed over the Internet
• Interoperability
• Communication with Low Cost
• A Standard Protocol that Everyone Understands
• Reusability
Disadvantages
• No callback mechanism
• No transactions across the Web
• Availability - every user or client who uses web services knows
that it is not available hundred percent all the time.
• Security - web services are available to public through http-based
protocol. So every one can access web services and use it. This
flaw can be avoided using authentication mechanisms.
CS-802 Act-1.ppt

CS-802 Act-1.ppt

  • 1.
    Program : B.Tech,CSE,VIII Semester, IV Year CS-802 (B):Cloud Computing Topic: Web services Jan-June, 2023 Activity-I Submitted to:- Submitted by:- Asst. Prof. Roll no.:- Department of CSE
  • 2.
    Outlines • Introduction • Architecture •Working • Types • Advantages • Disadvantages
  • 3.
    Web Services • Onthe World Wide Web, a web service is a standardized method for propagating messages between client and server applications. • A web service is a software module that is intended to carry out a specific set of functions. • The web service would be able to deliver functionality to the client that invoked the web service. • Web Services can convert your application into a Web- application which can publish its function or message to the rest of the world.
  • 4.
  • 5.
    • Service Provider- From an architectural perspective, it is the platform that hosts the services. • Service Requestor - Service requestor is the application that is looking for and invoking or initiating an interaction with a service. The browser plays the requester role, driven by a consumer or a program without a user interface. • Service Registry - Service requestors find service and obtain binding information for services during development. CS-802
  • 6.
  • 7.
    • Web-Service functionsas a request-response pattern that empowers communication among different applications. • An element will request some support of its partner to be a specific specialist service provider. Upon demand, the specialist co-op will react with a reaction message. So, there are two messages included one Request message (XML)and one Response message (XML). • An administration utilizes XML to label information, SOAP to move a message lastly, WSDL to depict the accessibility of administrations. CS-802 7
  • 8.
    Types • SOAP:- • SOAPstands for Simple Object Access Protocol. • It is a XML-based protocol for accessing web services. • It also defines the way of building web services. • SOAP is platform independent and language independent. • By using SOAP, you will be able to interact with other programming language applications. CS-802 8
  • 9.
    • REST:- • RESTstands for REpresentational State Transfer. • The main goal of RESTful web services is to make web services more effective. • RESTful web services define services using the different concepts that are already present in HTTP. • REST is an architectural approach, not a protocol. CS-802 9
  • 10.
    Advantages • Business Functionscan be exposed over the Internet • Interoperability • Communication with Low Cost • A Standard Protocol that Everyone Understands • Reusability
  • 11.
    Disadvantages • No callbackmechanism • No transactions across the Web • Availability - every user or client who uses web services knows that it is not available hundred percent all the time. • Security - web services are available to public through http-based protocol. So every one can access web services and use it. This flaw can be avoided using authentication mechanisms.