Hi 🙂.,.
Im just starting out trying to learn about using SOAP to access the Alexa Webservices, and have come to a halt..
I got the latest copy of nusoap.php and have put it into my working folder with all the classes, and am trying to call the 'UrlInfo' procedure using the below code:
<?php
// include class
include("nusoap.php");
// create a instance of the SOAP client object
// remember that this script is the client,
// accessing the web service provided by Amazon.com
$soapclient = new
soapclient("http://aws-beta.amazon.com/AWSAlexa/AWSAlexa.wsdl",
true);
// uncomment the next line to see debug messages
$soapclient->debug_flag = 1;
// create a proxy so that WSDL methods can be accessed directly
$proxy = $soapclient->getProxy();
// set up an array containing input parameters to be
// passed to the remote procedure
$params = array(
'SubscriptionId' => '1405M88PWV52RDDEK***',
'ResponseGroup' => 'Rank',
'Url' => 'www.anywhere.com'
);
// invoke the method
$result = $proxy->UrlInfo($params);
// print the results of the search
print_r($result);
?>
The above page just gives no output..
Is there anything else I need to do to get this working ? The Subscription Id is my own; anybody ?