Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's wrong with this Web Service?
Message
De
25/01/2006 09:02:13
 
 
À
25/01/2006 03:14:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
01090029
Message ID:
01090081
Vues:
12
Acording to the Bank of Canada, they fluctuate not only daily, but throughout the day as well depending on trades during time periods of the day. For instance, below is for the 23 and 24th:
Date     23/01/06        24/01/06
Can/US    1.1493          1.1525
closing
Can/US    1.1512          1.1549
noon
US/Can     .8687           .8659
noon
Notes:
*Rates are expressed in Canadian dollars, converted from U.S. dollars
*The noon exchange rate for the Canadian dollar against the U.S. dollar is calculated to reflect the trades that take place between 11:59 a.m. and 12:01 p.m. All other Canadian dollar noon exchange rates are derived from the US$/Can$ exchange rate and from indicative wholesale market quotes for a broad array of other currencies. Although obtained from sources believed to be reliable, the data are for informational purposes only, and the Bank of Canada does not guarantee their accuracy or completeness.

Is the webservice you referenced using an official, information, or reference rate instead perhaps? Those rates are published once a day.


>I just discovered something weird with the following Web Service:
>
>http://www.xmethods.net/sd/CurrencyExchangeService.wsdl
>
>Basically, it should be simple:
>
>
>loExchangeRate=Createobject("mssoap.soapclient30")
>loExchangeRate.mssoapinit("http://www.xmethods.net/sd/CurrencyExchangeService.wsdl")
>lnRate=loExchangeRate.GetRate('United States','Canada')
>
>
>I know of a few clients which have been using it for a few years. As for me, I just started to use it on one of my application and found that it keeps changing overnight. Isn't the exchange rate between those two countries should remain unchanged overnight? Also, if you execute a call to that Web Service from a different ISP or another route, you will get different values. I believe there are some funny responses and based on that I just can't trust that Web Service to get the exchange rate.
>
>Anyone could share some comments on this and some recommendations?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform