I am using below Code for WCF Rest Services to get in JSON format
[OperationContract]
[WebGet(UriTemplate = \"/GetOrderList?request={request}\", BodyStyl
I was having the same issue. We provided the solution by creating two endpoints one for XML and the other for JSON.
Make sure you remove all attributes from the Service Interface. Don't specify the RequestFormat or ResponseFormat to control XML or JSON. Let it be controlled by the endpoint.
Service Web.Config changes.
Hope this helps.