RoR nuby :
I’m trying to invoke an external WebService from Rails.
I’ve verified the Webservice works (see C# code).
URL : http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=18
WSDL : http://www.webservicex.net/CurrencyConvertor.asmx?wsdl
C# code (works) :
// WebReference declared as WebservicexCurrency
WebservicexCurrency.CurrencyConvertor currencyConverter = new
WebServicesTesting.WebservicexCurrency.CurrencyConvertor();
WebservicexCurrency.Currency currencyUSD =
WebServicesTesting.WebservicexCurrency.Currency.USD;
WebservicexCurrency.Currency currencyJapaneseYen =
WebServicesTesting.WebservicexCurrency.Currency.JPY;
double dRate = currencyConverter.ConversionRate(currencyUSD,
currencyJapaneseYen);
Console.WriteLine("[WebServiceX] USD : Yen => " +
Convert.ToString(dRate));
Rails code?
I just plain toast
Any help would be appreciated, thanks,
Jason