...
After determining how the Weather Web Service works by viewing its entry in a Web Services Registry, I can implement the Weather Web Service on my homepage, unit3000-21.org. Let us say that the Weather Web Service has a method called,
...
getTemperature
...
, that takes a zip code and returns the temperature at that zip code in degrees Fahrenheit. Let us also say that the Weather Web Service speaks a packaging language called, SOAP.
If I wanted to allow users of my homepage to find out the temperature in their zip code area, I would want to implement the Weather Web Service. Through my homepage, I would send the Weather Web Service a package with a message containing data. The data would be a zip code; the message would be to
...
getTemperature
...
; the package would be packaged according to SOAP. The Weather Web Service would process the data I have sent it and send me a return package with a message containing data. The data would be the temperature in degrees Fahrenheit; the message could be something called
...
getTemperature_Return
...
; the package would be packaged according to SOAP. It would be my homepage's responsibility to unpackage the package, understand the message and extract the data. Once this is done, I would have the temperature in degrees Fahrenheit for a specific zip code area for my users.
...