IAD Assignment: Web Services- MathLibService and ServiceClient

Internet Application Development

Web Services - Assignment

Dated: Thursday, 15th May 2025
Registration No: ___03-3-1-061-2022____________________________
Full Name: _______Zoya Zahra_________________________

Q1) Draw web services execution model?

Q2) Develop a web service with four web methods as follows:

(a) Add
(b) Subtract
(c) Multiply
(d) Divide

Assume all above methods need two parameters and return a single value as string value.
Using guidelines provided in class write code for above web service.

References (Previous version of book):
PART 5 ■ ■ ■ Web Services
CHAPTER 21 Web Services Architecture . . . . . . 785
CHAPTER 22 Creating Web Services . . . 797
CHAPTER 23 Enhancing Web Services . . . 835

Q3) Test the web service using browser on local pc.
Install Internet Information Services on your laptop/pc (if not installed)
Using IIS manager create two separate applications as follows:

(a) MathLibService
(b) ServiceClient

Q4) Implement a web application “ServiceClient” which will use the MathLibService as a web service. Develop a suitable web page for its demonstration. Use some text boxes to take input from user. Use proxy class to get answer (response from web service) and display it on page to user.

Note:
(i) This is an individual student assignment.
(ii) Submission of copied work (by any means/through any channel) will lead to poor grades.
(iii) Deadline is 22:00 on 18th May 2025. Submit a report (pdf) including above solved problems on your own portal.




SOLUTION:

View My Report