While working on
FACES-1181, I found that WSRP actions that invoked HTTP POST worked well, except when a parameter had an empty value.
For example, when submitting a form with "firstName" and "dateOfBirth" fields, the SOAP envelope looks like this:
But when the portlet is invoked by V2MarkupServiceImpl.getBinaryContent(Http.Options), HttpImpl.processPostMethod(...) filters-out the "firstName" parameter because of the following line of code (which actually occurs twice in the method):
This is how to fix it in both places: