Forum Post: RE: Rest response code

  • Thread starter Thread starter RamaDevi
  • Start date Start date
Status
Not open for further replies.
R

RamaDevi

Guest
Hi, In the .p/.cls file that is used in mapping, define an Integer Output variable and assign the status code value 500 (or any status code value of your choice) to it. In the rest mapper, map the output Interface parameter to Response Code element of Http Message. Accessing the rest service will result in Status Code: 500 Internal Server Error. Hope this helps. Thanks&Regards, Rama.

Continue reading...
 
Status
Not open for further replies.
Back
Top