SlideShare a Scribd company logo
Web Services in Cloud
Computing
Dr Hitesh Mohapatra
Associate Professor
KIIT (Deemed to be) University
School of Computer Engineering
Introduction
• Integral Part of the Modern Internet
• Cloud computing web services are crucial for modern Internet infrastructure.
• Facilitating Communication and Data Exchange
• Assist in connecting various applications or systems.
• Enable the interchange of data and sharing of functionalities via the Internet.
• Technological Advancements
• Advancements in cloud computing technologies.
• Increased applications of web services.
• Interconnecting Technologies and Platforms
• Web services facilitate the interconnection of different technologies and platforms.
• Enhance communication and collaboration among various systems.
• Introduction to Importance and Role
• Importance and role of web services in cloud computing are significant.
Web Services / Technology in Cloud Computing
Web Services in Cloud Computing
• Integration of Web-Based Applications
• Cloud Computing Web Services integrate web-based applications using
open standards.
• Communication Over a Network
• Enable communication between two electronic devices over a network.
• Standards Used
• Utilize various standards such as HTTP, XML, SOAP, and WSDL.
• Interoperability and Cooperation
• Facilitate data and service provision across different systems and
platforms.
• Ensure interoperability and cooperation in the cloud environment.
Components of Web Services
XML (Extensible Markup Language)
•Document Tagging Language
•Tag-Based Encoding
•Facilitates Creation of Structured Documents
•Used for Structuring Information
•Enables Information Exchange Between Web Services
Web Services / Technology in Cloud Computing
SOAP (Simple Object Access Protocol)
• Communication Platform
• No Relation to Transportation Protocol
• Specification for a Framework
• SOAP as a Messaging Protocol Based on XML
• Integration with Other Protocols and Technologies
• SOAP and HTTP as the Standard Web Protocol
WSDL (Web Services Description
Language):
• Discoverability of Web Services
• Client Needs to Know Web Service Location
• Client Understanding of Web Service Functionality
• Use of Web Services Description Language (WSDL)
• WSDL File: XML-Based Description
• WSDL Document Guides Client Application
• WSDL Specifies Location and Usage of Web Service
UDDI (Universal Description, Discovery,
and Integration)
•UDDI (Universal Description, Discovery, and Integration)
•Discovery of Web Services
•Publishing Web Services in a Repository
•Service Provider Advertisement
•Consumers Searching for Needed Services
REST (Representational State Transfer)
•REST (Representational State Transfer)
•Working Model/Set of Standards for Web Applications
•SOAP Web Service Messages Use XML and Complex
Protocols
•REST Web Service Messages Use HTTP Standards
•Data Interchange via JSON
HTTP (Hypertext Transfer Protocol)
• HTTP is a protocol that is used when working with the WWW,
to exchange information between the clients’ and the servers’
sites.
• The protocol is often used for Web services right now – both
for services based on SOAP and REST.
JSON (JavaScript Object Notation)
• JSON is an easy-to-read data format for the exchange of data
that is particularly used in REST-based web service systems.
• A specific type of markup language, it is more compact than
XML and is consistently chosen for its suitability and
convenience.
Web Services
Working
Step 1: Service Description (WSDL)
•Publishing the Service
•Need of the Service Provider
•Publishing with WSDL (Web Services Description Language)
•Information in WSDL
•Name of the Service/Location
•Operations Enabling the Service
•Messages Passed Between Services
•Data Types Employed
•WSDL Document
•Legal and Digital Agreement
•Accessing the Service
Step 2: Service Discovery (UDDI)
•Registering the Service
•Listing Service in UDDI (Universal Description, Discovery, and Integration)
•UDDI as a Registry for Web Services
•Publishing and Finding Web Services
•Finding the Service
•Searching for the Most Appropriate Match in UDDI
•WS Registry Information
•Application Services
•Respective WSDL
Step 3: Service Invocation (SOAP/REST)
SOAP-based Web Services:
1.Request Creation
1. Service consumer generates a SOAP request message in XML.
2. Compliant with WSDL document structure.
2.Sending the Request
1. SOAP message transferred over a network protocol to the service provider.
3.Processing the Request
1. Service provider completes the required service on the received SOAP request.
4.Response Creation
1. Service provider constructs a SOAP response message to return to the consumer.
Step 3: RESTful Web Services:
1.HTTP Methods
1. Uses standard HTTP operations: GET, POST, PUT, DELETE.
2. Each method represents the type of operation on the data: read, write, modify, delete.
2.Request Creation
1. Service consumer forges an HTTP request with JSON in the request body.
2. Specifies URI for the target resource.
3.Sending the Request
1. HTTP request sent to the service provider's endpoint.
4.Processing the Request
1. Service provider processes the request and performs the necessary operation.
5.Response Creation
1. Service provider returns an HTTP response with JSON body containing requested data or
status.
Step 4: Data Interchange (XML/JSON)
• XML:
1.Mainly applied to SOAP-based web services.
2.Formats request-response messages.
3.Easily readable.
4.Programmatically processible.
• JSON:
1.Mainly utilized in RESTful web services.
2.Quite compact.
3.Easier to parse compared to XML.
4.Suitable for web or mobile applications.
Step :5 Service Security
• SSL/TLS:
1.Protect messages transferred between service consumer and provider.
2.Encipher messages for security.
• WS-Security:
1.Safeguards SOAP messages.
2.Enhances protocol with authentication, encryption, and digital signatures.
• OAuth:
1.Implemented in RESTful services.
2.Secures access to user information.
3.Allows third-party applications access without credentials.
• JWT (JSON Web Token):
1.Compact, URL-safe means of representing claims.
2.Transfers claims between two parties in a portable data structure payload.
Features of Web Services
1. Interoperability
• Cross-Platform Communication: The interoperation of applications within the integrated application incurs
applications that are developed for two or more platforms and are coded in different languages. Web services
help in this process.
• Standardized Protocols: They employ standard protocols which include: HTTP, XML, SOAP, and WSDL which
enhance compatibility between the realms.
2. Extensibility
• Flexible Integration: One major advantage of web services is that they are highly interoperable and portable
hence they can easily be incorporated into new applications in an organization without much alteration to
existing systems and procedures.
• Modular Design: They are supposed to be developed in a rather logical manner, meaning that new features
may be incorporated into the system without influencing any of the services.
Cont.
3. Scalability
• Distributed Computing: Web services are easily portable over different platforms and can be
implemented on different server instances so that issues with load balancing and failovers can be
easily addressed.
• Horizontal Scaling: They can be scaled horizontally towards bringing in more load by adding
another instance of the service.
4. Reusability
• Service Reusability: Web services enable medium and large companies to modularize their
business processes and use them in different applications with similar characteristics.
• Component Reuse: Services can be built on existing services making efficient reuse of software in
the form of available services possible.
Cont.
5. Loose Coupling
• Minimal Dependency: Web services are inherently asynchronous so that the Web service
consumer and the Web service provider do not require entailment of implementations.
• Independent Deployment: This means that when a subtype is used instead of a more
general type of service implementation on the server side, it is not necessary to change the
client application as long as the interface is the same.
6. Discoverability
• UDDI Registries: To look for a particular service the services available can be registered and
searched through UDDI registries, for the available services.
• Dynamic Binding: The consumers are also able to procure the services dynamically and offer
their requests at runtime.
Cont.
7. Security
• SSL/TLS: It is necessary to note that web services can employ SSL/TLS to provide secure communication over the World Wide
Web.
• WS-Security: With the current services, we can achieve WS-Security standards such as message integrity, confidentiality and
authentication with the use of SOAP-based services.
• OAuth: OAuth can be used for secure authorization in RESTful services.
• JWT: This is utilized in trustworthy messaging concerning RESTful services and identification.
8. Standardized Messaging
• SOAP: SOAP now has a messaging protocol that is articulated in XML which helps in preserving the structure and manner in
which messages are handled.
• REST: REST employs conventional HTTP methods and status assertion, which contributes towards the reduction of the
interaction model.
Cont.
9. Support for Complex Operations
• Transaction Management: This means that web services can support multi-step and other types of complex
transactions, which will guarantee the right flow of processes.
• Asynchronous Processing: They can operate asynchronously, and this can be useful when dealing with long-
running operations since they can be worked on in the background.
10. Versatility
• Synchronous and Asynchronous: Web services may be either the request/response model, where a Web
service sends back confirmation of the receipt of a request and information regarding how the request can be
completed or the message-oriented model, where the two elements exchange messages independent of each
other.
• Various Payload Formats: It works with different payloads, though most applications use either XML or JSON
ones depending on the peculiarities of the given program.
Cont.
11. Platform Independence
• Language Agnostic: The creation and use of Web services
does not require the developer to use any specific language but
should support Web standards.
• Protocol Agnostic: Web services can run on different
transports although, the most typical transport is HTTP; other
transports include SMTP and JMS.
Conclusion
• Importance of Web Services
• Foster Compatibility and Interaction
• Cross-Platform Applications
• Reliance on Industry-Standard Protocols
• XML
• SOAP
• RESTful
• Ensuring Good Interoperation
• Benefits
• Reusability
• Loose Coupling
• Security
• Flexibility and Robustness in Distributed Systems
• Effective for Large and Integrated Software Environments
Questions
• How do web services handle state management?
• What is the role of an API gateway in web services?
• How do microservices relate to web services?
• Can web services be used for real-time data processing?

