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
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