PDA

View Full Version : FXCM Rates URL error


tokuji
06-06-2008, 04:48 PM
hi, i'm trying to get FXCM Rates with php, but i receive this error:

Warning: DOMDocument::load(http://rates.fxcm.com/RatesXML) [function.DOMDocument-load]: failed to open stream: HTTP request failed! in

Warning: DOMDocument::load() [function.DOMDocument-load]: I/O warning : failed to load external entity "http://rates.fxcm.com/RatesXML" in

the php (version 5) code is simple:

$xml="http://rates.fxcm.com/RatesXML";
$xmlDoc = new DOMDocument();
$xmlDoc->load($xml); ///// line with error

The last data i receive was:
2008-06-03 10:45:00

Does FXCM change the XML generation or schema that day? is the WSDL schema wrong?

HELP me please

Thanks

FXCM Help
06-06-2008, 04:53 PM
Have you had this exact code working before.
If so, for how long? And did it simply start generating the error on 2008-06-03?

We had a slight issue with the server that brought the page down for a short period that day, but it should be up and working correctly now exactly as it had been before.

Trying checking if you are able to load the page in a regular browser from your computer to see if it loads correctly. Also try restarting your php application.

tokuji
06-06-2008, 05:25 PM
Have you had this exact code working before.
If so, for how long? And did it simply start generating the error on 2008-06-03?

We had a slight issue with the server that brought the page down for a short period that day, but it should be up and working correctly now exactly as it had been before.

Trying checking if you are able to load the page in a regular browser from your computer to see if it loads correctly. Also try restarting your php application.

Hi, my application was working nice since may 2008, but that day failed, i've tried to run my .net application version (framework 3.5) and works nice, i've tried to run my php application with another php5 hosting and failed with the same error, can you confirm me that the process which generate the file was not changed??? can i get an exactly xml URL (ie: http://rates.fxcm.com/RatesXML.xml ????
Maybe the xml encoding change ???

Thanks again

FXCM Help
06-09-2008, 05:20 AM
tokuji, please send your request to systemtrading@fxcm.com