php - webservicex for Currency Convertor don't work -
i trying develop e-commerce website. manage multi-currency, use webservice automatic conversions. tried webservice: http://www.webservicex.com/currencyconvertor.asmx?wsdl code :
try { $wsdl="http://www.webservicex.com/currencyconvertor.asmx?wsdl"; $webservice = new \soapclient( $wsdl ); $country=array(); // set country variable country codes. $country['fromcurrency']= 'usd'; $country['tocurrency'] = 'eur'; $webservice->conversionrate($country); echo $response->conversionrateresult;*/ }catch(exception $oexception) { printf( '<h4 style="color: red">exception</h4> <p>%s</p>', $oexception->getmessage() ); } `
unfortunately, service returns me - 1 there problem code or it's service no longer works!!
you know web service stable? thank much
Comments
Post a Comment