More Related Content

What's hot (20)

PDF
BUSINESS CONSIDERATIONS FOR CLOUD COMPUTING
Hitesh Mohapatra
 
PDF
Failover System in Cloud Computing System
Hitesh Mohapatra
 
PDF
Resource Cluster and Multi-Device Broker.pdf
Hitesh Mohapatra
 
PDF
Storage Device & Usage Monitor in Cloud Computing.pdf
Hitesh Mohapatra
 
PDF
Resource replication in cloud computing.
Hitesh Mohapatra
 
PDF
Resource Replication & Automated Scaling Listener
Hitesh Mohapatra
 
PDF
Networking in Cloud Computing Environment
Hitesh Mohapatra
 
PPTX
Cloud Management Mechanisms
Mohammed Sajjad Ali
 
PDF
AWS ELB
Mahesh Raj
 
PPTX
Cluster Computing
Hitesh Mohapatra
 
PPTX
VMware VSAN Technical Deep Dive - March 2014
David Davis
 
PPTX
Basics of storage Technology
Lopamudra Das
 
PPTX
Azure Storage Services - Part 01
Neeraj Kumar
 
PPTX
Windows Azure Virtual Machines
Clint Edmonson
 
PPTX
ABCs of AWS: S3
Mark Cohen
 
PPTX
Virtualization
Kingston Smiler
 
