SOAP tutorial
SOAP services Google API demo

## Preliminaries

- This example demonstrates the ability to access the SOAP API provided by Google.

- The Google API has three services:

  - Search for text on the web.
  - Check details of a page cached by Google.
  - Find correct spelling for a partial word.
- The service requests may be configured in various ways by the parameters supplied to the API.

## Google Registration

- Google API home page http://www.google.com/apis/ has details about the services offered by Google.
- You must register with Google to be authorized to use the API. You can sign up for a new account from the Google API home page.
- Verify your email address by accessing a page, as indicated in the email sent by Google.
- Collect the license key in a subsequent email from Google.

## Search Demo

1. Enter the registration key for your personal Google account. The key is stored in a browser cookie, and is loaded when the tutorial is run again.
2. Check the box if you wish to view the result as raw XML format.
3. Enter some text to be searched, and press the search button. The raw XML result shows the overview of the search results. If XML view is not checked, then only the number of pages found is shown.
4. Enter a url of a page that is likely to be cached by Google. Then press the button to get the details of this page. The raw XML result will contain the page typically encoded in Base64. If XML view is not checked, then only the size of the page is shown.
5. Enter one or more words to have the spelling verified. A partial word is possible. Then press the button to verify the spelling. The raw XML result shows the suggested spelling. If XML view is not checked, then only the suggested spelling is shown.