Re: [Dev] org.apache.axis2.json.gson.JsonFormatter formats the response as JSON without HTTP Content-Type header

2014-05-29 Thread Anjana Fernando
On Thu, May 29, 2014 at 6:01 PM, Shameera Rathnayaka shame...@wso2.comwrote: Hi Charitha/Anjana, Shameera any idea on why this would be happening? .. is it something that should be done explicitly in the message formatter which we are not doing? .. ​No, Formatter is not responsible for

Re: [Dev] org.apache.axis2.json.gson.JsonFormatter formats the response as JSON without HTTP Content-Type header

2014-05-28 Thread Anjana Fernando
Hi, Shameera any idea on why this would be happening? .. is it something that should be done explicitly in the message formatter which we are not doing? .. @Charitha, we cannot simply tell users to just switch to the other JSON formatter because, we lose some features with the old JSON formatter,

[Dev] org.apache.axis2.json.gson.JsonFormatter formats the response as JSON without HTTP Content-Type header

2014-05-27 Thread Charitha Kankanamge
Hi Anjana et all, DSS uses org.apache.axis2.json.gson.JsonFormatter by default. However, when calling a service which responds JSON, the message looks similar to the following. *HTTP/1.1 200 OK* *Transfer-Encoding: chunked* *Date: Tue, 27 May 2014 19:14:45 GMT* *Connection: close* *Server: WSO2