PPTX
Azure storage
Raju Kumar
 
PPT
Intro to Amazon S3
Yu Lun Teo
 
PDF
Aws Elastic Block Storage
Dhananjay Aloorkar
 
PPT
Virtualization
Birju Tank
 
BUSINESS CONSIDERATIONS FOR CLOUD COMPUTING
Hitesh Mohapatra
 
Failover System in Cloud Computing System
Hitesh Mohapatra
 
Resource Cluster and Multi-Device Broker.pdf
Hitesh Mohapatra
 
Storage Device & Usage Monitor in Cloud Computing.pdf
Hitesh Mohapatra
 
Resource replication in cloud computing.
Hitesh Mohapatra
 
Resource Replication & Automated Scaling Listener
Hitesh Mohapatra
 
Networking in Cloud Computing Environment
Hitesh Mohapatra
 
Cloud Management Mechanisms
Mohammed Sajjad Ali
 
AWS ELB
Mahesh Raj
 
Cluster Computing
Hitesh Mohapatra
 
VMware VSAN Technical Deep Dive - March 2014
David Davis
 
Basics of storage Technology
Lopamudra Das
 
Azure Storage Services - Part 01
Neeraj Kumar
 
Windows Azure Virtual Machines
Clint Edmonson
 
ABCs of AWS: S3
Mark Cohen
 
Virtualization
Kingston Smiler
 
Azure storage
Raju Kumar
 
Intro to Amazon S3
Yu Lun Teo
 
