cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Customized Status Code in MII

Former Member
0 Kudos

Hello Experts,

MII receiving the message from message brorker(IIB) system and in MII  doing the Schema Validation  if any problem with message structure or missing filed in the message we want to send the  customized HTTP Status Code :500 back to the source system.How to set the  customized  HTTP status code in MII  if any error occured?

Note :Currently success status code 200 going to the source system even for invalid message.

Regards,

Shanmugam K

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185280
Active Contributor
0 Kudos

You can try wrapping the service with your own custom jsp and dealing with errors as you need.

JSP - Http Status Codes