NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
newbie question


Joined: 06 Apr 2004
Posts: 2
Reply with quote
Hello Forum,

I am trying to get access to the following webservice with the following code:

binding:GlobalWeather

Code:

 include('nusoap.php');
 
$client = new soapclient"http://live.capescience.com/wsdl/GlobalWeather.wsdl","wsdl");

 $args=array("code"=>"syd");

$results = $client->call("getWeatherReport",$args);


This one is not working. I am not very familyar with web-services so I donĀ“t know whats going wrong. Maybe it depends to the binding, because when I try the following I get a result:

Code:

 include('nusoap.php');
 
$client = new soapclient"http://live.capescience.com/wsdl/GlobalWeather.wsdl","wsdl");

 $args=array("code"=>"syd");

$results = $client->call("getStation",$args);


It works. (binding:StationInfo)

Maybe someone knows how to solve the problem. Thanks very much.

regards
Ronny
View user's profileFind all posts by rlebekSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
As far as I see everything works fine:


I tested with the following things:
PHPED 3338 (HOTFIX1)
NUSOAP 1.69
DBG 2.16.5

Code was generated by embedded nusoap wizard.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
newbie question
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic