WSO2 API Manager - Customizing Error Messages for REST/SOAP APIs -
i have created , exposed 2 apis using wso2 api manager - 1 soap (xml) based , other rest (json) based. now, facing issue in how format error messages being sent calling application/user in case authorization token invalid or not passed @ all, throttling limit has reached or invalid input has been passed or api blocked , many others. need in case calling rest api, response should in json format , if soap api, response should in xml format , in customized json/rest schema.
i have checked wso2 docs says on changing @ global level in specific sequence xml files not @ api level, , in addition doesn't how can in case of invalid input,or in case api blocked.
can please let me know how can tackle situation , if there way fault sequence triggered in case of invalid toke, invalid input, blocked api, etc can customize.
regards nits
Comments
Post a Comment