| Summary: | Adding ability to start RAP application with HTTP POST request | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Hsinlun Lee <odenlee> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | devesh.mishra, ivan, wian |
| Version: | 1.5 | ||
| Target Milestone: | 2.3 M1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Hsinlun Lee
The ability to start RAP application with HTTP POST request in no longer available after RAP 1.5. Please see the discussion at Eclipse Community Forums [1]. Steps to Reproduce: Reproduce the issue by sending a HTTP POST request with a test parameter from JMeter to the RAP mail template project. Actual Results: java.lang.IllegalStateException: STREAMED [1] http://www.eclipse.org/forums/index.php/t/513178/ Fixed with change https://git.eclipse.org/r/21027. I checked the new and noteworthy of R 2.3 M1 (https://www.eclipse.org/rap/noteworthy/2.3/?build=M1). Found the following there... "Therefore we changed our policy and allow for RAP applications being accessed with a POST request again. However, please note that POST parameters sent with the initial request are not yet available to application code. " Though I appreciate the change of policy, but I still need to find a way to pass the data in POST. The requirement is something like ... 1) the RAP web application needs to be integrated to a portal web application 2) the web application passes a authenication id to be verified by the RAP application 3) the RAP entrypoint should be able to do RWT.getRequest().getParameter("auth_id") This is very important for my application, is there a workaround for this or is there a plan to fix this sooner. Help is greatly appreciated. |