Skip to main content

The Web Service Class

The last thing we need to create is the class that implements the Web Service methods.

To start, our Web Service will have two methods:

  1. GetCompanyInfo—returns information about a company, specified by ID.

  2. CreateCompanies—adds additional companies to the database (this is simply to create data for our example, it is probably not a good idea for a real Web Service).

FeedbackOpens in a new tab