on 2018 Dec 06 7:42 AM
Hi All,
SA 12.0.1.4134.
In the database available via http there is a web service that calls my procedure. During the procedure, it may cause an error (tried raiserror and signal).
If the web service has TYPE set to 'XML', then the error text will be visible in this XML.
If the web service has TYPE set to 'JSON', then the error text is not visible, and the response body is generally empty.
Question: Is this error SA 12.0.1.4134 or does something need to be configured on the server ?
Maybe that note from the v12.0.1.4484 readme is of help (or any other fix after build no. 4134 which is really old ...):
================(Build #4166 - Engineering Case #771444)================ JSON services would have returned an empty document if an SQL error occurred. This has been fixed so that an object containing one row with two keys, status: “error”, and message: “<text of="" the="" sql="" error="" message="">”, is now returned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.