Plex 2E

 View Only

we would like the ability to return the output parms/payload from a webservice even when the httpStatus is set to 400 or greater error

  • 1.  we would like the ability to return the output parms/payload from a webservice even when the httpStatus is set to 400 or greater error

    Posted May 11, 2021 01:32 PM
    Currently when we deploy a web service via 2e (YCRTWS) the service gets deployed with all the method's value for "Error response output parameter" set to *NONE.  When deploying natively from IWS we can specify *ALL for this value and it will then return the output parms even when we set the httpStatus to 400 level or higher.
    See these notes from IBMi on where this value is and how to set it.  We would either like the option on the YCRTWS command to set this to either *ALL or *NONE or just have it always create the ws with the *ALL instead of *NONE.

    Return payloads in response on error HTTP status codes (ibm.com)





    ------------------------------
    Van Nelms
    IPS/Nucor Steel Arkansas
    AR
    ------------------------------