MyInterfaces::GlobalWeather - SOAP interface to GlobalWeather at http://www.webservicex.net/globalweather.asmx
my $interface = MyInterfaces::GlobalWeather->new(); my $GetCitiesByCountry = $interface->GetCitiesByCountry();
Port name: GlobalWeatherSoap Binding: tns:GlobalWeatherSoap Location: http://www.webservicex.net/globalweather.asmx
Note:
Input, output and fault messages are stated as perl hash refs. These are only for informational purposes - the actual implementation normally uses object trees, not hash refs, though the input messages may be passed to the respective methods as hash refs and will be converted to object trees automatically.
Input Message:
{ 'GetWeather'=> { 'CityName' => $someValue, 'CountryName' => $someValue, }, }
Output Message:
Fault:
Port name: GlobalWeatherHttpGet Binding: tns:GlobalWeatherHttpGet Location:
Port name: GlobalWeatherHttpPost Binding: tns:GlobalWeatherHttpPost Location:
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.