problem getting results from web services
Posted: Tue Jul 11, 2006 9:57 am
I am trying to use the following web service to get a weather report for my site.
http://www.webservicex.net/globalweather.asmx
However the page returns no results. Anyone got any ideas as to what is wrong with my code. I have tested the web service using asp.net and it is working so it must be my code
Any ideas?
http://www.webservicex.net/globalweather.asmx
However the page returns no results. Anyone got any ideas as to what is wrong with my code. I have tested the web service using asp.net and it is working so it must be my code
Code: Select all
<html>
<head><title>web services</title></head>
<body>
<?php
require_once('../Connections/soap/nusoap.php');
$client = new soapclient("http://www.webservicex.net/globalweather.asmx");
$result="";
$result = $client ->call('GetWeather','Dublin,Ireland');
echo $result;
?>
</body>
</html>