Skip to Content
avatar image
Former Member

HTTP Customized Status Code in MII

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 10, 2015 at 04:10 PM

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

    JSP - Http Status Codes

    Add comment
    10|10000 characters needed characters exceeded