Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 416445

Summary: Adding ability to start RAP application with HTTP POST request
Product: [RT] RAP Reporter: Hsinlun Lee <odenlee>
Component: RWTAssignee: 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 CLA 2013-09-03 10:45:28 EDT

    
Comment 1 Hsinlun Lee CLA 2013-09-03 10:55:07 EDT
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/
Comment 2 Ivan Furnadjiev CLA 2014-01-24 06:44:41 EST
Fixed with change https://git.eclipse.org/r/21027.
Comment 3 Devesh Mishra CLA 2014-02-20 10:23:03 EST
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.