BIRT request with html form and hidden parameters [message #201383] |
Fri, 23 March 2007 09:28  |
Eclipse User |
|
|
|
Originally posted by: christophe.amory.laposte.net
Hi all,
I m developping a professional web application which call BIRT reports
with an HTML form with the POST method. For reasons of security,
parameters of the report must be hidden. When a report is called with POST
method, the web application receives an error message: "SOAPAction
header!" whereas with the GET method, it has no error.
How a web application can call a BIRT report with some hidden parameters ?
Example of a <form> which fails:
<form method="POST" action="http://localhost/reporter/run">
<input type="hidden" name="__report" value="report/myreport.rptdesign">
<input type="hidden" name="aParameter" value="aValue">
<input type="hidden" name="__format" value="html">
<input type="submit" value="Report">
</form>
Thanks
Tophe
|
|
|
Re: BIRT request with html form and hidden parameters [message #201401 is a reply to message #201383] |
Fri, 23 March 2007 09:30  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Tophe,
BIRT has its own newsgroup, posting there will be better:
news://news.eclipse.org:119/eclipse.birt
Tophe wrote:
> Hi all,
> I m developping a professional web application which call BIRT reports
> with an HTML form with the POST method. For reasons of security,
> parameters of the report must be hidden. When a report is called with
> POST method, the web application receives an error message:
> "SOAPAction header!" whereas with the GET method, it has no error.
> How a web application can call a BIRT report with some hidden
> parameters ?
>
> Example of a <form> which fails:
>
> <form method="POST" action="http://localhost/reporter/run">
> <input type="hidden" name="__report" value="report/myreport.rptdesign">
> <input type="hidden" name="aParameter" value="aValue">
> <input type="hidden" name="__format" value="html">
> <input type="submit" value="Report">
> </form>
>
> Thanks
>
> Tophe
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.08423 seconds