Aws Elastic Block Storage
Dhananjay Aloorkar
 
Virtualization
Birju Tank
 

Similar to Web Services / Technology in Cloud Computing (20)

PPTX
Web-services-MD.pptx for web site designing
SwapnilAshtekar3
 
PDF
Unit-5_2 PPT on Distributed Web based System.pdf
rameshwarchintamani
 
PDF
09-01-services-slides.pdf for educations
katariraju71
 
PDF
wsadddddddddddddddddeb-servsdddddddddddaaaaaaaice.pdf
PrincessMonicaCostel
 
PPTX
Web services
Divya Tiwari
 
PPTX
Mini-Training: Let's have a rest
Betclic Everest Group Tech Team
 
PPT
CS-802 Act-1.ppt
AnushkaChauhan68
 
PPTX
unit -4 spring web services like SOA Arch
sudharani127782
 
PPTX
Unit-I-Introductionwith MSA Explanation.pptx
jayakanthan8
 
PPTX
Unit-I-Introduction SOA basics MSA .PPTpptx
jayakanthan8
 
PPTX
Web service implementation
Yatindra Sahu
 
PPT
web services-May 25.ppt
ShivaangiKrish
 
PPT
REST Introduction.ppt
KGSCSEPSGCT
 
PPTX
Webservices divya
rajamandava4
 
PPTX
Webservices divya 1
rajamandava4
 
PPT
Web services provide an organization without human supervision
nandepovanhu
 
PPTX
nptl cc video.pptx
MunmunSaha7
 
PDF
Week2 cloud computing week2
Ankit Gupta
 
PDF
Web Service Implementation Using ASP.NET
Ponraj
 
Web-services-MD.pptx for web site designing
SwapnilAshtekar3
 
Unit-5_2 PPT on Distributed Web based System.pdf
rameshwarchintamani
 
09-01-services-slides.pdf for educations
katariraju71
 
wsadddddddddddddddddeb-servsdddddddddddaaaaaaaice.pdf
PrincessMonicaCostel
 
Web services
Divya Tiwari
 
Mini-Training: Let's have a rest
Betclic Everest Group Tech Team
 
CS-802 Act-1.ppt
AnushkaChauhan68
 
unit -4 spring web services like SOA Arch
sudharani127782
 
Unit-I-Introductionwith MSA Explanation.pptx
jayakanthan8
 
Unit-I-Introduction SOA basics MSA .PPTpptx
jayakanthan8
 
Web service implementation
Yatindra Sahu
 
web services-May 25.ppt
ShivaangiKrish
 
REST Introduction.ppt
KGSCSEPSGCT
 
Webservices divya
rajamandava4
 
Webservices divya 1
rajamandava4
 
Web services provide an organization without human supervision
nandepovanhu
 
nptl cc video.pptx
MunmunSaha7
 
Week2 cloud computing week2
Ankit Gupta
 
Web Service Implementation Using ASP.NET
Ponraj
 
Ad

More from Hitesh Mohapatra (17)

PDF
Uniform-Cost Search Algorithm in the AI Environment
Hitesh Mohapatra
 
PPT
Software Product Quality - Part 1 Presentation
Hitesh Mohapatra
 
PDF
Software Measurement and Metrics (Quantified Attribute)
Hitesh Mohapatra
 
PDF
Software project management is an art and discipline of planning and supervis...
Hitesh Mohapatra
 
PDF
Software project management is an art and discipline of planning and supervis...
Hitesh Mohapatra
 
PDF
Traditional Data Center vs. Virtualization – Differences and Benefits
Hitesh Mohapatra
 
PDF
Inter-Cloud Architecture refers to the design and organization of cloud services
Hitesh Mohapatra
 
PDF
Route Finder Using Bi-Directional BFS/DFS
Hitesh Mohapatra
 
PDF
Python Program for Depth First Search or DFS for a Graph
Hitesh Mohapatra
 
PDF
The Importance of Software Quality: Benefits and Implications for Organizatio...
Hitesh Mohapatra
 
PDF
Breadth-first search is a graph traversal algorithm
Hitesh Mohapatra
 
