I've a Wcf Service Application with jsonp that I consume using jquery like this:
function CallService() {
$.ajax({
type: Type, //GET or POST or PUT or DELETE verb
url: Url, // Location of the service
data: Data, //Data sent to server
contentType: ContentType, // content type sent to server
dataType: DataType, //Expected data format from server
processdata: ProcessData, //True or False
success: function (msg) {//On Successfull service call
ServiceSucceeded(msg);
},
error: ServiceFailed// When Service call fails
});
}
I've hosted the WCF Service using IIS 5.1 and now I want to use the Windows Authentication parameter.
What do I've to do in jquery for this to work?