|
|
-
Possible Problem with getReportUrl
Hi,
i'm using the getReportURL function.
it's works fine and generate the URL.
however, the format that i got is not what i asked.
checkout this link:
https://fxpa.fxcorporate.com/fxpa/ge...OUNT_STATEMENT
- i asked to get it in XLS format and i get it in XML !!
- when i asked XML , i get blank doc with 'Server Error .... '
- HTML and PDF works fine.
any insight ?
Lior,
-
I have double checked the getReportURL function. It works fine for me. Please see the GetReportURL sample in the folder with ForexConnect (for example, the C# .NET 2.0 sample is located by default in the folder ForexConnectAPI\Sample\cs\dotnet20\SimpleSamples\NonTableManagerSamples\GetReportUrl).
Please note that XLS format means that the report willl have the Microsoft Excel XML document format. Please see also: O2GSession.getReportURL
-
HI,
thanks !
i don't think that the problem is with the function but in the server.
the function return a link fine.
it works with all other formats but XML.
when i execute it ( the link in a browser)
i get back a file contain:
" Server error
We apologize for inconvenience. If the problem persists, please feel free to contact the {Customer Support}."
-
Hi,
I have discussed the issue with the developers. They have promised to fix the problem.
For now you can use the following workaround. Just pass the 'Format' parameter in the lower case ('xml' instead of 'XML') in the O2GSession.getReportURL method. This should eliminate the error.
I do apologize for the inconvenience.
|