ESS316 Service Web .
Sample Exams Questions and Preferred Solutions
Here are some Sample exams questions and preferred solutions. Go through it because some of the exams
questions will come from here
Question 1
a) List 5 popular Web services available on the Internet.
Popular web services available on the internet can be categorized into several types. Here are some of the most
widely used ones:
Communication Services
- Email Services : Gmail, Outlook, Yahoo Mail ¹
- Video Conferencing : Zoom, Google Hangouts, Skype ²
- Social Networks : Facebook, YouTube, WhatsApp, Instagram, TikTok ¹
Information Retrieval Services
- Search Engines : Google, Bing, Yahoo ¹
- Information Portals : Wikipedia, online news websites
File Transfer Services
- File Transfer Protocol (FTP) : used for transferring files over the internet ²
- Cloud Storage Services : Google Drive, Dropbox, OneDrive
E-commerce Services
- Online Shopping Platforms : Amazon, Alibaba, eBay ¹
- Digital Payment Services : PayPal, Stripe, Square
Web Services
- Web APIs : used for building web applications and integrating with other services ²
- Web Development Frameworks : used for building web applications, such as React, Angular, Vue.js
These are just a few examples of popular web services available on the internet. There are many more services
and sub-categories within each type.
b) Name any 4 Web Services offered through Mobile Devices and highlight their features.
Here are some web services offered through mobile devices, along with their features:
Mobile Banking Services
1. Account Management : Check account balances, transaction history, and account statements.
2. Fund Transfers : Transfer funds between accounts, pay bills, and send money to others.
3. Mobile Payments : Make payments using mobile wallets, such as Apple Pay or Google Pay.
Mobile Commerce Services
1. Shopping : Browse and purchase products from online stores, such as Amazon or eBay.
2. Order Tracking : Track the status of orders, including shipping and delivery information.
3. Mobile Coupons : Receive and redeem mobile coupons and discounts.
Mobile Health Services
1. Telemedicine : Consult with healthcare professionals remotely, using video conferencing or messaging.
2. Health Records : Access and manage personal health records, including medical history and test results.
3. Medication Reminders : Receive reminders and notifications for medication schedules and appointments.
Copyright @ Eugene Tebo February 2025
1
ESS316 Service Web . Sample Exams Questions and Preferred Solutions
Mobile Learning Services
1. Online Courses : Access online courses and educational resources, such as Coursera or Udemy.
2. Virtual Classrooms : Participate in virtual classrooms, using video conferencing and collaboration tools.
3. Mobile Quizzes : Take quizzes and assessments, using mobile devices.
Mobile Navigation Services
1. GPS Navigation : Access GPS navigation, using maps and directions.
2. Real-Time Traffic Updates : Receive real-time traffic updates, including traffic congestion and road
closures.
3. Public Transit Information : Access public transit information, including schedules and routes.
These web services offer a range of features and functionalities, enabling users to access various services and
information on-the-go.
Question 2
Discuss in details about the various Web services Technology.
Web services technologies are a set of standards and protocols that enable the creation, deployment, and
integration of web services. Here are some of the key web services technologies:
1. SOAP (Simple Object Access Protocol)
SOAP is a protocol used for exchanging structured information in the implementation of web services. It uses
XML to format messages and relies on application layer protocols (such as HTTP or SMTP) for message
negotiation and transmission.
2. WSDL (Web Services Description Language)
WSDL is an XML-based language used to describe the functionality of a web service. It provides a way to
describe the service's operations, input and output parameters, and data types.
3. UDDI (Universal Description, Discovery, and Integration)
UDDI is a registry that enables businesses to publish and discover web services. It provides a way to register
and categorize web services, making it easier for other businesses to find and use them.
4. REST (Representational State of Resource)
REST is an architectural style for designing networked applications. It relies on stateless, client-server
architecture and uses HTTP methods (such as GET, POST, PUT, and DELETE) to manipulate resources.
5. XML (Extensible Markup Language)
XML is a markup language used to format data in a way that is both human-readable and machine-readable. It
is widely used in web services to format messages and data.
6. JSON (JavaScript Object Notation)
JSON is a lightweight data interchange format that is easy to read and write. It is widely used in web services
to format data and messages.
7. AJAX (Asynchronous JavaScript and XML)
AJAX is a technique used to create interactive web applications. It relies on asynchronous communication
between the client and server, using technologies such as JavaScript, XML, and HTTP.
8. Web Services Security (WS-Security)
Copyright @ Eugene Tebo February 2025
2
ESS316 Service Web . Sample Exams Questions and Preferred Solutions
WS-Security is a set of standards and protocols used to secure web services. It provides a way to authenticate,
authorize, and encrypt messages exchanged between web services.
9. Web Services Reliable Messaging (WS-ReliableMessaging)
WS-ReliableMessaging is a standard used to ensure reliable messaging between web services. It provides a
way to guarantee message delivery, even in the presence of network failures.
10. Web Services Transaction (WS-Transaction)
WS-Transaction is a standard used to manage transactions between web services. It provides a way to
coordinate multiple web services to ensure consistent and reliable outcomes.
These are just some of the key web services technologies. Each technology plays a crucial role in enabling the
creation, deployment, and integration of web services.
Question 3
List the building blocks of Web services and explain their features.
Here are the building blocks of web services, along with their features:
1. XML (Extensible Markup Language)
- Definition : XML is a markup language used to store and transport data in a format that is both human-
readable and machine-readable.
- Features :
- Platform-independent
- Language-independent
- Self-describing
- Extensible
2. SOAP (Simple Object Access Protocol)
- Definition : SOAP is a protocol used for exchanging structured information in the implementation of web
services.
- Features :
- Platform-independent
- Language-independent
- Uses XML to format messages
- Supports multiple transport protocols (e.g., HTTP, SMTP)
3. WSDL (Web Services Description Language)
- Definition : WSDL is an XML-based language used to describe the functionality of a web service.
- Features :
- Describes the service's operations, input and output parameters, and data types
- Provides a way to describe the service's interface and binding
- Enables service discovery and invocation
4. UDDI (Universal Description, Discovery, and Integration)
- Definition : UDDI is a registry that enables businesses to publish and discover web services.
- Features :
- Enables service discovery and invocation
- Provides a way to register and categorize web services
- Supports multiple transport protocols (e.g., HTTP, SMTP)
Copyright @ Eugene Tebo February 2025
3
ESS316 Service Web . Sample Exams Questions and Preferred Solutions
5. REST (Representational State of Resource)
- Definition : REST is an architectural style for designing networked applications.
- Features :
- Uses HTTP methods (e.g., GET, POST, PUT, DELETE) to manipulate resources
- Supports multiple data formats (e.g., XML, JSON)
- Enables caching and content negotiation
These building blocks provide the foundation for creating web services that are platform-independent,
language-independent, and loosely coupled.
Question 4
a) Why are web services needed?
web services provide inter-oper-ability between platforms, promotes code reuse-ability, allows for distributed
business applications, can be "firewall friendly" when using http transport protocol.
b) What are the types of web services?
SOAP (Simple Object Access Protocol): a description of an xml messaging protocol
REST (Representational State Transfer): a description of an architecture for distributed hypermedia systems
c) What are the advantages of SOAP web services?
WS Security
Language Independent
Platform Independent
d).What are the main features of SOAP?
The following list specifies the features of SOAP:
SOAP is a communication protocol.
SOAP is used for communication between applications.
SOAP is a format for sending messages.
SOAP is designed to communicate via Internet.
SOAP is platform independent.
SOAP is language independent.
SOAP is simple and extensible.
SOAP allows you to get around firewalls.
SOAP will be developed as a W3C standard.
Question 5
Explain the Key Principles and Benefits of SOA in Web services.
Service-Oriented Architecture (SOA) is a design pattern that structures an application as a collection of
services that communicate with each other. In the context of web services, SOA is an approach to building
web services that are designed to be modular, reusable, and loosely coupled.
Key Principles of SOA:
1. Services : SOA is based on the concept of services, which are self-contained, modular units of functionality
that can be accessed through a standardized interface.
2. Loose Coupling : Services are designed to be loosely coupled, meaning that they do not have a tight
dependency on each other.
Copyright @ Eugene Tebo February 2025
4
ESS316 Service Web . Sample Exams Questions and Preferred Solutions
3. Autonomy : Services are designed to be autonomous, meaning that they control their own behavior and
decision-making processes.
4. Statelessness : Services are designed to be stateless, meaning that they do not maintain state between
interactions.
5. Discoverability : Services are designed to be discoverable, meaning that they can be easily found and
accessed by other services.
Benefits of SOA:
1. Increased Flexibility : SOA enables organizations to respond quickly to changing business needs by
allowing them to easily add, remove, or modify services.
2. Improved Reusability : SOA enables organizations to reuse services across multiple applications and
business processes.
3. Enhanced Scalability : SOA enables organizations to scale their applications more easily by adding or
removing services as needed.
4. Better Integration : SOA enables organizations to integrate their applications more easily by providing a
standardized interface for services to communicate with each other.
SOA in Web Services:
In web services, SOA is implemented using a variety of technologies, including:
1. SOAP : SOAP (Simple Object Access Protocol) is a protocol that defines a standardized way for services
to communicate with each other.
2. WSDL : WSDL (Web Services Description Language) is a language that defines the interface for a web
service.
3. UDDI : UDDI (Universal Description, Discovery, and Integration) is a registry that enables services to be
discovered and accessed.
By implementing SOA in web services, organizations can create a flexible, scalable, and integrated
architecture that enables them to respond quickly to changing business needs.
Question 6
a) What is RESTful web services?
REST stands for REpresentational State Transfer. It is an architectural style.
b) What are the advantages of RESTful web services?
Fast
Language Independent
Platform Independent.
Allows different data format.
Question 7
What is the difference between SOAP and REST web services?
Copyright @ Eugene Tebo February 2025
5
ESS316 Service Web . Sample Exams Questions and Preferred Solutions
Question 8
a).What do you understand by Web Service?
Web Service is a software system for communicating two devices over the network.
b).How does a web service work?
A web service is used to communicate among various applications by using open standards such as HTML,
XML, WSDL, and SOAP.
c).What are the advantages of web services?
Interoperability: By the help of web services, an application can communicate with other application
developed in any language.
Reusability: We can expose the web service so that other applications can use it.
Modularity: By the help of web service, we can create a service for a specific task such as tax calculation etc.
d) What are the main features of web services?
Following is a list of main features of web services:
It is available over the Internet or private (intranet) networks.
It uses a standardized XML messaging system.
It is not tied to any one operating system or programming language.
It is self-describing via a common XML grammar.
It is discoverable via a simple find mechanism.
e) List 5 popular Web services available on the Internet.
Popular web services available on the internet can be categorized into several types. Here are some of the most
widely used ones:
Copyright @ Eugene Tebo February 2025
6
ESS316 Service Web . Sample Exams Questions and Preferred Solutions
Communication Services
- Email Services : Gmail, Outlook, Yahoo Mail ¹
- Video Conferencing : Zoom, Google Hangouts, Skype ²
- Social Networks : Facebook, YouTube, WhatsApp, Instagram, TikTok ¹
Information Retrieval Services
- Search Engines : Google, Bing, Yahoo ¹
- Information Portals : Wikipedia, online news websites
File Transfer Services
- File Transfer Protocol (FTP) : used for transferring files over the internet ²
- Cloud Storage Services : Google Drive, Dropbox, OneDrive
E-commerce Services
- Online Shopping Platforms : Amazon, Alibaba, eBay ¹
- Digital Payment Services : PayPal, Stripe, Square
Web Services
- Web APIs : used for building web applications and integrating with other services ²
- Web Development Frameworks : used for building web applications, such as React, Angular, Vue.js
These are just a few examples of popular web services available on the internet. There are many more services
and sub-categories within each type. ² ¹
Question 9
Name any 4 Web Services offered through Mobile Devices and highlight their features.
Here are some web services offered through mobile devices, along with their features:
Mobile Banking Services
1. Account Management : Check account balances, transaction history, and account statements.
2. Fund Transfers : Transfer funds between accounts, pay bills, and send money to others.
3. Mobile Payments : Make payments using mobile wallets, such as Apple Pay or Google Pay.
Mobile Commerce Services
1. Shopping : Browse and purchase products from online stores, such as Amazon or eBay.
2. Order Tracking : Track the status of orders, including shipping and delivery information.
3. Mobile Coupons : Receive and redeem mobile coupons and discounts.
Mobile Health Services
1. Telemedicine : Consult with healthcare professionals remotely, using video conferencing or messaging.
2. Health Records : Access and manage personal health records, including medical history and test results.
3. Medication Reminders : Receive reminders and notifications for medication schedules and appointments.
Mobile Learning Services
1. Online Courses : Access online courses and educational resources, such as Coursera or Udemy.
2. Virtual Classrooms : Participate in virtual classrooms, using video conferencing and collaboration tools.
3. Mobile Quizzes : Take quizzes and assessments, using mobile devices.
Mobile Navigation Services
Copyright @ Eugene Tebo February 2025
7
ESS316 Service Web . Sample Exams Questions and Preferred Solutions
1. GPS Navigation : Access GPS navigation, using maps and directions.
2. Real-Time Traffic Updates : Receive real-time traffic updates, including traffic congestion and road
closures.
3. Public Transit Information : Access public transit information, including schedules and routes.
These web services offer a range of features and functionalities, enabling users to access various services and
information on-the-go.
Copyright @ Eugene Tebo February 2025
8