The Structure of SOAP

We will first examine a simple example of SOAP being used with HTTP. This example transmits a GetCurrentTemperature SOAP request to a CurrentTemperature service see Listing 13.2 . The request takes a string parameter, city code, which represents the city for which you wish to retrieve the temperature. The SOAP server that receives this request will return a floating point number that corresponds to the current temperature in the requested city. Now we will examine the request and response in...

Listing Translation Routines translatejava

package com.heaton.bot.translate import java.util. import javax.swing.text. import javax.swing.text.html. Example program from chapter 4 This class is used to translate web sites into Pig Latin. This class does three main things. 2. Resolves all links and points them back to the translator 3. Translates actual text into Pig Latin public class Translate extends HTMLEditorKit.ParserCallback Used to hold the page as it is translated. protected String buffer The base URL, which is the page being...

Image Maps

Links are not the only infrastructure tag that takes the user to a totally different page when they are clicked. The website can also establish image maps that will take the user to new pages based on what image they click. Image maps consist of client and server side image maps, but server-side image maps have been almost completely replaced by client-side ones. This is because server-side images require a server component to register the region where the user clicked, where as client-side...

What Is a Hostname

Hostnames are used because addresses such as 216.122.248.53, or 3631937589, are too hard for the average computer user to remember. For example, my hostname, www.heat-on.com, is set to point to 216.122.248.53. It is much easier for a human to remember www.heat-on.com than it is to remember 216.122.248.53. A hostname should not be confused with a Uniform Resource Locator URL . A hostname is just one component of a URL. For example, one page on my site may have the URL of The hostname is only the...