获取 jsonP 数据错误

getting error on jsonP data

我正在尝试获取 jsonp 数据,但出现错误

$.ajax({
                type: "GET",
                url: 'http://localhost:59672/RestServiceImpl.svc/getallemp',
                contentType: "application/json",
                dataType: "jsonp",
                jsonpCallback: 'callback',
                success: function (data) {
                    console.log(data);//i am getting Error

                },
                error: function (xhr) {
                    console.log(xhr);
                }
            });

下面是我的 json 回复

{"success":"[{\"usercode\":2},{\"usercode\":23},{\"usercode\":24},{\"usercode\":25},{\"usercode\":26},{\"usercode\":27},{\"usercode\":28},{\"usercode\":29},{\"usercode\":30},{\"usercode\":31}]"}

然后我得到以下错误

Uncaught SyntaxError: Unexpected token :

我正在使用 WCF Restful 服务 下面是服务代码

[WebInvoke(Method = "GET",
            ResponseFormat = WebMessageFormat.Json,
            BodyStyle = WebMessageBodyStyle.Wrapped,
            UriTemplate = "getallemp")]
        [return: MessageParameter(Name = "success")]
        string GetAllEmployee();

Response

protected void Application_BeginRequest(object sender, EventArgs e)
{
    HttpContext.Current.Response.AddHeader("Access-Control-Allow-Origin" , "*");
    if (HttpContext.Current.Request.HttpMethod == "OPTIONS")
    {
        HttpContext.Current.Response.AddHeader("Access-Control-Allow-Methods", "GET, POST");
        HttpContext.Current.Response.AddHeader("Access-Control-Allow-Headers", "Content-Type, Accept");
        HttpContext.Current.Response.AddHeader("Access-Control-Max-Age", "1728000");
        HttpContext.Current.Response.End();
    }
}