Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To receive JSON responses from DSS, the 'content negotiation' httpContentNegotiation property should be enabled in the  axis2.xml and axis2_client.xml files which 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.

...