Lab #6 - Web services access using SOAP

CS 183 - Hypermedia and the Web

For this final lab assignment for the class you will be using a SOAP API in PHP to access an Internet accessible SOAP service. The service that you will contact is the Google SOAP service.

Your task is to write a PHP script that will receive input from this html page containing a simple form that requires the user to input the keywords to be searched at Google.Then your PHP script uses the input data to contact the service for retrieve the first URL in the Google search results via the SOAP API. The script should then return an HTML page containing the result from the service in some clearly readable format. For example, if a user inputs 'Jim Whitehead' in the input form and submits it to your PHP script, your PHP script should retrieve the URL 'http://www.cse.ucsc.edu/~ejw/' from the SOAP service and returns an HTML page containing this URL.

To perform this lab assignment, you will need to do the following:

For submission please email pankai [at] cse [dot] ucsc [dot] edu your PHP script and a URL to the script on a working webserver such as your user directory on the people.ucsc.edu servers.

NOTE:

Last modified: 5/12/2005