MyInterfaces::GlobalWeather::GlobalWeatherSoap - SOAP Interface for the GlobalWeather Web Service
use MyInterfaces::GlobalWeather::GlobalWeatherSoap; my $interface = MyInterfaces::GlobalWeather::GlobalWeatherSoap->new(); my $response; $response = $interface->GetWeather(); $response = $interface->GetCitiesByCountry();
SOAP Interface for the GlobalWeather web service located at http://www.webservicex.net/globalweather.asmx.
Constructor.
All arguments are forwarded to SOAP::WSDL::Client.
Method synopsis is displayed with hash refs as parameters.
The commented class names in the method's parameters denote that objects of the corresponding class can be passed instead of the marked hash ref.
You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure.
Get weather report for all major cities around the world.
$interface->GetWeather( { CityName => $some_value, # string CountryName => $some_value, # string },, );
Get all major cities by country name(full / part).
$interface->GetCitiesByCountry( { CountryName => $some_value, # string },, );
Generated by SOAP::WSDL on Sun Dec 16 20:05:01 2007
To install SOAP::WSDL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SOAP::WSDL
CPAN shell
perl -MCPAN -e shell install SOAP::WSDL
For more information on module installation, please visit the detailed CPAN module installation guide.