Exercises
32.3 (Phone Book Web Service) Create a RESTful web service that stores phone book entries in the database
PhoneBookDBand a web client application that consumes this service. The web service should output XML. Use the steps in Section 31.2.1 to create thePhoneBookdatabase and a data source name for accessing it. The database contains one table—PhoneBook—with three columns—LastName,FirstNameandPhoneNumber. TheLastNameandFirstNamecolumns store up to 30 characters. ThePhoneNumbercolumn supports phone numbers of the form(800)555-1212that contain 14 characters. Use thePhoneBookDB.sqlscript provided in the examples folder to create thePhone-Booktable.Give the client user the capability to enter a new contact (web method ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access