REST consumer status codes
When using a WS Rest Consumer, what is the proper way to handle/detect responses from the remote web service that are other than 200 codes (400 and 500 codes, for example)?
0
-
You can store the Rest response code in a context variable, then depending on the value of the code use a gateway to either continue processing (in the case of 200) or notify you that the response code is 400 or 500 (mail notification).
0
Post is closed for comments.
Comments
1 comment