Situation:
We have created a Web Service Provider based on an existing process flow. In the process flow, we would like to return different HTTP status codes based on certain conditions. Most of the time, we want to return 200. But sometimes we want to return 400, 403, or 500 depends on what happens during the process flow. Can you please let me know how I can specify the HTTP status code returned by a web service provider dynamically?
Tip:
You can use the variable responseStatusCode to override the status code in case of a successful call. In case of a fault, you can use the faultStatusCode process flow variable
Comments
0 comments
Article is closed for comments.