...
To receive JSON responses from DSS, the httpContentNegotiation
property should be enabled in the axis2.xml
and axis2_client.xml
files which that are stored in the <DSS_HOME>/repository/conf
directory. Note that this setting (JSON content negotiation) cannot be enabled as the default setting. After content negotiation is enabled, you must send requests to the server by adding “Accept:Application/json
” to the request header, and as a result, DSS will return the response in JSON format.
...