Create a SOAP web service that represents a phonebook. You can use any data structure you like to store names and phone numbers. Lets say, store five names and phone numbers.
The web service should have a method called lookUp. This method is sent a string that represents the name to look up and returns a string that represents the phone number.
Create a client to test the web service. Generate a web page that contains a form. This form is where you enter the name that will be looked up to obtain a phone number. see image.
When the form is submitted another Java program is called. This program sends the name that was entered to the web service and displays the phone number. see image.