This is my first post. I downloaded and installed PHP (5.3.2) to my XP laptop after reading about the CLI on another forum. I was interested in making simple SOAP requests and read several links with examples. However, even the simplest of scripts
PHP Code:
#! php.exe -q
<?php
$wsdl="http://www.webservicex.net/CurrencyConvertor.asmx?WSDL";
$client = new SoapClient($wsdl);
$country = array( "FromCurrency" => "USD","ToCurrency" => "GBP");
$result = $client->ConversionRate($country);
print($result);
?>
executes, but returns nothing. The wsdl is active, I have checked that the php.ini file has the necessary SOAP options enabled and extension=php_soap.dll is enabled. I can execute a similar call in VbScript using the Microsoft SOAP.dll - I am probably missing something but in all I have read, nobody mentions anything more is needed (for this particular call).
I'm hoping someone can help me get this working. TIA Stan