I am trying to consume a web service in PERL. The code I am using is below. It doesn't return anything. Does anyone see any problems with the syntax or can point me to simular example that works.
#!/usr/bin/perl
use WebService::ServiceProxy;
print "Content-type: text/html","\n\n";
print "<html><head>";
my $wsdl = "my $AirportWeather = WebService::ServiceProxy->new($wsdl);
$AirportWeather->getTemperature("KLAX"); # Los Angeles
print"airportweather is -> $AirportWeather";
#!/usr/bin/perl
use WebService::ServiceProxy;
print "Content-type: text/html","\n\n";
print "<html><head>";
my $wsdl = "my $AirportWeather = WebService::ServiceProxy->new($wsdl);
$AirportWeather->getTemperature("KLAX"); # Los Angeles
print"airportweather is -> $AirportWeather";