#1 2018-06-15 19:04:47

rodrigerar
Member
Registered: 2018-06-13

Problem calling report by url

Hi All,

Thank you very much in advance!

I'm trying to call a dynamic list report by URL without login. My report takes a text parameter, and returns an html. The URL I'm using is:

http://MY_SVR_ADDR/reportserver/httpauthexport?id=MY_REP_ID&user=MY_USR&apikey=MY_API_KEY&numeroLegajo=002&format=HTML&download=false


The first time I call the URL I get the report perfectly (it means the output is consistent with the parameter sended in the URL), but the problem is with the next calls. Even changing the value of the parameter I get allways the some output (a copy of the report obtained in the first call). The successive calls looks like:

http://MY_SVR_ADDR/reportserver/httpauthexport?id=MY_REP_ID&user=MY_USR&apikey=MY_API_KEY&numeroLegajo=003&format=HTML&download=false
http://MY_SVR_ADDR/reportserver/httpauthexport?id=MY_REP_ID&user=MY_USR&apikey=MY_API_KEY&numeroLegajo=004&format=HTML&download=false
http://MY_SVR_ADDR/reportserver/httpauthexport?id=MY_REP_ID&user=MY_USR&apikey=MY_API_KEY&numeroLegajo=005&format=HTML&download=false


It seems as if the output is cached somewhere in the system. I tryed to clear the browser history, and to restart Apache Tomcat, but nothing change. More over the connection between the Client & Server is a direct connection (without proxy).

Any idea or suggestion?


Best Regards!
Gerardo Rodriguez

Offline

#2 2018-06-15 19:56:35

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Problem calling report by url

Hi Gerardo,

what kind of report are we talking about?

Regards,
Eduardo

Offline

#3 2018-06-15 20:39:50

rodrigerar
Member
Registered: 2018-06-13

Re: Problem calling report by url

Thank you very much for your quickly response!

I'm having the same issue in both a dynamic list report and a Jasper report.

Best Regards,

Offline

#4 2018-06-18 10:53:52

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Problem calling report by url

Hi Gerardo,

some questions:
1. does this also happen when calling the same report by the "normal" export ? I.e. not by url, but pressing the "export" button
2. what exact reportserver version are you using? (rsversion.properties)
3. what browser are you using ?

Regards,
Eduardo

Offline

#5 2018-06-18 12:56:46

rodrigerar
Member
Registered: 2018-06-13

Re: Problem calling report by url

Hi Eduardo,

Once again, thank you for your response!
The answers:

1. does this also happen when calling the same report by the "normal" export ? I.e. not by url, but pressing the "export" button
Good point! I did not try to export from the reportserver UI. The behavior is:
- Pressing the "export" Everything looks Ok! It means: when I change the report variable and I export the result, I get the correct version of the report.
- Using the Preview button in the reportserver UI, I get the correct result too.
- The problem only appears when I execute the report vía URL.

2. what exact reportserver version are you using? (rsversion.properties)
Report Server Community Edition
RS3.0.3-6002

3. what browser are you using ?
I get the same behavior using both Google Chrome and Firefox.



Best Regards,
Gerardo Rodriguez

Offline

#6 2018-06-18 16:52:59

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Problem calling report by url

Hi Gerardo,

fyi, I created ticket RS-2941 for this. I will update here when I have more information.

Regards,
Eduardo

Offline

#7 2018-06-18 17:15:02

rodrigerar
Member
Registered: 2018-06-13

Re: Problem calling report by url

Hi Eduardo,

Excellent, thank you very much!
I'm available if you need any additional information, or something regard with our reportserver installation.


Regards,
Gerardo

Offline

Board footer

Powered by FluxBB