PDF
Cloud integration with IoT enables seamless data collection, storage, and pro...
Hitesh Mohapatra
 
PPTX
Advancements in Smart Air Pollution Monitoring: Innovations for a Sustainable...
Hitesh Mohapatra
 
PPTX
Smart Weather Monitoring System Using IoT
Hitesh Mohapatra
 
PPTX
Smart Surveillance & Emergency Response Using IoT
Hitesh Mohapatra
 
PPTX
Smart Structural Health Monitoring Through IoT and Sensor
Hitesh Mohapatra
 
PPTX
Smart Road and Application of IoT and Sensor Network
Hitesh Mohapatra
 
Uniform-Cost Search Algorithm in the AI Environment
Hitesh Mohapatra
 
Software Product Quality - Part 1 Presentation
Hitesh Mohapatra
 
Software Measurement and Metrics (Quantified Attribute)
Hitesh Mohapatra
 
Software project management is an art and discipline of planning and supervis...
Hitesh Mohapatra
 
Software project management is an art and discipline of planning and supervis...
Hitesh Mohapatra
 
Traditional Data Center vs. Virtualization – Differences and Benefits
Hitesh Mohapatra
 
Inter-Cloud Architecture refers to the design and organization of cloud services
Hitesh Mohapatra
 
Route Finder Using Bi-Directional BFS/DFS
Hitesh Mohapatra
 
Python Program for Depth First Search or DFS for a Graph
Hitesh Mohapatra
 
The Importance of Software Quality: Benefits and Implications for Organizatio...
Hitesh Mohapatra
 
Breadth-first search is a graph traversal algorithm
Hitesh Mohapatra
 
Cloud integration with IoT enables seamless data collection, storage, and pro...
Hitesh Mohapatra
 
Advancements in Smart Air Pollution Monitoring: Innovations for a Sustainable...
Hitesh Mohapatra
 
Smart Weather Monitoring System Using IoT
Hitesh Mohapatra
 
Smart Surveillance & Emergency Response Using IoT
Hitesh Mohapatra
 
Smart Structural Health Monitoring Through IoT and Sensor
Hitesh Mohapatra
 
Smart Road and Application of IoT and Sensor Network
Hitesh Mohapatra
 
Ad

Recently uploaded (20)

PPT
Testing and final inspection of a solar PV system
MuhammadSanni2
 
PDF
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
PPTX
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
PDF
mbse_An_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
PDF
WD2(I)-RFQ-GW-1415_ Shifting and Filling of Sand in the Pond at the WD5 Area_...
ShahadathHossain23
 
PPTX
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PPTX
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
PDF
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
PPTX
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
PDF
aAn_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PPTX
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
PPTX
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
Testing and final inspection of a solar PV system
MuhammadSanni2
 
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
mbse_An_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
WD2(I)-RFQ-GW-1415_ Shifting and Filling of Sand in the Pond at the WD5 Area_...
ShahadathHossain23
 
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
aAn_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
Design Thinking basics for Engineers.pdf
CMR University
 
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 

