Yes it is possible. JSON and SOAP need different bindings, so your service needs two endpoints: one with the webHttpBinding and webHttp , and the second with basicHttpBinding or another SOAP binding. These endpoints must have different relative addresses.
If you want to support JSON and XML (POX not SOAP) formats in the REST service, you can do this on the same endpoint in WCF 4 by webHttp automaticFormatSelectionEnabled="true" in the webHttp behavior used for the REST endpoint. This allows the endpoint to return data formatted as either JSON or XML. The choice of format is based on the format of the incoming request, so the request in JSON will receive a response in JSON, and the request in XML will receive a response in XML.
source share