call secure web service

call secure web service

Hi,

I am trying to call secure web service which require window intergrated authentication. if i disable windows authentication then it works fine. Once I enable windows integrated authentication and try to access using proxy I am getting "NetworkError: 500 ProtocolError".

Any suggestion?

Here is code
 $.ajax({
        url: 'http://localhost/gis/resources/proxy.ashx?http://10.10.85.77/UserInfo/api/products/1',
        dataType: 'json',
        success: function(data) {
            console.log("Success web s");
        },
        error: function(xhr, testStatus, error) {
            console.log("error");
        }
    }); 
}

Thanks,
Vijay