Currency Conversion rates via a Web Service

Some time ago I found the following Web Service, which provides the currency conversion rates for free. The WebSite also provides some other very nice services. I thought it would be interesting to bookmark that one. What kind of Web Service do you use to do the currency conversion?

Sonu

Comments

# TrackBack said:

^_^,Pretty Good!

Sunday, April 10, 2005 6:55 AM
# Daniel said:

Will check it out. Thanks.

Friday, May 18, 2007 4:19 AM
# Martin said:

Superb! Thanx a lot!

Friday, May 25, 2007 6:43 AM
# Primoz said:

Did anyone implement this into theit WEB page VIA Ajax?

I need a solution for currency convert for my page and would like to do it via ajax. dissapointed that google or yahoo do not provide web api to their  currency convert services :(

Sunday, June 24, 2007 9:14 AM
# azam said:

its ok let me check

Saturday, July 28, 2007 8:46 AM
# Vikas Misra said:

www.simple-talk.com/.../calling-cross-domain-web-services-in-ajax

example to call web service through ajax

Friday, September 14, 2007 4:55 AM
# vishal said:

it dosent contain all currencies.Do you know any free webservicec for conversion with all cureencies?

Friday, September 21, 2007 8:16 AM
# Praveena said:

I have used this webservice and it is pretty good, but i have one problem with this as it is taking only parameters which are pre defined, but i need to pass dropdownlist selected value as one parameter and the second one is USD.   Anyone has sample code to do like this , Plzzzzzzzz help me out

Sunday, September 30, 2007 7:26 PM
# Hi sonu said:

The web service is asking for web service credentials while adding it as web reference in my .net app .How do i go about accessing the Method in it

Siddharth

Tuesday, February 19, 2008 3:12 AM
# Pedro said:

Someone know how it is possible update the placeholders with the actual values?

Tuesday, May 13, 2008 7:32 AM
# Pedro said:

Did anyone implement this into their WEB page VIA SOAP?

Thursday, May 15, 2008 7:54 AM
# Pedro said:

I use axis java2wsdl eclipse plugin for creating a wsdl file for my application communicate with Currency Conversion rates via a Web Service. The final step a dialog box appears with the mensage -java.lang.reflect.InvocationTargetException". The plugin use is ws.apache.org/.../index.html, the third from the table (download the zip file). Do you know the reason for that mensage?

Monday, May 19, 2008 4:16 AM
# Lexapro. said:

Alcohol and lexapro. What is lexapro. Lexapro side effects. Lexapro. Gain weight on lexapro.

Thursday, July 17, 2008 3:39 AM
# http://www.4xmini.com said:

Results from tests on genetic material from alleged remains of Bigfoot, made public at a news conference in Palo Alto held after the claimed discovery swept the Internet, failed to prove the existence of the mythical half- ape and half- human creature

Saturday, September 20, 2008 9:17 AM
# Jehilan said:

I have used this webservice and it is pretty good, but i have one problem with this as it is taking only parameters which are pre defined, but i need to pass dropdownlist selected value as one parameter and the second one is USD.   Anyone has sample code to do like this , Plzzzzzzzz help me out

Ans:

By using a switch case and send a parameter as a enum object it is possible.

try, for sample code drop me a mail to: rosejehilan@gmail.com.

Thanks,

Regards,

Jehilan.

Monday, February 09, 2009 11:38 PM
# Jehilan said:

Sample code:

net.webservicex.www.Currency obj = new net.webservicex.www.Currency();

       switch(ddl2.SelectedValue.ToString())

       {

           case "SGD":

               obj = net.webservicex.www.Currency.SGD;

                break;

            case "USD":

                obj = net.webservicex.www.Currency.USD;

                break;

            case "AUD":

                obj = net.webservicex.www.Currency.AUD;

                break;

            case "EUR":

                obj = net.webservicex.www.Currency.EUR;

                break;

            case "INR":

                obj = net.webservicex.www.Currency.INR;

                break;

       }

create another object(obj1) as like above

net.webservicex.www.CurrencyConvertor cr = new net.webservicex.www.CurrencyConvertor();

       double euro_us = cr.ConversionRate(obj, obj1);

now you can pass the dropdownlist's value.

Have a nice day

Regards,

Jehilan.

Tuesday, February 10, 2009 12:09 AM
# santosh said:

Please Give Me Web Service for Inr To USD carrency Converter. my emil id is sendme24hours@ymail.com

Friday, March 06, 2009 2:11 AM
# iii store special intensity said:

cupcake efficiency absolute range offset past melts

Tuesday, April 21, 2009 3:25 PM
# Viral said:

thanks for nice article dear,

i want to know that, how can i bind the dropdownlist of the all the countries that provided in web service, because i want to add 2 dropdownlist   of the country and then i take the value of the dropdownlist dynamically.

if u have the code  then please send me on viralsarvaiya_84@yahoo.co.in.

waiting for favorable reply...

regards,

Viral sarvaiya

Saturday, August 01, 2009 3:28 AM
# khairilz said:

Hi,

Do you know how accurate is the currency in the webservice?

I cant find any information on that plus, the resource that this web service gets its data from.

Thursday, September 24, 2009 12:13 AM
# Tejes said:

Hi,

I've an issue in IIS 5.1.

Am using currency convertor webservice provided by www.webservicex.net

It works fine, if i run in debug mode. But if i host the project in IIS 5.1, it shows the following error.

"System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 209.162.186.60:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at net.webservicex.www.CurrencyConvertor.ConversionRate(Currency FromCurrency, Currency ToCurrency) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\currency\2c61a503\91943083\App_WebReferences"

I might've missed some steps in IIS . Could anyone please help me out ?

Tuesday, October 27, 2009 6:36 AM

Leave a Comment

(required) 
(required) 
(optional)
(required)