IBM Support

PI90848: [CXF-7071] Problems reading POST request parameters

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Apply the fix for CXF-7071 to WAS v9 so client can use the
    JAX-RS 2.0 features and req.getParameter()
    
    HttpServletRequest.getParameter only get String from query not
    both posted form data
    https://issues.apache.org/jira/browse/CXF-7071
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server using JAXRS 2.0.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: JAX-RS HTTP POST method call unable     *
    *                      to get parameter values                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Sample Code Snap:
    @POST
    @Path(?/searchUser?)
    publicStringgetUseDetail(@Context HttpServletRequest req) {
    Stringusername = req.getParameter("userName");
    returnusername;
    }
    In this case it is expected that the userName will be returned
    but that is not the case.
    See JIRA CXF-7071 for more details:
    https://issues.apache.org/jira/browse/CXF-7071
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI90848

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-11-29

  • Closed date

    2018-01-17

  • Last modified date

    2018-01-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
18 October 2021