Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

sold. Zone Consider the following scenario: a. Muscat Properties is a real estate company operating in Muscat since 2010. The company owns multiple properties in

image text in transcribed
sold. Zone Consider the following scenario: a. Muscat Properties is a real estate company operating in Muscat since 2010. The company owns multiple properties in the city. Several agents work for the company their primary duty is to sell the properties company owns. Each agent is given a commission on the sale of properties. The commission is calculated based on the type and size of the property As a developer, your task is to develop a web service that calculates the commission of each agent based on the details specified in the table below. S.no Size of property Commission Zone A 500 Square Yards 2 % of the total price 1000 Square Yards 2.5% of the total price Zone A 1500 Square Yards 3% of the total price 500 Square Yards 2.5% of the total price 1000 Square Yards 3% of the total price Zone B 1500 Square Yards 3.5% of the total price Zone C 500 Square Yards 3.5% of the total price 1000 Square Yards 4% of the total price Zone C 1500 Square Yards 4.5% of the total price Zone D 500 Square Yards 4.5% of the total price 1000 Square Yards 5% of the total price Zone D 1500 Square Yards 5.5% of the total price Zone X Any size 5% of the total price Zone A Zone B Zone B 1 2 3 4 5 6 7 8 9 10 11 12 13 Zone C Zone D The Commission calculation for the agent is done based on the type and size of the property. For example, if the property is located in Zone A and the size of the property is 500 square yards the agent is entitled to a commission of 2 % of the total price of the property. Other details of percentage-wise commission by type and size are given in the table above. The XML Web Service must take the property details including the size and type and the total price of the property as an input parameter. The XML Web Service must return the commission amount calculating the commission according to the details in the table. b. Create windows form application in C# to invoke the web service developed above. The windows form must take the details of the agent and pass it to the XML Web Service. The XML web service must calculate and return the commission to be given to the agent sold. Zone Consider the following scenario: a. Muscat Properties is a real estate company operating in Muscat since 2010. The company owns multiple properties in the city. Several agents work for the company their primary duty is to sell the properties company owns. Each agent is given a commission on the sale of properties. The commission is calculated based on the type and size of the property As a developer, your task is to develop a web service that calculates the commission of each agent based on the details specified in the table below. S.no Size of property Commission Zone A 500 Square Yards 2 % of the total price 1000 Square Yards 2.5% of the total price Zone A 1500 Square Yards 3% of the total price 500 Square Yards 2.5% of the total price 1000 Square Yards 3% of the total price Zone B 1500 Square Yards 3.5% of the total price Zone C 500 Square Yards 3.5% of the total price 1000 Square Yards 4% of the total price Zone C 1500 Square Yards 4.5% of the total price Zone D 500 Square Yards 4.5% of the total price 1000 Square Yards 5% of the total price Zone D 1500 Square Yards 5.5% of the total price Zone X Any size 5% of the total price Zone A Zone B Zone B 1 2 3 4 5 6 7 8 9 10 11 12 13 Zone C Zone D The Commission calculation for the agent is done based on the type and size of the property. For example, if the property is located in Zone A and the size of the property is 500 square yards the agent is entitled to a commission of 2 % of the total price of the property. Other details of percentage-wise commission by type and size are given in the table above. The XML Web Service must take the property details including the size and type and the total price of the property as an input parameter. The XML Web Service must return the commission amount calculating the commission according to the details in the table. b. Create windows form application in C# to invoke the web service developed above. The windows form must take the details of the agent and pass it to the XML Web Service. The XML web service must calculate and return the commission to be given to the agent

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students explore these related Databases questions