Web Services / Technology in Cloud Computing

  • 1. Web Services in Cloud Computing Dr Hitesh Mohapatra Associate Professor KIIT (Deemed to be) University School of Computer Engineering
  • 2. Introduction • Integral Part of the Modern Internet • Cloud computing web services are crucial for modern Internet infrastructure. • Facilitating Communication and Data Exchange • Assist in connecting various applications or systems. • Enable the interchange of data and sharing of functionalities via the Internet. • Technological Advancements • Advancements in cloud computing technologies. • Increased applications of web services. • Interconnecting Technologies and Platforms • Web services facilitate the interconnection of different technologies and platforms. • Enhance communication and collaboration among various systems. • Introduction to Importance and Role • Importance and role of web services in cloud computing are significant.
  • 4. Web Services in Cloud Computing • Integration of Web-Based Applications • Cloud Computing Web Services integrate web-based applications using open standards. • Communication Over a Network • Enable communication between two electronic devices over a network. • Standards Used • Utilize various standards such as HTTP, XML, SOAP, and WSDL. • Interoperability and Cooperation • Facilitate data and service provision across different systems and platforms. • Ensure interoperability and cooperation in the cloud environment.
  • 5. Components of Web Services XML (Extensible Markup Language) •Document Tagging Language •Tag-Based Encoding •Facilitates Creation of Structured Documents •Used for Structuring Information •Enables Information Exchange Between Web Services
  • 7. SOAP (Simple Object Access Protocol) • Communication Platform • No Relation to Transportation Protocol • Specification for a Framework • SOAP as a Messaging Protocol Based on XML • Integration with Other Protocols and Technologies • SOAP and HTTP as the Standard Web Protocol
  • 8. WSDL (Web Services Description Language): • Discoverability of Web Services • Client Needs to Know Web Service Location • Client Understanding of Web Service Functionality • Use of Web Services Description Language (WSDL) • WSDL File: XML-Based Description • WSDL Document Guides Client Application • WSDL Specifies Location and Usage of Web Service
  • 9. UDDI (Universal Description, Discovery, and Integration) •UDDI (Universal Description, Discovery, and Integration) •Discovery of Web Services •Publishing Web Services in a Repository •Service Provider Advertisement •Consumers Searching for Needed Services
  • 10. REST (Representational State Transfer) •REST (Representational State Transfer) •Working Model/Set of Standards for Web Applications •SOAP Web Service Messages Use XML and Complex Protocols •REST Web Service Messages Use HTTP Standards •Data Interchange via JSON
  • 11. HTTP (Hypertext Transfer Protocol) • HTTP is a protocol that is used when working with the WWW, to exchange information between the clients’ and the servers’ sites. • The protocol is often used for Web services right now – both for services based on SOAP and REST.
  • 12. JSON (JavaScript Object Notation) • JSON is an easy-to-read data format for the exchange of data that is particularly used in REST-based web service systems. • A specific type of markup language, it is more compact than XML and is consistently chosen for its suitability and convenience.
  • 13. Web Services Working Step 1: Service Description (WSDL) •Publishing the Service •Need of the Service Provider •Publishing with WSDL (Web Services Description Language) •Information in WSDL •Name of the Service/Location •Operations Enabling the Service •Messages Passed Between Services •Data Types Employed •WSDL Document •Legal and Digital Agreement •Accessing the Service
  • 14. Step 2: Service Discovery (UDDI) •Registering the Service •Listing Service in UDDI (Universal Description, Discovery, and Integration) •UDDI as a Registry for Web Services •Publishing and Finding Web Services •Finding the Service •Searching for the Most Appropriate Match in UDDI •WS Registry Information •Application Services •Respective WSDL
  • 15. Step 3: Service Invocation (SOAP/REST) SOAP-based Web Services: 1.Request Creation 1. Service consumer generates a SOAP request message in XML. 2. Compliant with WSDL document structure. 2.Sending the Request 1. SOAP message transferred over a network protocol to the service provider. 3.Processing the Request 1. Service provider completes the required service on the received SOAP request. 4.Response Creation 1. Service provider constructs a SOAP response message to return to the consumer.
  • 16. Step 3: RESTful Web Services: 1.HTTP Methods 1. Uses standard HTTP operations: GET, POST, PUT, DELETE. 2. Each method represents the type of operation on the data: read, write, modify, delete. 2.Request Creation 1. Service consumer forges an HTTP request with JSON in the request body. 2. Specifies URI for the target resource. 3.Sending the Request 1. HTTP request sent to the service provider's endpoint. 4.Processing the Request 1. Service provider processes the request and performs the necessary operation. 5.Response Creation 1. Service provider returns an HTTP response with JSON body containing requested data or status.
  • 17. Step 4: Data Interchange (XML/JSON) • XML: 1.Mainly applied to SOAP-based web services. 2.Formats request-response messages. 3.Easily readable. 4.Programmatically processible. • JSON: 1.Mainly utilized in RESTful web services. 2.Quite compact. 3.Easier to parse compared to XML. 4.Suitable for web or mobile applications.
  • 18. Step :5 Service Security • SSL/TLS: 1.Protect messages transferred between service consumer and provider. 2.Encipher messages for security. • WS-Security: 1.Safeguards SOAP messages. 2.Enhances protocol with authentication, encryption, and digital signatures. • OAuth: 1.Implemented in RESTful services. 2.Secures access to user information. 3.Allows third-party applications access without credentials. • JWT (JSON Web Token): 1.Compact, URL-safe means of representing claims. 2.Transfers claims between two parties in a portable data structure payload.
  • 19. Features of Web Services 1. Interoperability • Cross-Platform Communication: The interoperation of applications within the integrated application incurs applications that are developed for two or more platforms and are coded in different languages. Web services help in this process. • Standardized Protocols: They employ standard protocols which include: HTTP, XML, SOAP, and WSDL which enhance compatibility between the realms. 2. Extensibility • Flexible Integration: One major advantage of web services is that they are highly interoperable and portable hence they can easily be incorporated into new applications in an organization without much alteration to existing systems and procedures. • Modular Design: They are supposed to be developed in a rather logical manner, meaning that new features may be incorporated into the system without influencing any of the services.
  • 20. Cont. 3. Scalability • Distributed Computing: Web services are easily portable over different platforms and can be implemented on different server instances so that issues with load balancing and failovers can be easily addressed. • Horizontal Scaling: They can be scaled horizontally towards bringing in more load by adding another instance of the service. 4. Reusability • Service Reusability: Web services enable medium and large companies to modularize their business processes and use them in different applications with similar characteristics. • Component Reuse: Services can be built on existing services making efficient reuse of software in the form of available services possible.
  • 21. Cont. 5. Loose Coupling • Minimal Dependency: Web services are inherently asynchronous so that the Web service consumer and the Web service provider do not require entailment of implementations. • Independent Deployment: This means that when a subtype is used instead of a more general type of service implementation on the server side, it is not necessary to change the client application as long as the interface is the same. 6. Discoverability • UDDI Registries: To look for a particular service the services available can be registered and searched through UDDI registries, for the available services. • Dynamic Binding: The consumers are also able to procure the services dynamically and offer their requests at runtime.
  • 22. Cont. 7. Security • SSL/TLS: It is necessary to note that web services can employ SSL/TLS to provide secure communication over the World Wide Web. • WS-Security: With the current services, we can achieve WS-Security standards such as message integrity, confidentiality and authentication with the use of SOAP-based services. • OAuth: OAuth can be used for secure authorization in RESTful services. • JWT: This is utilized in trustworthy messaging concerning RESTful services and identification. 8. Standardized Messaging • SOAP: SOAP now has a messaging protocol that is articulated in XML which helps in preserving the structure and manner in which messages are handled. • REST: REST employs conventional HTTP methods and status assertion, which contributes towards the reduction of the interaction model.
  • 23. Cont. 9. Support for Complex Operations • Transaction Management: This means that web services can support multi-step and other types of complex transactions, which will guarantee the right flow of processes. • Asynchronous Processing: They can operate asynchronously, and this can be useful when dealing with long- running operations since they can be worked on in the background. 10. Versatility • Synchronous and Asynchronous: Web services may be either the request/response model, where a Web service sends back confirmation of the receipt of a request and information regarding how the request can be completed or the message-oriented model, where the two elements exchange messages independent of each other. • Various Payload Formats: It works with different payloads, though most applications use either XML or JSON ones depending on the peculiarities of the given program.
  • 24. Cont. 11. Platform Independence • Language Agnostic: The creation and use of Web services does not require the developer to use any specific language but should support Web standards. • Protocol Agnostic: Web services can run on different transports although, the most typical transport is HTTP; other transports include SMTP and JMS.
  • 25. Conclusion • Importance of Web Services • Foster Compatibility and Interaction • Cross-Platform Applications • Reliance on Industry-Standard Protocols • XML • SOAP • RESTful • Ensuring Good Interoperation • Benefits • Reusability • Loose Coupling • Security • Flexibility and Robustness in Distributed Systems • Effective for Large and Integrated Software Environments
  • 26. Questions • How do web services handle state management? • What is the role of an API gateway in web services? • How do microservices relate to web services? • Can web services be used for real-time data processing?